Nova-manage no longer operating due to neutron rename

Bug #1198040 reported by Joshua Harlow
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Critical
Hua Zhang

Bug Description

Due to the new quantum/neutronclient package rename the current nova code does not work correctly.

ProcessExecutionError: Unexpected error while running command.
Command: sudo '-u' nova '/usr/bin/nova-manage' db sync
Exit code: 1
Stdout: ''
Stderr: 'Traceback (most recent call last):\n File "/usr/bin/nova-manage", line 5, in <module>\n from pkg_resources import load_entry_point\n File "/usr 2880, in <module>\n parse_requirements(__requires__), Environment()\n File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 596, in resolve\n tributionNotFound: python-quantumclient>=2.2.0,<3.0.0\n'

The new package that neutron installs is called neutronclient, this breaks nova-manage since it can't find the new client.

Tags: nova-manage
Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Critical
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

I believe Mark McClain was/is working on this

https://review.openstack.org/#/c/35425/

-- dims

Revision history for this message
Joshua Harlow (harlowja) wrote :

Thanks davanum,

Good to know. Although it is a little concerning that the neutronclient rename got in before these other fixes (better synchronization or commit dependencies maybe could have helped?). I could imagine anyone doing continous deployment breaking right now due to this.

Matt Riedemann (mriedem)
tags: added: nova-manage
Revision history for this message
Hua Zhang (zhhuabj) wrote :

devstack has the same problem due to the rename of quantumclient:

$ /usr/bin/nova-api
Traceback (most recent call last):
  File "/usr/bin/nova-api", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2735, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 690, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-quantumclient>=2.2.0,<3.0.0

Changed in nova:
assignee: nobody → Hua Zhang (zhhuabj)
Changed in nova:
status: New → In Progress
Revision history for this message
Hua Zhang (zhhuabj) wrote :

the code reviewing link: https://review.openstack.org/36061

Changed in nova:
milestone: none → havana-2
Revision history for this message
Mark McClain (markmcclain) wrote :

quantumclient is still in the requirements project and in the Nova project. The tarball is also available in PyPI and the local. The repo should now be installed as any other pip dependency. How old is your devstack environment?

Revision history for this message
Joshua Harlow (harlowja) wrote :

Whats devstack ;) J/k I will try it again after this change.

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.