Ask Your Question
0

Heat Fails on Image Authorization

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

Nastooh gravatar image

Followed http://docs.openstack.org/icehouse/install-guide/install/apt/content/heat-install.html (http://docs.openstack.org/icehouse/in...) 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 http://10.0.0.62:5000/v2.0/tokens -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): 10.0.0.62
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": "http://10.0.0.53:8774/v2/9b508c0ebfb144b596034b3c99cbfcad", "region": "RegionOne", "internalURL": "http://10.0.0.53:8774/v2/9b508c0ebfb144b596034b3c99cbfcad", "id": "16794d1a35194cab82cee44285cdf382", "publicURL": "http://10.0.0.53:8774/v2/9b508c0ebfb144b596034b3c99cbfcad"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://10.0.0.53:9696", "region": "RegionOne", "internalURL": "http://10.0.0.53:9696", "id": "4b5237b6daa3482d87d8586caeb8dac9", "publicURL": "http://10.0.0.53:9696"}], "endpoints_links": [], "type": "network", "name": "quantum"}, {"endpoints": [{"adminURL": "http://10.0.0.53:3333", "region": "RegionOne", "internalURL": "http://10.0.0.53:3333", "id": "1833145c4ed6487e87373687d72a6207", "publicURL": "http://10.0.0.53:3333"}], "endpoints_links": [], "type": "s3", "name": "s3"}, {"endpoints": [{"adminURL": "http://10.0.0.55:9292", "region": "RegionOne", "internalURL": "http://10.0.0.55:9292", "id": "3fdd1dde86b64954a90cbedf91200c63", "publicURL": "http://10.0.0.55:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://10.0.0.69:8777", "region": "RegionOne", "internalURL": "http://10.0.0.69:8777", "id": "a6b1579d2d8b43118b8d83f7f116c580", "publicURL": "http://10.0.0.69:8777"}], "endpoints_links": [], "type": "metering", "name": "ceilometer"}, {"endpoints": [{"adminURL": "http://10.0.0.69:8000/v1", "region": "RegionOne", "internalURL": "http://10.0.0.69:8000/v1", "id": "59dcb91c1f994ff28be83cec510ad7cd", "publicURL": "http://10.0.0.69:8000/v1"}], "endpoints_links": [], "type": "cloudformation", "name": "heat-cfn"}, {"endpoints": [{"adminURL": "http://10.0.0.59:8776/v1/9b508c0ebfb144b596034b3c99cbfcad", "region": "RegionOne", "internalURL": "http://10.0.0.59:8776/v1/9b508c0ebfb144b596034b3c99cbfcad", "id": "096f3523101249d79a4c737346034efe", "publicURL": "http://10.0.0.59:8776/v1/9b508c0ebfb144b596034b3c99cbfcad"}], "endpoints_links": [], "type": "volume", "name": "cinder"}, {"endpoints": [{"adminURL": "http://10.0.0.53:8773/services/Cloud", "region": "RegionOne", "internalURL": "http://10.0.0.53:8773/services/Cloud", "id": "92177eef108d493e95b302c5d35f5f8d", "publicURL": "http://10.0.0.53:8773/services/Cloud"}], "endpoints_links": [], "type": "ec2", "name": "ec2"}, {"endpoints": [{"adminURL": "http://10.0.0.69:8004/v1/9b508c0ebfb144b596034b3c99cbfcad", "region": "RegionOne", "internalURL": "http://10.0.0.69:8004/v1/9b508c0ebfb144b596034b3c99cbfcad", "id": "57f0aaaa7f1b43b9893ac2e6389747d9", "publicURL": "http://10.0.0.69:8004/v1/9b508c0ebfb144b596034b3c99cbfcad"}], "endpoints_links": [], "type": "orchestration", "name": "heat"}, {"endpoints": [{"adminURL": "http://10.0.0.62:35357/v2.0", "region": "RegionOne", "internalURL": "http://10.0.0.62:5000/v2.0", "id": "ba6e37fa10f045a880868427645008d1", "publicURL": "http://10.0.0.62:5000 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

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
0

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

Stats

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

Seen: 566 times

Last updated: Aug 05 '14