"(AuthFailure): Manifest is not accessible" Error Regarding Image Registration

Follow

Eucalyptus Versions:  4.0.0 and Greater

"(AuthFailure): Manifest is not accessible" Error Regarding Image Registration

Description

If a cloud user attempts to register an image using any of the following commands:

and the error message "error (AuthFailure): Manifest is not accessible" is returned.  The reason for this error is because the credentials being used for registering the image is different than what was used to bundle and upload the image.  For example, a user's credentials were sourced using the eucarc file.

# cat eucarc
EUCA_KEY_DIR=$(cd $(dirname ${BASH_SOURCE:-$0}); pwd -P)
export EC2_URL=http://compute.acme.eucalyptus-systems.com:8773/
export S3_URL=http://objectstorage.acme.eucalyptus-systems.com:8773/
export EUARE_URL=http://euare.acme.eucalyptus-systems.com:8773/
export TOKEN_URL=http://tokens.acme.eucalyptus-systems.com:8773/
export AWS_AUTO_SCALING_URL=http://autoscaling.acme.eucalyptus-systems.com:8773/
export AWS_CLOUDFORMATION_URL=http://cloudformation.acme.eucalyptus-systems.com:8773/
export AWS_CLOUDWATCH_URL=http://cloudwatch.acme.eucalyptus-systems.com:8773/
export AWS_ELB_URL=http://loadbalancing.acme.eucalyptus-systems.com:8773/
export EUSTORE_URL=http://emis.eucalyptus.com/
export EC2_PRIVATE_KEY=${EUCA_KEY_DIR}/euca2-admin-80be48fa-pk.pem
export EC2_CERT=${EUCA_KEY_DIR}/euca2-admin-80be48fa-cert.pem
export EC2_JVM_ARGS=-Djavax.net.ssl.trustStore=${EUCA_KEY_DIR}/jssecacerts
export EUCALYPTUS_CERT=${EUCA_KEY_DIR}/cloud-cert.pem
export EC2_ACCOUNT_NUMBER='944786667073'
export EC2_ACCESS_KEY='AKIRWNGGUYHIQJ5AP8X5'
export EC2_SECRET_KEY='qSIt4cYaXlagHyBcxM4qTEkQOrN4FKF1hkgxnFHz'
export AWS_ACCESS_KEY='AKIRWNGGUYHIQJ5AP8X5'
export AWS_SECRET_KEY='qSIt4cYaXlagHyBcxM4qTEkQOrN4FKF1hkgxnFHz'
export AWS_CREDENTIAL_FILE=${EUCA_KEY_DIR}/iamrc
export EC2_USER_ID='944786667073'
alias ec2-bundle-image="ec2-bundle-image --cert ${EC2_CERT} --privatekey ${EC2_PRIVATE_KEY} --user ${EC2_ACCOUNT_NUMBER} --ec2cert ${EUCALYPTUS_CERT}"
alias ec2-upload-bundle="ec2-upload-bundle -a ${EC2_ACCESS_KEY} -s ${EC2_SECRET_KEY} --url ${S3_URL}"

However, euca2ools configuration file has been configured and set up for another user:

[root@odc-f-13 ~]# cat .euca/euca2ools.ini
[global]
default-region = ViciousLiesAndDangerousRumors
[user account1-user01]
key-id = AKI6GWITDEHGJIEBTREA
secret-key = X6iF2kYYZ4jQxfO8p5Zsgb7j4G6aVF8CluvAdj6G
account-id = 408396244283
private-key = /root/account1-user01/euca2-user01-faad606c-pk.pem
certificate = /root/account1-user01/euca2-user01-faad606c-cert.pem

If euca-install-image is used, the error will show up:

# euca-install-image -b saucy-server-cloudimg-amd64-hvm -i saucy-server-cloudimg-amd64-disk1.raw --virtualization-type hvm -n saucy-server-x86_64-hvm -r x86_64 --region account1-user01@
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.00 100% |===========================================================| 10.00 MB 17.36 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.01 100% |===========================================================| 10.00 MB 18.77 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.02 100% |===========================================================| 10.00 MB 14.63 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.03 100% |===========================================================| 10.00 MB 18.96 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.04 100% |===========================================================| 10.00 MB 18.95 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.05 100% |===========================================================| 10.00 MB 18.96 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.06 100% |===========================================================| 10.00 MB 18.96 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.07 100% |===========================================================| 10.00 MB 16.04 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.08 100% |===========================================================| 10.00 MB 16.04 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.09 100% |===========================================================| 10.00 MB 18.78 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.10 100% |===========================================================| 10.00 MB 18.96 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.11 100% |===========================================================| 10.00 MB 17.24 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.12 100% |===========================================================| 10.00 MB 16.04 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.13 100% |===========================================================| 10.00 MB 18.96 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.14 100% |===========================================================| 10.00 MB 20.81 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.15 100% |===========================================================| 10.00 MB 14.86 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.16 100% |===========================================================| 10.00 MB 18.89 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.17 100% |===========================================================| 10.00 MB 18.95 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.18 100% |===========================================================| 10.00 MB 18.96 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.19 100% |===========================================================| 10.00 MB 17.38 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.20 100% |===========================================================| 10.00 MB 13.90 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.part.21 100% |===========================================================| 8.38 MB 14.56 MB/s Time: 0:00:00
/var/tmp/bundle-FZzlxY/saucy-server-cloudimg-amd64-disk1.raw.manifest.xml 100% |======================================================| 6.72 kB 2.74 kB/s Time: 0:00:02
euca-install-image: error (AuthFailure): Manifest is not accessible

Solution

To resolve the issue, make sure the credentials that are sourced are the same credentials being used to do any of the image management actions that register an image.  

Reference

 

Have more questions? Submit a request

Comments

Powered by Zendesk