#9393 AWS: aws ec2 import-image not working for testing farm
Opened 10 days ago by mvadkert. Modified 3 days ago

We are not able to upload images:

$ aws ec2 import-snapshot --role-name arr-tft-vmimport --disk-container Format=raw,UserBucket={S3Bucket=fedora-testing-farm-image-import,S3Key=CentOS-Stream-ec2-8-20200113.0.x86_64.raw}
An error occurred (UnauthorizedOperation) when calling the ImportSnapshot operation: You are not authorized to perform this operation. Encoded authorization failure message: 9d04R_xw1lsLH_C6CrDRqqtHMNCULDU5P3DtqbAc2rFzXEbcj8xZ38aywxDAG3gkztlLjWvsPdW45AEZDHVIc4K2qDti3UwDOQR-xioO7oBi_WeSWMN3QveAMrTCPdRSWRku4E87rDDW3anHofwiXj7eb5E7XKHQTGr9i08tIgQHY12zxR7zePadgYes6fh0wMkIu5Ns0ZoCr8j-j7NPNap0HR73Ms--VAC3univj1iXGHh2UczzKeFfbvbTDsBtbl9TESpp_c9yeEPgO_eNGjy-XFrNyXZeG8hHp48KXbDk5xR_iD0rXla6Pd7M37ZHKRe5LaR6oTojdUp5KheSKW-IygX4EsKYvFyPfoo9SMvxgOmViIv-0YleSQi0G3jRUUyVkCn5Ny4aLaduxWCkvntalBjlnhcJ9cbPX_jljMQW7VSOn6kKzgcLRhanG5QvY0B50bShivv6qm29oJCRzbaIinW_smVx2onIp7MkGU2of0D20gWjCp_EIoAqvuNmG6kffURpOUwfkHHVWSzAUEL_tr1Z6g

Seems we are missing some permissions for import snapshot. As we are missing also permissions to see the error, I see only encoded failure message.


Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: medium-gain, medium-trouble, ops

7 days ago

Added ImportSnapshot to your policy. Try again now?

Added ImportSnapshot to your policy. Try again now?

Metadata Update from @pingou:
- Issue tagged with: aws

3 days ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog