Hi opencontrail,

I am attempting to install opencontrail vrouter on IBM Power 8 in order to 
make it acting as an openstack/contrail compute node for HPC (High Power 
Computing)  virtualization.

I have followed the setup guide (
http://juniper.github.io/contrail-vnc/README.html) to build the packages 
via the scons command. This has been completed successfully.

I am now installing package using 'scons install" from the sandbox folder.


Currently the scons install fails due to a package dependency issue for 
python-pbr.

The strange thing is that contrail-vif seems to require both releases of 
the pbr package:
- Searching for pbr>=0.6,<1.0
- error: Installed distribution pbr 0.11.0 conflicts with requirement 
pbr>=1.6,<2.0
--
scons install
...
Processing nova_contrail_vif-0.1-py2.7.egg
removing 
'/usr/lib/python2.7/dist-packages/nova_contrail_vif-0.1-py2.7.egg' (and 
everything under it)
creating /usr/lib/python2.7/dist-packages/nova_contrail_vif-0.1-py2.7.egg
Extracting nova_contrail_vif-0.1-py2.7.egg to 
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/nova_contrail_vif-0.1-py2.7.egg/nova_contrail_vif/contrailvif.py:93:
 
SyntaxWarning: name 'orig_get_nw_info_for_instance' is used prior to 
global declaration
  global orig_get_nw_info_for_instance
nova-contrail-vif 0.1 is already the active version in easy-install.pth

Installed /usr/lib/python2.7/dist-packages/nova_contrail_vif-0.1-py2.7.egg
Processing dependencies for nova-contrail-vif==0.1
Searching for pbr>=0.6,<1.0
Reading https://pypi.python.org/simple/pbr/
Best match: pbr 0.11.0
Downloading 
https://pypi.python.org/packages/source/p/pbr/pbr-0.11.0.tar.gz#md5=e69466b4206e350f4f1e1db2e11ab73b
Processing pbr-0.11.0.tar.gz
Writing /tmp/easy_install-Fzl7Jd/pbr-0.11.0/setup.cfg
Running pbr-0.11.0/setup.py -q bdist_egg --dist-dir 
/tmp/easy_install-Fzl7Jd/pbr-0.11.0/egg-dist-tmp-VFRlLj
Adding pbr 0.11.0 to easy-install.pth file
Installing pbr script to /usr/bin

Installed /usr/lib/python2.7/dist-packages/pbr-0.11.0-py2.7.egg
error: Installed distribution pbr 0.11.0 conflicts with requirement 
pbr>=1.6,<2.0
scons: *** [build/noarch/nova_contrail_vif/setup] Error 1
scons: building terminated because of errors.
root@p8kvmbis:~/sandbox#
--

I have already faced package dependency issue when different versions of 
the same package were requested by different packages. But here it seems 
contrail-vif requires:
 pbr>=0.6,<1.0
AND
pbr>=1.6,<2.0

Do you know how to resolve this?

Many thanks for your support.

Regards,
Ludovic HAZARD
IBM


_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to