latest devstack doesn't build on ubuntu 12.04 or centos 6.5
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://
3) stack.sh fails on both installs with the same error:
2014-02-26 18:47:05.070 | ++ sudo rm -rf /tmp/pip-
2014-02-26 18:47:05.072 | ++ safe_chown -R stack /opt/stack/
2014-02-26 18:47:05.073 | ++ _safe_permissio
2014-02-26 18:47:05.075 | ++ sudo chown -R stack /opt/stack/
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_
2014-02-26 18:47:05.108 | ++ local boto_instance_
2014-02-26 18:47:05.110 | ++ local ssh_connect_
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|' '!/^(+-
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
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.