heat-engine fails to terminate worker processes

Bug #1580144 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
heat (Ubuntu)
New
Undecided
Unassigned

Bug Description

We've seen this a few times in testing - specifically impacts upstart managed heat-engine; systemd does a better job of cleaning up the failure.

2016-05-10 09:20:02.923 19107 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:02.924 19106 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:02.925 19104 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:02.925 19105 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:02.978 18804 INFO oslo_service.service [-] Caught SIGTERM, stopping children
2016-05-10 09:20:02.979 18804 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:02.980 18804 CRITICAL heat-engine [-] AttributeError: 'NoneType' object has no attribute 'groups'
2016-05-10 09:20:02.980 18804 ERROR heat-engine Traceback (most recent call last):
2016-05-10 09:20:02.980 18804 ERROR heat-engine File "/usr/bin/heat-engine", line 10, in <module>
2016-05-10 09:20:02.980 18804 ERROR heat-engine sys.exit(main())
2016-05-10 09:20:02.980 18804 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/heat/cmd/engine.py", line 79, in main
2016-05-10 09:20:02.980 18804 ERROR heat-engine launcher.wait()
2016-05-10 09:20:02.980 18804 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 577, in wait
2016-05-10 09:20:02.980 18804 ERROR heat-engine self.stop()
2016-05-10 09:20:02.980 18804 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 586, in stop
2016-05-10 09:20:02.980 18804 ERROR heat-engine service.stop()
2016-05-10 09:20:02.980 18804 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 117, in wrapper
2016-05-10 09:20:02.980 18804 ERROR heat-engine return f(*args, **kwargs)
2016-05-10 09:20:02.980 18804 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/heat/engine/service.py", line 426, in stop
2016-05-10 09:20:02.980 18804 ERROR heat-engine for stack_id in list(self.thread_group_mgr.groups.keys()):
2016-05-10 09:20:02.980 18804 ERROR heat-engine AttributeError: 'NoneType' object has no attribute 'groups'
2016-05-10 09:20:02.980 18804 ERROR heat-engine
2016-05-10 09:20:03.106 19104 INFO oslo_service.service [-] Parent process has died unexpectedly, exiting
2016-05-10 09:20:03.108 19106 INFO oslo_service.service [-] Parent process has died unexpectedly, exiting
2016-05-10 09:20:03.108 19107 INFO oslo_service.service [-] Parent process has died unexpectedly, exiting
2016-05-10 09:20:03.109 19105 INFO oslo_service.service [-] Parent process has died unexpectedly, exiting
2016-05-10 09:20:03.110 19104 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:03.111 19107 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:03.112 19105 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'
2016-05-10 09:20:03.115 19106 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop'

Revision history for this message
James Page (james-page) wrote :

Might be a dupe of bug 1562042

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.