heat resource-show gives "Stack or resource not found"

asked 2014-10-30 11:33:24 -0500

geeth m gravatar image

Hi, TripleO baremetal overcloud creation does not complete . The heat stack creation continues for an hour and finally shows CREATE_FAILED. I just have one control and one compute node for the overcloud .

Adding debug for heat shows the below message continuously in the /var/log/heat/engine.log.

2014-10-29 21:13:16.905 5722 DEBUG heat.openstack.common.rpc.amqp [-] received {u'_msg_id': u'8fa5529d394c4f8a878251094dee6e3f', u'_context_request_id': u'req-10b64214-7be1-437b-94f5-5dcdac7bdf23', u'_context_trust_id': None, u'_context_auth_token': '<SANITIZED>', u'_context_user_id': u'50cae85f89ea4474b9df419bf7ece391', u'_context_username': None, u'_reply_q': u'reply_2ed2e66394ee4790a2a697770534dc9c', u'_context_show_deleted': False, u'namespace': None, u'_context_is_admin': False, u'version': u'1.0', u'_context_user': None, u'method': u'identify_stack', u'_context_roles': [u'heat_stack_user'], u'_context_auth_url': u'http://127.0.0.1:5000/v2.0', u'args': {u'stack_name': u'overcloud'}, u'_unique_id': u'fc019815be6040c0873737f0e35dd6cd', u'_context_tenant_id': u'b6a0286734e442b1879b63ca001130b7', u'_context_password': '<SANITIZED>', u'_context_trustor_user_id': None, u'_context_aws_creds': u'{"ec2Credentials": {"access": "5f997870818f4d4eb1f82b2b0c0a6eba", "signature": "RVIZb3vzyQfcjMacm1M/muQ2SKJ8h5WaGsV5mTFmRRw="}}', u'_context_tenant': u'admin'} _safe_log /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/common.py:280
2014-10-29 21:13:16.905 5722 DEBUG heat.openstack.common.rpc.amqp [-] unpacked context: {'username': None, 'user_id': u'50cae85f89ea4474b9df419bf7ece391', 'show_deleted': False, 'roles': [u'heat_stack_user'], 'tenant_id': u'b6a0286734e442b1879b63ca001130b7', 'auth_token': '<SANITIZED>', 'trust_id': None, 'is_admin': False, 'user': None, 'request_id': u'req-10b64214-7be1-437b-94f5-5dcdac7bdf23', 'auth_url': u'http://127.0.0.1:5000/v2.0', 'password': '<SANITIZED>', 'aws_creds': u'{"ec2Credentials": {"access": "5f997870818f4d4eb1f82b2b0c0a6eba", "signature": "RVIZb3vzyQfcjMacm1M/muQ2SKJ8h5WaGsV5mTFmRRw="}}', 'tenant': u'admin', 'trustor_user_id': None} _safe_log /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/common.py:280
2014-10-29 21:13:16.914 5722 DEBUG heat.openstack.common.rpc.amqp [req-10b64214-7be1-437b-94f5-5dcdac7bdf23 None] UNIQUE_ID is a7f77ffbbe2f44809f9f0f1cb3018230. _add_unique_id /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/amqp.py:342
2014-10-29 21:13:16.915 5722 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/site-packages/amqp/channel.py:95
2014-10-29 21:13:16.915 5722 DEBUG amqp [-] using channel_id: 1 __init__ /usr/lib/python2.7/site-packages/amqp/channel.py:71
2014-10-29 21:13:16.916 5722 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/site-packages/amqp/channel.py:429
2014-10-29 21:13:16.916 5722 DEBUG heat.openstack.common.rpc.amqp [req-10b64214-7be1-437b-94f5-5dcdac7bdf23 None] UNIQUE_ID is 4dd87ab66aef411c81b6f4ac24832f06. _add_unique_id /usr/lib/python2.7/site-packages/heat/openstack/common/rpc/amqp.py:342
2014-10-29 21:13:16.918 5722 DEBUG amqp [-] Closed channel #1 _do_close /usr/lib/python2.7/site-packages/amqp/channel.py:95
2014-10-29 21:13:16.918 5722 DEBUG amqp [-] using channel_id: 1 __init__ /usr/lib/python2.7/site-packages/amqp/channel.py:71
2014-10-29 21:13:16.919 5722 DEBUG amqp [-] Channel open _open_ok /usr/lib/python2.7/site-packages/amqp/channel.py:429
2014-10-29 21:13:16.921 5722 DEBUG heat.openstack.common.rpc.amqp [-] received {u'_msg_id': u'7fd5901215984b42b136d8317e59899c', u'_context_request_id': u'req-10b64214-7be1-437b-94f5-5dcdac7bdf23', u'_context_trust_id': None, u'_context_auth_token': '<SANITIZED>', u'_context_user_id': u'50cae85f89ea4474b9df419bf7ece391', u'_context_username': None, u'_reply_q': u'reply_2ed2e66394ee4790a2a697770534dc9c', u'_context_show_deleted': False, u'namespace': None, u'_context_is_admin': False, u'version': u'1.0', u'_context_user': None, u'method': u'describe_stack_resource', u'_context_roles': [u'heat_stack_user'], u'_context_auth_url': u'http://127.0.0.1:5000 ...
(more)
edit retag flag offensive close merge delete

Comments

The said resources are not CREATE_COMPLETE because their creation has not been attempted yet (indicated by their status i.e. INIT_COMPLETE). This could be because their dependencies are unsatisfied (which could be b'coz some resources are in CREATE_FAILED state).

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-12-15 02:29:52 -0500 )edit

IMO, resource-show returning a 'stack or resource not found' for a valid stack's (un-created) resource is a bug (I have filed bug 1402531).

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-12-15 02:33:16 -0500 )edit