Bug #5475

[API] arv-copy 403

Added by Peter Amstutz over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Story points:
-

Description

Started POST "/arvados/v1/collections?ensure_unique_name=true&alt=json" for 54.208.53.58 at 2015-03-16 18:08:49 +0000
Processing by Arvados::V1::CollectionsController#create as JSON
  Parameters: {"replication_confirmed"=>nil, "kind"=>"arvados#collection", "modified_at"=>"2015-01-29T18:56:35.416218000Z", "created_at"=>"2014-08-11T14:41:50.194454000Z
", "description"=>nil, "modified_by_client_uuid"=>"qr1hi-ozdt8-obw7foaks3qjyej", "manifest_text"=>". 3163cbeef8fd50d8cb85096758b801a3+12404311+A71df9bdf1379bb134eca9f756
fed27219ff94889@55199131 0:12404311:GenomeAnalysisTK.jar\n", "owner_uuid"=>"su92l-j7d0g-2cgjz0zs56nhxpz", "portable_data_hash"=>"2e98fdc8e90f4c48a0714b711767c9ce+76", "h
ref"=>"/collections/qr1hi-4zz18-zh2zqh7aojixlaq", "replication_confirmed_at"=>nil, "etag"=>"2gjelpo96jomf3whb1aaybg5u", "modified_by_user_uuid"=>"qr1hi-tpzed-rv6f0l8lbvd
zkog", "replication_desired"=>nil, "name"=>"Genome Analysis Toolkit 3.2-2", "ensure_unique_name"=>"true", "alt"=>"json", "collection"=>{"owner_uuid"=>"su92l-j7d0g-2cgjz0
zs56nhxpz", "created_at"=>"2014-08-11T14:41:50.194454000Z", "modified_by_client_uuid"=>"qr1hi-ozdt8-obw7foaks3qjyej", "modified_by_user_uuid"=>"qr1hi-tpzed-rv6f0l8lbvdzk
og", "modified_at"=>"2015-01-29T18:56:35.416218000Z", "portable_data_hash"=>"2e98fdc8e90f4c48a0714b711767c9ce+76", "replication_desired"=>nil, "replication_confirmed_at" 
=>nil, "replication_confirmed"=>nil, "manifest_text"=>". 3163cbeef8fd50d8cb85096758b801a3+12404311+A71df9bdf1379bb134eca9f756fed27219ff94889@55199131 0:12404311:GenomeAn
alysisTK.jar\n", "name"=>"Genome Analysis Toolkit 3.2-2", "description"=>nil}}
WARNING: Can't verify CSRF token authenticity
Invalid signature on locator 3163cbeef8fd50d8cb85096758b801a3+12404311+A71df9bdf1379bb134eca9f756fed27219ff94889@55199131
#<ArvadosModel::PermissionDeniedError: ArvadosModel::PermissionDeniedError>
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/models/collection.rb:77:in `block (2 levels) in check_signatures'
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/models/collection.rb:66:in `each'
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/models/collection.rb:66:in `block in check_signatures'
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/models/collection.rb:65:in `each'
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/models/collection.rb:65:in `check_signatures'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:429:in `_run__242187925038839682__validation__212
2744415177402951__callbacks'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:405:in `__run_callback'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:385:in `_run_validation_callbacks'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:81:in `run_callbacks'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activemodel-3.2.17/lib/active_model/validations/callbacks.rb:53:in `run_validations!'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activemodel-3.2.17/lib/active_model/validations.rb:195:in `valid?'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/validations.rb:69:in `valid?'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/validations.rb:77:in `perform_validations'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/validations.rb:56:in `save!'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/attribute_methods/dirty.rb:33:in `save!'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/transactions.rb:264:in `block in save!'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/transactions.rb:313:in `block in with_transaction_returning_stat
us'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `tran
saction'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/transactions.rb:208:in `transaction'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/transactions.rb:311:in `with_transaction_returning_status'
/var/www/su92l.arvadosapi.com/shared/vendor_bundle/ruby/2.1.0/gems/activerecord-3.2.17/lib/active_record/transactions.rb:264:in `save!'
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/controllers/application_controller.rb:93:in `create'
/var/www/su92l.arvadosapi.com/releases/20150311014332/app/controllers/arvados/v1/collections_controller.rb:9:in `create'
...

Associated revisions

Revision a1a1aed7 (diff)
Added by Peter Amstutz over 5 years ago

When copying a collection that already exists on the destination, fetch
manifest text from the destination in order to create a new collection with the
correct signing tokens. closes #5475

History

#1 Updated by Peter Amstutz over 5 years ago

  • Description updated (diff)

#2 Updated by Peter Amstutz over 5 years ago

  • Description updated (diff)

#3 Updated by Peter Amstutz over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:a1a1aed711dec0676575bd914cbe1356f7c0bb03.

#4 Updated by Ward Vandewege over 5 years ago

  • Target version changed from Bug Triage to 2015-04-01 sprint

#5 Updated by Peter Amstutz over 5 years ago

  • Assigned To set to Peter Amstutz

Also available in: Atom PDF