oslo config import error

Bug #1131135 reported by Steven Hardy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Critical
Steven Hardy

Bug Description

Since the oslo config patch got merged we're getting this error trying to launch heat services:

 heat-engine -d
Traceback (most recent call last):
File "/bin/heat-engine", line 5, in <module>
pkg_resources.run_script('heat==2013.1.a201.ga3daa3fdev', 'heat-engine')
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1239, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/lib/python2.7/site-packages/heat-2013.1.a201.ga3daa3fdev-py2.7.egg/EGG-INFO/scripts/heat-engine", line 41, in <module>
from oslo.config import cfg
ImportError: No module named oslo.config
[root@heatlt ~]# ls /usr/lib/python2.7/site-packages/oslo_config-2013.1b3-py2.7.egg/
EGG-INFO oslo

Bumping to oslo-config-2013.1b4.tar appears to fix the problem (as suggested by markmc)

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Steven Hardy (shardy)
milestone: none → grizzly-3
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/22530

Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/22530
Committed: http://github.com/openstack/heat/commit/c8d1481c1efc1832c6e64763d8cc74cc1a2e5605
Submitter: Jenkins
Branch: master

commit c8d1481c1efc1832c6e64763d8cc74cc1a2e5605
Author: Steven Hardy <email address hidden>
Date: Thu Feb 21 10:35:27 2013 +0000

    heat : bump oslo-config version to fix import error

    New oslo config patch causes services to fail to launch, with
    "ImportError: No module named oslo.config", bumping to
    oslo-config-2013.1b4.tar appears to fix the problem

    fixes bug 1131135

    Change-Id: I460564be19fc97bd54bb59c759c1148e7ead774b

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/22551

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

Reviewed: https://review.openstack.org/22551
Committed: http://github.com/openstack/heat/commit/4476612cad192bcbc2faa7cc925b4c2e44f72a67
Submitter: Jenkins
Branch: milestone-proposed

commit 4476612cad192bcbc2faa7cc925b4c2e44f72a67
Author: Steven Hardy <email address hidden>
Date: Thu Feb 21 10:35:27 2013 +0000

    heat : bump oslo-config version to fix import error

    New oslo config patch causes services to fail to launch, with
    "ImportError: No module named oslo.config", bumping to
    oslo-config-2013.1b4.tar appears to fix the problem

    fixes bug 1131135

    Change-Id: I460564be19fc97bd54bb59c759c1148e7ead774b

Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-3 → 2013.1
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.