Installation: Import error: no module named pbr.version

Bug #1503094 reported by Eric K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
Undecided
Eric K

Bug Description

Following Congress stand-alone install instruction errors on the database schema push down:
---------
$ sudo congress-db-manage --config-file /etc/congress/congress.conf upgrade head
sudo: unable to resolve host host
Traceback (most recent call last):
  File "/usr/local/bin/congress-db-manage", line 6, in <module>
    from congress.db.migration.cli import main
  File "/usr/local/lib/python2.7/dist-packages/congress/__init__.py", line 16, in <module>
    import pbr.version
ImportError: No module named pbr.version
---------
Env Notes: Python 2.7.6 ; Setuptools 18.3.2

Revision history for this message
Eric K (ekcs) wrote :

The issue may be related to changes in new versions of setuptools as discussed here: https://bugs.launchpad.net/fuel/+bug/1443328

I suggest amending the install instructions to ask people to do

$ sudo pip install -r requirements.txt

Changed in congress:
assignee: nobody → Eric K (ekcs)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/231313

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress (master)

Fix proposed to branch: master
Review: https://review.openstack.org/231315

Changed in congress:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (stable/liberty)

Reviewed: https://review.openstack.org/231313
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=8e8ffd0f1b5ea92a5b7e29d562e584ef639863fe
Submitter: Jenkins
Branch: stable/liberty

commit 8e8ffd0f1b5ea92a5b7e29d562e584ef639863fe
Author: Eric K <email address hidden>
Date: Mon Oct 5 22:12:36 2015 -0700

    Amended install instructions in README.rst

    Purpose: helps users avoid several installation errors
    Changes:
    - added instruction to install requirements using pip
    - added instruction to install required packages build-essential,
    libssl-dev, libffi-dev

    DocImpact
    Closes-Bug: #1503094
    Closes-Bug: #1503095

    Change-Id: I484eda2e16edb2039add38c92720eb15d9274fd1

tags: added: in-stable-liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress (master)

Reviewed: https://review.openstack.org/231315
Committed: https://git.openstack.org/cgit/openstack/congress/commit/?id=46ca40dc220549eb7ee742fe5a410694b082ce12
Submitter: Jenkins
Branch: master

commit 46ca40dc220549eb7ee742fe5a410694b082ce12
Author: Eric K <email address hidden>
Date: Mon Oct 5 22:41:05 2015 -0700

    Amended install instructions in README.rst

    Purpose: helps users avoid several installation errors
    Changes:
    - added instruction to install requirements using pip
    - added instruction to install required packages build-essential,
    libssl-dev, libffi-dev

    DocImpact
    Closes-Bug: #1503094
    Closes-Bug: #1503095

    Change-Id: Iebdb25f259095be6e7e237c8a683f657ffeab92a

Changed in congress:
status: In Progress → Fix Committed
Tim Hinrichs (thinrichs)
Changed in congress:
status: Fix Committed → Fix Released
Tim Hinrichs (thinrichs)
Changed in congress:
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress 2.0.0

This issue was fixed in the openstack/congress 2.0.0 release.

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.