heat engine won't start

Bug #1174302 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Critical
Steven Hardy

Bug Description

Appears to be a regression caused by https://review.openstack.org/#/c/27389/

2013-04-29 13:28:14.479 2936 CRITICAL heat [-] no such option: host
2013-04-29 13:28:14.479 2936 TRACE heat Traceback (most recent call last):
2013-04-29 13:28:14.479 2936 TRACE heat File "/bin/heat-engine", line 5, in <module>
2013-04-29 13:28:14.479 2936 TRACE heat pkg_resources.run_script('heat==2013.2.a92.g5c58b5c', 'heat-engine')
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 499, in run_script
2013-04-29 13:28:14.479 2936 TRACE heat self.require(requires)[0].run_script(script_name, ns)
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1239, in run_script
2013-04-29 13:28:14.479 2936 TRACE heat execfile(script_filename, namespace, namespace)
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/heat-2013.2.a92.g5c58b5c-py2.7.egg/EGG-INFO/scripts/heat-engine", line 66, in <module>
2013-04-29 13:28:14.479 2936 TRACE heat srv = engine.EngineService(cfg.CONF.host, rpc_api.ENGINE_TOPIC)
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1191, in __getattr__
2013-04-29 13:28:14.479 2936 TRACE heat return self._get(name)
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1513, in _get
2013-04-29 13:28:14.479 2936 TRACE heat value = self._substitute(self._do_get(name, group))
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1529, in _do_get
2013-04-29 13:28:14.479 2936 TRACE heat info = self._get_opt_info(name, group)
2013-04-29 13:28:14.479 2936 TRACE heat File "/usr/lib/python2.7/site-packages/oslo/config/cfg.py", line 1629, in _get_opt_info
2013-04-29 13:28:14.479 2936 TRACE heat raise NoSuchOptError(opt_name, group)
2013-04-29 13:28:14.479 2936 TRACE heat NoSuchOptError: no such option: host

Steven Hardy (shardy)
Changed in heat:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Steven Hardy (shardy)
milestone: none → havana-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/27707

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/27707
Committed: http://github.com/openstack/heat/commit/2db9b282a00546c57b85c47ca5bcbee39f5c7924
Submitter: Jenkins
Branch: master

commit 2db9b282a00546c57b85c47ca5bcbee39f5c7924
Author: Steven Hardy <email address hidden>
Date: Mon Apr 29 13:46:57 2013 +0100

    heat engine : register options before using them

    Fix regression caused by the __init__.py refactoring, which means
    we try to use cfg.CONF.host before registering it.

    fixes bug #1174302

    Change-Id: Iff4d75f53e242d7df8c7071cbeeead034a7ad9b0

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-1 → 2013.2
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.