Bug 1228830 - nova compute fails to start due to failed import of excutils
Summary: nova compute fails to start due to failed import of excutils
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 7.0 (Kilo)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ga
: 7.0 (Kilo)
Assignee: Pádraig Brady
QA Contact: Sean Toner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-05 20:42 UTC by Mike Burns
Modified: 2023-02-22 23:02 UTC (History)
14 users (show)

Fixed In Version: openstack-nova-2015.1.0-7.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-05 13:25:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description Mike Burns 2015-06-05 20:42:08 UTC
Description of problem:

2015-06-05 16:17:15.148 29383 TRACE nova     from nova.openstack.common import excutils
2015-06-05 16:17:15.148 29383 TRACE nova ImportError: cannot import name excutils


Version-Release number of selected component (if applicable):
openstack-nova-2015.1.0-6.el7ost

How reproducible:
always

Steps to Reproduce:
1.  encountered in CI testing of OSP director during undercloud setup
2.
3.

Comment 4 Dan Smith 2015-06-05 21:44:33 UTC
Yep, the backported commit introduces the new imports that the original patch didn't have. Sounds like a bad rebase:

diff --git a/nova/network/neutronv2/api.py b/nova/network/neutronv2/api.py
index 1f96360..7e04714 100644
--- a/nova/network/neutronv2/api.py
+++ b/nova/network/neutronv2/api.py
@@ -39,6 +39,9 @@ from nova.network import base_api
 from nova.network import model as network_model
 from nova.network.neutronv2 import constants
 from nova import objects
+from nova.openstack.common import excutils
+from nova.openstack.common import log as logging
+from nova.openstack.common import uuidutils

Comment 9 Sean Toner 2015-07-01 12:24:08 UTC
I see that excutils is no longer in nova.openstack.common and it is in oslo_utils.  I also have a rhel-osp-director 7 overcloud and I was able to successfully boot an instance, which means I got past installing the undercloud and successfully deployed the overcloud as well.



[stack@instack ~]$ python
Python 2.7.5 (default, Apr  9 2015, 11:03:32) 
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from oslo_utils import excutils
>>> from nova.openstack.common import excutils
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name excutils

Comment 13 errata-xmlrpc 2015-08-05 13:25:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548


Note You need to log in before you can comment on or make changes to this bug.