stack.sh fails because /opt/stack/requirements/global-requirements.txt isn't present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Amrith Kumar |
Bug Description
This is seen with a fresh clone of devstack.
An earlier clone from about 6am today didn't have this problem. The code that is failing appears to be newly added (pip_install_gr)
Setting up mysql-server (5.5.41-
+ real_install_
+ is_ubuntu
+ [[ -z deb ]]
+ '[' deb = deb ']'
+ apt_get install mysql-server
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ sudo DEBIAN_
Reading package lists... Done
Building dependency tree
Reading state information... Done
mysql-server is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 486 not upgraded.
+ install_
+ install_
+ pip_install_gr MySQL-python
+ local name=MySQL-python
++ get_from_
++ local package=
+++ grep -h '^MySQL-python' /opt/stack/
+++ cut -d# -f1
grep: /opt/stack/
++ local required_pkg=
++ [[ '' == '' ]]
++ die 142 'Can'\''t find package MySQL-python in requirements'
++ local exitcode=0
++ set +o xtrace
[ERROR] /home/ubuntu/
+ local 'clean_name=[Call Trace]
./stack.
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
+ pip_install '[Call' 'Trace]' ./stack.
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_
Exception:
Traceback (most recent call last):
File "/usr/local/
status = self.run(options, args)
File "/usr/local/
name, None, isolated=
File "/usr/local/
isolated=
File "/usr/local/
req = pkg_resources.
File "/usr/local/
reqs = list(parse_
File "/usr/local/
raise ValueError("Missing distribution spec", line)
ValueError: ('Missing distribution spec', '[Call')
+ exit_trap
+ local r=2
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 2 -ne 0 ]]
+ echo 'Error on exit'
Error on exit
+ [[ -z /opt/stack/logs ]]
+ /home/ubuntu/
World dumping... see /opt/stack/
Fix proposed to branch: master /review. openstack. org/171788
Review: https:/