Ubuntu SRU information [Impact] OpenStack heat installations may end up with a load of non-functional heat-engine processes as the controller process fails to terminate them correctly on shutdown.
[Test Case] sudo apt-get install heat-engine sudo service heat-engine restart <not all heat-engine processes will be terminated> [Regression Potential] Minimal; in newton and backports in process to other stable branches. ** Changed in: heat (Ubuntu Xenial) Assignee: (unassigned) => James Page (james-page) ** Changed in: heat (Ubuntu Xenial) Status: Triaged => In Progress ** Changed in: cloud-archive/mitaka Status: Triaged => In Progress ** Changed in: cloud-archive Status: Triaged => Fix Released ** Changed in: cloud-archive/mitaka Assignee: (unassigned) => James Page (james-page) ** Changed in: cloud-archive/liberty Status: Triaged => In Progress ** Changed in: cloud-archive/liberty Assignee: (unassigned) => James Page (james-page) ** Changed in: heat (Ubuntu Wily) Assignee: (unassigned) => James Page (james-page) ** Changed in: heat (Ubuntu Wily) Status: Triaged => In Progress -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1562042 Title: Traceback in error log during heat-engine service shutdown Status in Ubuntu Cloud Archive: Fix Released Status in Ubuntu Cloud Archive liberty series: In Progress Status in Ubuntu Cloud Archive mitaka series: In Progress Status in heat: Fix Released Status in heat package in Ubuntu: Fix Released Status in heat source package in Wily: In Progress Status in heat source package in Xenial: In Progress Status in heat source package in Yakkety: Fix Released Bug description: During shutdown of heat-engine service this traceback could be observed in log: ``` 2016-03-25 17:29:22.259 22588 DEBUG oslo_service.service [-] Stop services. stop /usr/lib/python2.7/dist-packages/oslo_service/service.py:583 2016-03-25 17:29:22.261 22588 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/python2.7/dist-packages/heat/engine/service.py:410 2016-03-25 17:29:22.262 22588 ERROR heat.engine.service [-] Failed to stop engine service, 'NoneType' object has no attribute 'stop' 2016-03-25 17:29:22.264 22588 CRITICAL heat-engine [-] AttributeError: 'NoneType' object has no attribute 'groups' 2016-03-25 17:29:22.264 22588 ERROR heat-engine Traceback (most recent call last): 2016-03-25 17:29:22.264 22588 ERROR heat-engine File "/usr/bin/heat-engine", line 10, in <module> 2016-03-25 17:29:22.264 22588 ERROR heat-engine sys.exit(main()) 2016-03-25 17:29:22.264 22588 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/heat/cmd/engine.py", line 79, in main 2016-03-25 17:29:22.264 22588 ERROR heat-engine launcher.wait() 2016-03-25 17:29:22.264 22588 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 577, in wait 2016-03-25 17:29:22.264 22588 ERROR heat-engine self.stop() 2016-03-25 17:29:22.264 22588 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 586, in stop 2016-03-25 17:29:22.264 22588 ERROR heat-engine service.stop() 2016-03-25 17:29:22.264 22588 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 117, in wrapper 2016-03-25 17:29:22.264 22588 ERROR heat-engine return f(*args, **kwargs) 2016-03-25 17:29:22.264 22588 ERROR heat-engine File "/usr/lib/python2.7/dist-packages/heat/engine/service.py", line 426, in stop 2016-03-25 17:29:22.264 22588 ERROR heat-engine for stack_id in list(self.thread_group_mgr.groups.keys()): 2016-03-25 17:29:22.264 22588 ERROR heat-engine AttributeError: 'NoneType' object has no attribute 'groups' 2016-03-25 17:29:22.264 22588 ERROR heat-engine 2016-03-25 17:29:22.388 22599 INFO oslo_service.service [-] Parent process has died unexpectedly, exiting ``` Full log could be found here: http://pastebin.com/raw/mgRbgvjd To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1562042/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp