Comment 5 for bug 1583679

Revision history for this message
Rabi Mishra (rabi) wrote :

I've seen this issue resurfacing again in the last few days. It's possibly the same reason but failing with a different error in heat engine log. Probably after re-introduction of osic-cloud?

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%20%5C%22heat_integrationtests.common.exceptions.StackBuildErrorException%3A%20Stack%20OSWaitCondition%5C%22

Jun 05 09:15:54.946301 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: ERROR heat.engine.service [None req-07a06e56-a887-4798-810c-81b0fd1b78bb demo None] Unhandled error in asynchronous task: heat.common.exception.ResourceFailure: AttributeError: resources.wait_handle: 'Resource' object has no attribute 'name'
Jun 05 09:15:54.946401 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service Traceback (most recent call last):
Jun 05 09:15:54.946479 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/resource.py", line 2222, in _handle_signal
Jun 05 09:15:54.946555 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service signal_result = self.handle_signal(details)
Jun 05 09:15:54.946637 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/resources/openstack/heat/wait_condition_handle.py", line 208, in handle_signal
Jun 05 09:15:54.946714 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service return super(HeatWaitConditionHandle, self).handle_signal(details)
Jun 05 09:15:54.946816 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/resources/wait_condition.py", line 84, in handle_signal
Jun 05 09:15:54.946898 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service self.metadata_set(details, merge_metadata=merge_signal_metadata)
Jun 05 09:15:54.946978 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/tenacity/__init__.py", line 87, in wrapped_f
Jun 05 09:15:54.947067 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service return r.call(f, *args, **kw)
Jun 05 09:15:54.947181 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/tenacity/__init__.py", line 235, in call
Jun 05 09:15:54.947257 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service do = self.iter(result=result, exc_info=exc_info)
Jun 05 09:15:54.947328 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/tenacity/__init__.py", line 194, in iter
Jun 05 09:15:54.947395 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service return fut.result()
Jun 05 09:15:54.947470 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/lib/python3.5/concurrent/futures/_base.py", line 398, in result
Jun 05 09:15:54.947551 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service return self.__get_result()
Jun 05 09:15:54.947628 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
Jun 05 09:15:54.947703 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service raise self._exception
Jun 05 09:15:54.947772 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/tenacity/__init__.py", line 238, in call
Jun 05 09:15:54.947847 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service result = fn(*args, **kwargs)
Jun 05 09:15:54.947922 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/resource.py", line 458, in metadata_set
Jun 05 09:15:54.948569 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service if db_res.update_metadata(metadata):
Jun 05 09:15:54.948666 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/objects/resource.py", line 300, in update_metadata
Jun 05 09:15:54.948753 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service action = _('metadata setting for resource %s') % self.name
Jun 05 09:15:54.948834 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service AttributeError: 'Resource' object has no attribute 'name'
Jun 05 09:15:54.948910 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service
Jun 05 09:15:54.948980 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service During handling of the above exception, another exception occurred:
Jun 05 09:15:54.949054 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service
Jun 05 09:15:54.949124 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service Traceback (most recent call last):
Jun 05 09:15:54.949194 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/service.py", line 132, in log_exceptions
Jun 05 09:15:54.949267 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service gt.wait()
Jun 05 09:15:54.949344 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/eventlet/greenthread.py", line 175, in wait
Jun 05 09:15:54.949423 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service return self._exit_event.wait()
Jun 05 09:15:54.949496 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/eventlet/event.py", line 125, in wait
Jun 05 09:15:54.949575 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service current.throw(*self._exc)
Jun 05 09:15:54.949646 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/usr/local/lib/python3.5/dist-packages/eventlet/greenthread.py", line 214, in main
Jun 05 09:15:54.949719 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service result = function(*args, **kwargs)
Jun 05 09:15:54.949794 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/service.py", line 123, in _start_with_trace
Jun 05 09:15:54.949869 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service return func(*args, **kwargs)
Jun 05 09:15:54.949944 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/service.py", line 1832, in _resource_signal
Jun 05 09:15:54.950023 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service needs_metadata_updates = rsrc.signal(details, need_check)
Jun 05 09:15:54.950093 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/resource.py", line 2257, in signal
Jun 05 09:15:54.950166 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service self._handle_signal(details)
Jun 05 09:15:54.950239 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service File "/opt/stack/new/heat/heat/engine/resource.py", line 2240, in _handle_signal
Jun 05 09:15:54.950311 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service raise failure
Jun 05 09:15:54.950384 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service heat.common.exception.ResourceFailure: AttributeError: resources.wait_handle: 'Resource' object has no attribute 'name'
Jun 05 09:15:54.950454 ubuntu-xenial-osic-cloud1-s3700-9130837 heat-engine[2028]: 2017-06-05 09:15:54.944 3797 TRACE heat.engine.service
Jun 05 09:15:54.953084 ubuntu-xeni