Ask Your Question
0

novadocker pip install failed

asked 2016-01-12 00:13:54 -0600

luckyyd gravatar image

Hi all,

I tried to install novadocker on OpenStack Kilo. I install OpenStack Kilo and Docker 1.9 successfully.

According to the nova-docker doc:

https://wiki.openstack.org/wiki/Docker#Configure_DevStack_to_use_Nova-Docker (https://wiki.openstack.org/wiki/Docke...)

To install the driver:

pip install -e git+https://github.com/stackforge/nova-docker#egg=novadocker

I encounter the following error:

[root@localhost ~]# pip install -e git+https://github.com/stackforge/nova-docker#egg=novadocker
Obtaining novadocker from git+https://github.com/stackforge/nova-docker#egg=novadocker
  Cloning https://github.com/stackforge/nova-docker to ./src/novadocker
  Running setup.py egg_info for package novadocker
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/root/src/novadocker/setup.py", line 29, in <module>
        pbr=True)
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve
        raise VersionConflict(dist,req) # XXX put more info here
    pkg_resources.VersionConflict: (pbr 0.11.0 (/usr/lib/python2.7/site-packages), Requirement.parse('pbr>=1.8'))
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/root/src/novadocker/setup.py", line 29, in <module>

    pbr=True)

  File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup

    _setup_distribution = dist = klass(attrs)

  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__

    self.fetch_build_eggs(attrs.pop('setup_requires'))

  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs

    parse_requirements(requires), installer=self.fetch_build_egg

  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 630, in resolve

    raise VersionConflict(dist,req) # XXX put more info here

pkg_resources.VersionConflict: (pbr 0.11.0 (/usr/lib/python2.7/site-packages), Requirement.parse('pbr>=1.8'))

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /root/src/novadocker

It seems some version conflict problems. So any idea about solving this?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-09 09:31:51 -0600

hkominos gravatar image

In a similar issue pip install --upgrade pbr did the trick for me.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-12 00:13:54 -0600

Seen: 282 times

Last updated: Mar 09 '16