Actions
Task #4633
closed[Support] resolve broken collection from qr1hi-8i9sb-prudm6nvg4xk31x
Description
The output collection from this job (see #4621) was saved in Keep but did not have a collection recorded for it.
Updated by Tim Pierce over 9 years ago
- Subject changed from resolve broken collection from qr1hi-8i9sb-prudm6nvg4xk31x to [Support] resolve broken collection from qr1hi-8i9sb-prudm6nvg4xk31x
- Description updated (diff)
- Story points set to 1.0
Updated by Tim Pierce over 9 years ago
The solution for this problem turned out to be:
- Find the signed manifest block saved in Keep
- Generate a new unsigned manifest with
sed -e 's/\+A[^ ]*//g'
and save it under the appropriate MD5sum - Launch a production Rails console on qr1hi
- Read the unsigned manifest file:
raw_manifest_text = File.open("unsigned_manifest") { |f| f.read }
- Load the user's API token and generate a new signed manifest with it:
Thread.current[:user] = User.find_by_email("sguthie@curoverse.com") api_token = ApiClientAuthorization .where(user_id: Thread.current[:user].id) .order(:created_at) .last signed_manifest = Collection.sign_manifest raw_manifest_text, api_token c = Collection.create(manifest_text: signed_manifest)
Updated by Tim Pierce over 9 years ago
- Status changed from New to Resolved
- Remaining (hours) set to 0.0
Updated by Tim Pierce over 9 years ago
- Estimated time set to 0.00 h
Collection was saved at https://workbench.qr1hi.arvadosapi.com/collections/qr1hi-4zz18-qhak36uropnaitv
Actions