[Openstack] error while installing pbr in devstack

Srinivasreddy R srinivasreddy4390 at gmail.com
Mon Dec 22 12:39:16 UTC 2014


hi,
i am trying to install  openstack   branch stable/icehouse release through
devstack on ubuntu 14.04 .
getting the below errors .many times i have installed  with ubuntu 14.04
and worked fine . but dont know why i am getting the below errors now  .

 + git_clone git://git.openstack.org/openstack-dev/pbr.git /opt/stack/pbr
master
 + GIT_REMOTE=git://git.openstack.org/openstack-dev/pbr.git
 + GIT_DEST=/opt/stack/pbr
 + GIT_REF=master
 ++ trueorfalse False False
 + RECLONE=False
 ++ pwd
 + local orig_dir=/opt/stack/fpa
 + [[ False = \T\r\u\e ]]
 + egrep -q '^refs'
 + echo master
 + [[ ! -d /opt/stack/pbr ]]
stack at user-OptiPlex-3020devstack$ 2014-12-22 17:45:55.426 | + [[ False =
\T\r\u\e ]]
 + cd /opt/stack/pbr
 + head -1
 + sudo git show --oneline
 1f5c9f7 Merge tag '0.10.1' into HEAD
 + setup_install /opt/stack/pbr
 + local project_dir=/opt/stack/pbr
 + setup_package_with_req_sync /opt/stack/pbr
 + local project_dir=/opt/stack/pbr
 + local flags=
 ++ cd /opt/stack/pbr
 ++ sudo git diff --exit-code
 + local update_requirements=
 + [[ '' != \c\h\a\n\g\e\d ]]
 + cd /opt/stack/requirements
 + sudo python update.py /opt/stack/pbr
 Syncing /opt/stack/pbr/test-requirements.txt
 + setup_package /opt/stack/pbr
 + local project_dir=/opt/stack/pbr
 + local flags=
 + pip_install /opt/stack/pbr
 + sudo PIP_DOWNLOAD_CACHE=/var/cache/pip  /usr/local/bin/pip install
--build=/tmp/pip-build.gB3FD /opt/stack/pbr
 Unpacking /opt/stack/pbr
   Running setup.py egg_info for package from file:///opt/stack/pbr
     /usr/local/lib/python2.7/dist-packages/setuptools/dist.py:298:
UserWarning: The version specified ('0.11.0.dev1.g1f5c9f7') is an invalid
version, this may not work as expected with newer versions of setuptools,
pip, and PyPI. Please see PEP 440 for more details.
       "details." % self.metadata.version
     Traceback (most recent call last):
       File "<string>", line 16, in <module>
       File "/tmp/pip-qG3hz9-build/setup.py", line 22, in <module>
         **util.cfg_to_args())
       File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
         dist.run_commands()
       File "/usr/lib/python2.7/distutils/dist.py", line 953, in
run_commands
         self.run_command(cmd)
       File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
         cmd_obj.run()
       File "<string>", line 11, in replacement_run
       File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line
2254, in load
         ['__name__'])
     ImportError: No module named pbr_json
     Complete output from command python setup.py egg_info:
     /usr/local/lib/python2.7/dist-packages/setuptools/dist.py:298:
UserWarning: The version specified ('0.11.0.dev1.g1f5c9f7') is an invalid
version, this may not work as expected with newer versions of setuptools,
pip, and PyPI. Please see PEP 440 for more details.

   "details." % self.metadata.version

 running egg_info

 creating pip-egg-info/pbr.egg-info

 writing requirements to pip-egg-info/pbr.egg-info/requires.txt

 writing pip-egg-info/pbr.egg-info/PKG-INFO

 writing top-level names to pip-egg-info/pbr.egg-info/top_level.txt

 writing dependency_links to pip-egg-info/pbr.egg-info/dependency_links.txt

 writing entry points to pip-egg-info/pbr.egg-info/entry_points.txt

 Traceback (most recent call last):

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

   File "/tmp/pip-qG3hz9-build/setup.py", line 22, in <module>

     **util.cfg_to_args())

   File "/usr/lib/python2.7/distutils/core.py", line 151, in setup

     dist.run_commands()

   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands

     self.run_command(cmd)

   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command

     cmd_obj.run()

   File "<string>", line 11, in replacement_run

   File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line
2254, in load

     ['__name__'])

 ImportError: No module named pbr_json

 ----------------------------------------
 Cleaning up...
 Command python setup.py egg_info failed with error code 1 in
/tmp/pip-qG3hz9-build
 Storing complete log in /home/stack/.pip/pip.log
 + exit_trap
 + local r=1
 ++ jobs -p
 + jobs=
 + [[ -n '' ]]
 + exit 1


-- 
 thanks
srinivas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141222/669068ba/attachment.html>


More information about the Openstack mailing list