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

OpenStack Infra 1562042 at bugs.launchpad.net
Tue May 17 11:27:15 UTC 2016


Reviewed:  https://review.openstack.org/308783
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=1826359ab0064614c41248ca30b47de3ec07c48f
Submitter: Jenkins
Branch:    stable/mitaka

commit 1826359ab0064614c41248ca30b47de3ec07c48f
Author: Oleksii Chuprykov <ochuprykov at mirantis.com>
Date:   Fri Mar 25 18:36:34 2016 +0200

    Stop engine service correctly
    
    If SIGINT received right after start of heat engine, in the middle
    of start() method, heat engine can not stop correctly. Clean up only
    those resources that actually exist.
    
    Change-Id: I496f6284e15b4f71b166cc0713cfd41423cce400
    Closes-Bug: #1562042
    (cherry picked from commit 151e8b8e62a508f07e4a67bee2418e4965c59944)


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

-- 
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:
  In Progress
Status in Ubuntu Cloud Archive mitaka series:
  Fix Committed
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



More information about the Ubuntu-openstack-bugs mailing list