devstack on fresh checkout fails

Bug #1471531 reported by Amrith Kumar
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
New
Undecided
Unassigned

Bug Description

On a fresh checkout, devstack fails as shown below

+ cd /opt/stack/requirements
+ python update.py /opt/stack/pbr
Traceback (most recent call last):
  File "update.py", line 35, in <module>
    from openstack_requirements import project
ImportError: No module named openstack_requirements

    33 import sys
    34
    35 from openstack_requirements import project
    36 from openstack_requirements import requirement
    37

UPDATE: This comment (the sentence below) which was in the original bug report is a red-herring.

This is new code that appears to be related to https://github.com/openstack/requirements/commit/b838ab1e43180d0b560bd24b211fe8947ac11f2b#diff-01ae00966b31668092462ac0be18b474

Revision history for this message
Jeremy Stanley (fungi) wrote :

This should have been addressed in devstack weeks ago with https://review.openstack.org/193288 so I'm not sure why you're seeing this unless you're updating your copy of the requirements repo but not updating your copy of the devstack repo.

Revision history for this message
Amrith Kumar (amrith) wrote :

This is being seen on a machine with a fresh clone of everything.

i.e. brand new /opt/stack

Then get devstack (from master).

Retrying with commit d72b839b7f15a8065d2f7bcceff0a9299ea9c901

Revision history for this message
Jeremy Stanley (fungi) wrote :

After 193288 you should see it calling "./.venv/bin/python update.py /opt/stack/pbr" rather than just "python update.py /opt/stack/pbr" there so I'm not sure why your log shows commands which haven't existed in devstack master for over two weeks.

Revision history for this message
Robert Collins (lifeless) wrote :

Yes, thats running an old devstack.

Revision history for this message
Robert Collins (lifeless) wrote :

commit d72b839b7f15a8065d2f7bcceff0a9299ea9c901
Author: Sean M. Collins <email address hidden>
Date: Thu Jun 18 12:40:09 2015 -0400

THats 2 weeks old.

Amrith Kumar (amrith)
description: updated
description: updated
Revision history for this message
Robert Collins (lifeless) wrote :

Based on IRC discussion, this report (using an old devstack) was done to debug the actual problem of old-pbr which is the bug I've marked thiss as a duplicate of.

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.