[Bug 1562042] Re: Traceback in error log during heat-engine service shutdown

James Page james.page at ubuntu.com
Thu Jun 23 19:32:10 UTC 2016


This bug was fixed in the package heat - 1:6.0.0-0ubuntu1.1~cloud0
---------------

 heat (1:6.0.0-0ubuntu1.1~cloud0) trusty-mitaka; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 heat (1:6.0.0-0ubuntu1.1) xenial; urgency=medium
 .
   * d/p/engine-shutdown.patch: Cherry pick fix to ensure that heat-engine
     worker processes are shutdown correctly when SIGINT is received early
     in the process lifecycle (LP: #1562042).


** Changed in: cloud-archive/mitaka
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
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:
  Fix Released
Status in Ubuntu Cloud Archive mitaka series:
  Fix Released
Status in heat:
  Fix Released
Status in heat package in Ubuntu:
  Fix Released
Status in heat source package in Wily:
  Fix Released
Status in heat source package in Xenial:
  Fix Released
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



More information about the Ubuntu-openstack-bugs mailing list