latest devstack doesn't build on ubuntu 12.04 or centos 6.5

Bug #1285022 reported by Aidan Marks
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Unassigned

Bug Description

devstack is currently broken.

Steps to reproduce:

1) Install Ubuntu 12.04 x64 or Centos 6.5 x64.
2) Follow the single machine guide at http://devstack.org/guides/single-machine.html
3) stack.sh fails on both installs with the same error:

2014-02-26 18:47:05.070 | ++ sudo rm -rf /tmp/pip-build.MVuMh
2014-02-26 18:47:05.072 | ++ safe_chown -R stack /opt/stack/tempest/tempest.egg-info
2014-02-26 18:47:05.073 | ++ _safe_permission_operation chown -R stack /opt/stack/tempest/tempest.egg-info
2014-02-26 18:47:05.075 | ++ sudo chown -R stack /opt/stack/tempest/tempest.egg-info
2014-02-26 18:47:05.077 | ++ '[' True = True ']'
2014-02-26 18:47:05.078 | ++ '[' 0 -eq 0 ']'
2014-02-26 18:47:05.080 | ++ cd /opt/stack/tempest
2014-02-26 18:47:05.081 | ++ git reset --hard
2014-02-26 18:47:05.083 | HEAD is now at 85112b2 Merge "Move admin "delete a server" tests to test_servers"
2014-02-26 18:47:05.084 | ++ local image_lines
2014-02-26 18:47:05.086 | ++ local images
2014-02-26 18:47:05.088 | ++ local num_images
2014-02-26 18:47:05.089 | ++ local image_uuid
2014-02-26 18:47:05.091 | ++ local image_uuid_alt
2014-02-26 18:47:05.092 | ++ local errexit
2014-02-26 18:47:05.094 | ++ local password
2014-02-26 18:47:05.096 | ++ local line
2014-02-26 18:47:05.097 | ++ local flavors
2014-02-26 18:47:05.099 | ++ local available_flavors
2014-02-26 18:47:05.100 | ++ local flavors_ref
2014-02-26 18:47:05.102 | ++ local flavor_lines
2014-02-26 18:47:05.103 | ++ local public_network_id
2014-02-26 18:47:05.105 | ++ local public_router_id
2014-02-26 18:47:05.106 | ++ local tenant_networks_reachable
2014-02-26 18:47:05.108 | ++ local boto_instance_type=m1.tiny
2014-02-26 18:47:05.110 | ++ local ssh_connect_method=fixed
2014-02-26 18:47:05.111 | +++ grep errexit
2014-02-26 18:47:05.113 | ++ errexit='set +o errexit'
2014-02-26 18:47:05.114 | ++ set -o errexit
2014-02-26 18:47:05.116 | ++ ifs='
2014-02-26 18:47:05.117 | '
2014-02-26 18:47:05.119 | ++ declare -a images
2014-02-26 18:47:05.120 | ++ read -r IMAGE_NAME IMAGE_UUID
2014-02-26 18:47:05.122 | +++ glance image-list --status=active
2014-02-26 18:47:05.123 | +++ awk '-F|' '!/^(+--)|ID|aki|ari/ { print $3,$2 }'
2014-02-26 18:47:05.125 | ++ case "${#images[*]}" in
2014-02-26 18:47:05.127 | ++ echo 'Found no valid images to use!'
2014-02-26 18:47:05.128 | Found no valid images to use!
2014-02-26 18:47:05.130 | ++ exit 1
2014-02-26 18:47:05.131 | + clean
2014-02-26 18:47:05.133 | + local r=1
2014-02-26 18:47:05.134 | ++ jobs -p
2014-02-26 18:47:05.136 | + kill

Revision history for this message
Amit Prakash Pandey (amitpp23) wrote :

It doesn't happen everytime. Can't say about fix but workaround is to remove all instances of pip from /usr/local/lib/python2.7/dist-packages. And then try running stack.sh. It will install pip itself.

What I think is it is unable to remove pip on its own that's why it gets stuck over there.

Changed in devstack:
status: New → Confirmed
Revision history for this message
Mr.art (ouywl) wrote :

I have meet this problem too,and I revove all instances of pip from /usr/local/lib/python2.7/dist-packages.Try running stack.sh ,the problem is resolved.

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

In the meantime, support for these has been dropped from devstack completely.

Changed in devstack:
status: Confirmed → Invalid
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.