Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1228830 - nova compute fails to start due to failed import of excutils
nova compute fails to start due to failed import of excutils
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova (Show other bugs)
7.0 (Kilo)
Unspecified Unspecified
high Severity urgent
: ga
: 7.0 (Kilo)
Assigned To: Pádraig Brady
Sean Toner
: Automation, Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-05 16:42 EDT by Mike Burns
Modified: 2016-01-04 09:44 EST (History)
17 users (show)

See Also:
Fixed In Version: openstack-nova-2015.1.0-7.el7ost
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-05 09:25:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1548 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 13:07:06 EDT

  None (edit)
Description Mike Burns 2015-06-05 16:42:08 EDT
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 17:44:33 EDT
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 08:24:08 EDT
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 09:25:03 EDT
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.