Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RDO tickets are now tracked in Jira https://issues.redhat.com/projects/RDO/issues/

Bug 1048315

Summary: Icehouse nova-compute on RHEL 6.5 does not start
Product: [Community] RDO Reporter: Gabriele Cerami <gcerami>
Component: openstack-packstackAssignee: Pádraig Brady <pbrady>
Status: CLOSED CURRENTRELEASE QA Contact: Nir Magnezi <nmagnezi>
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: aortega, derekh, gcerami, hateya, ndipanov, pbrady, rbryant, whayutin, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2013.2.1-0.26.dev936 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-04 03:24:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
nova-compute log
none
log files none

Description Gabriele Cerami 2014-01-03 17:17:34 UTC
Created attachment 845031 [details]
nova-compute log

Description of problem:

nova-compute is not starting

Version-Release number of selected component (if applicable):

Version: 2014.1
Release: 0.1.b1.el6

How reproducible:

every time after a fresh install on RHEL 6.5 through packstack

Steps to Reproduce:
1. install through packstack
2. service openstack-nova-compute start
3. see logs

Actual results:

does not start

Expected results:

compute should start


Additional info:

attached nova/compute.log

Comment 1 Pádraig Brady 2014-01-03 17:44:13 UTC
This wat noticed before, though that issue went away.
http://openstack.redhat.com/forum/discussion/comment/752
Seems like this is more persistent.

I don't suppose a stevedore downgrade helps?

Comment 2 Gabriele Cerami 2014-01-03 21:19:17 UTC
downgraded python-stevedore from 0.12-1.el6 to 0.11-1.el6. Same results.

Comment 3 Gabriele Cerami 2014-01-03 21:47:51 UTC
if I specify the full path for libvirt.LibvirtDriver, it makes some steps further, but eventually stops on a similar error.

"AttributeError: 'module' object has no attribute LibvirtHybridOVSBridgeDriver" 

and for that the full path is already supplied

Comment 4 wes hayutin 2014-01-03 22:53:57 UTC
Created attachment 845128 [details]
log files

Issue can be seen here, notice nova-compute is not started.
Logs attached

http://jenkins.rhev.lab.eng.brq.redhat.com:8080/view/RDO-Current/job/packstack-rdo-icehouse-neutron-rhel-testing/7/consoleFull

Comment 5 Pádraig Brady 2014-01-04 01:33:04 UTC
The issue here was that deprecated neutron config set by packstack:
  libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
is no longer supported in icehouse:
  https://bugs.launchpad.net/nova/+bug/1235036

The specific error was masked by compat code where loading nova.virt.libvirt.LibvirtDriver,
caused nova.virt.libvirt to try and load the no longer existing 'LibvirtHybridOVSBridgeDriver'
That resulted in an ImportError which triggered the fallback code of trying
to load 'LibvirtDriver' from the 'libvirt' module in the global namespace.
Now that separate libvirt module doesn't have the 'LibvirtDriver' class
of course, and so we get the confusing error message.

Workaround is to remove that config before starting nova compute:
  crudini --del /etc/nova/nova.conf DEFAULT libvirt_vif_driver