Ask Your Question

Heat Fails on Image Authorization

asked 2014-07-08 17:57:30 -0500

Nastooh gravatar image

Followed ( to depoly a simple image, and am getting the following error:

root@node10:~# heat --debug stack-create -f /home/ubuntu/test-stack.yml -P "ImageID=cirros-0.3.1-x86_64-disk.img;NetID=$NET_ID" testStack
DEBUG (session:234) REQ: curl -i -X POST -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient" -d '{"auth": {"passwordCredentials": {"username": "admin", "password": "openstack"}, "tenantId": "9b508c0ebfb144b596034b3c99cbfcad"}}'
INFO (connectionpool:258) Starting new HTTP connection (1):
DEBUG (connectionpool:375) Setting read timeout to None
DEBUG (connectionpool:415) "POST /v2.0/tokens HTTP/1.1" 200 3676
DEBUG (session:274) RESP: [200] CaseInsensitiveDict({'date': 'Tue, 08 Jul 2014 22:31:21 GMT', 'vary': 'X-Auth-Token', 'content-length': '3676', 'content-type': 'application/json', 'x-distribution': 'Ubuntu'})
RESP BODY: {"access": {"token": {"issued_at": "2014-07-08T22:31:21.155454", "expires": "2014-07-08T23:31:21Z", "id": "5235217bcafc417dbc74e750d1b8aa62", "tenant": {"description": "Created by Juju", "enabled": true, "id": "9b508c0ebfb144b596034b3c99cbfcad", "name": "admin"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "16794d1a35194cab82cee44285cdf382", "publicURL": ""}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "4b5237b6daa3482d87d8586caeb8dac9", "publicURL": ""}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "1833145c4ed6487e87373687d72a6207", "publicURL": ""}], "endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "3fdd1dde86b64954a90cbedf91200c63", "publicURL": ""}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "a6b1579d2d8b43118b8d83f7f116c580", "publicURL": ""}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "59dcb91c1f994ff28be83cec510ad7cd", "publicURL": ""}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "096f3523101249d79a4c737346034efe", "publicURL": ""}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "92177eef108d493e95b302c5d35f5f8d", "publicURL": ""}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "57f0aaaa7f1b43b9893ac2e6389747d9", "publicURL": ""}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "", "region": "RegionOne", "internalURL": "", "id": "ba6e37fa10f045a880868427645008d1", "publicURL": " ...
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-08-04 15:48:51 -0500

zaneb gravatar image

Most likely the image name in Glance is not actually cirros-0.3.1-x86_64-disk.img. Check the output of glance index to find out what the image name is in Glance.

edit flag offensive delete link more

answered 2014-08-05 01:28:32 -0500

ERROR: Property error : server1: image Authorization failed: The resource could not be found. (HTTP 404) happens when the glance is unable to find image. If you can just type glance image-list to see the available images and also the status. If the status of image is Active then it wont give any error if its still in downloading state then wait till it is downloaded and then try to create stack. Hope that helps !!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-07-08 17:57:30 -0500

Seen: 566 times

Last updated: Aug 05 '14