"ImportError: No module named pbr" when creating Fuel ISO

Bug #1372008 reported by Claude Durocher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Alexei Sheplyakov

Bug Description

I'm trying to build ISO from source and I'm getting the following error :

...
mkdir -p /root/fuel-main/build/packages/rpm/sources/fuel-agent
cd /root/fuel-main/build/repos/nailgun/fuel_agent && python setup.py sdist -d /root/fuel-main/build/packages/rpm/sources/fuel-agent
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    import pbr
ImportError: No module named pbr
make: *** [/root/fuel-main/build/packages/rpm/sources/fuel-agent/fuel-agent-0.1.0.tar.gz] Error 1

Steps to reproduce :

-fresh install of Ubuntu 12.04 server (current cloud image used)
-build according to doc :

apt-get install git
git clone https://github.com/stackforge/fuel-main
cd fuel-main
./prepare-build-env.sh
make iso

Expected result :

No compilation error

Work around :

cd build/repos/nailgun/fuel_agent/
pip install -r requirements.txt
cd -
make iso

Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Please, provide info what branch are you use for iso build.

Changed in fuel:
status: New → Incomplete
Revision history for this message
Claude Durocher (claude-d) wrote :

I first tried the default (master) then tags/5.1 with the same result.

Changed in fuel:
assignee: nobody → Alexei Sheplyakov (asheplyakov)
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/123055
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=b52ccf4c72038fbc25558eca6873ab87bca60fd2
Submitter: Jenkins
Branch: master

commit b52ccf4c72038fbc25558eca6873ab87bca60fd2
Author: Alexei Sheplyakov <email address hidden>
Date: Fri Sep 19 14:11:29 2014 +0400

    prepare-build-env.sh: add missing dependencies

    pbr is required in order to build fuel-agent

    Closes-bug: #1372008

    Change-Id: Ib493cecb71e7b95433599a4598c61a7975ba9923

Changed in fuel:
status: In Progress → Fix Committed
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 6.0
Changed in fuel:
importance: Undecided → Medium
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.