nova crashs with "Versioning for this project requires either an sdist tarball,"

Bug #1389343 reported by Clay Claiborne
This bug report is a duplicate of:  Bug #1369179: nova list crashes on startup. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Invalid
Undecided
Unassigned

Bug Description

I have this issue in attempting to install nova on ubuntu 14.04 I've run pip install -U successfully on all these packages: pyrax, pbr, rackspace-novaclient, python-novaclient, rackspace-auth-openstack, os-diskconfig-python-novaclient-ext, rax-scheduled-images-python-novaclient-ext, os-networksv2-python-novaclient-ext, os-virtual-interfacesv2-python-novaclient-ext, rax-default-network-flags-python-novaclient-ext

Still no joy, an attempt to run nova returns:

root@clay-rsnote:~# nova
Traceback (most recent call last):
  File "/usr/local/bin/nova", line 6, in <module>
    from novaclient.shell import main
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 32, in <module>
    from keystoneclient import session as ksession
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/__init__.py", line 37, in <module>
    __version__ = pbr.version.VersionInfo('python-keystoneclient').version_string()
  File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 78, in version_string
    for part in self.release_string().split('.'):
  File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 70, in release_string
    self.release = self._get_version_from_pkg_resources()
  File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 62, in _get_version_from_pkg_resources
    return packaging.get_version(self.package)
  File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 870, in get_version
    raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed

I 've also tried uninstalling and re-installing python-keystoneclient as suggested on https://github.com/rackspace/pyrax/issues/450, however I still have the same problem:

Successfully installed python-keystoneclient
Cleaning up...
root@clay-rsnote:~# nova
Traceback (most recent call last):
File "/usr/local/bin/nova", line 6, in
from novaclient.shell import main
File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 32, in
from keystoneclient import session as ksession
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/init.py", line 37, in
version = pbr.version.VersionInfo('python-keystoneclient').version_string()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 78, in version_string
for part in self.release_string().split('.'):
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 70, in release_string
self.release = self._get_version_from_pkg_resources()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 62, in _get_version_from_pkg_resources
return packaging.get_version(self.package)
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 870, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?

Changed in python-novaclient:
status: New → Invalid
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.