← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1466326] [NEW] stack.sh fails while installing PyMySQL

 

Public bug reported:

This is the error message when I run ./stack.sh

[ERROR] /home/ubuntu/devstack/inc/python:142 Can't find package PyMySQL
in requirements


complete error log

2015-06-18 06:01:24.757 | [ERROR] /home/ubuntu/devstack/inc/python:142 Can't find package PyMySQL in requirements
2015-06-18 06:01:25.760 | + local 'clean_name=[Call Trace]
2015-06-18 06:01:25.761 | ./stack.sh:726:install_database_python
2015-06-18 06:01:25.761 | /home/ubuntu/devstack/lib/database:114:install_database_python_mysql
2015-06-18 06:01:25.761 | /home/ubuntu/devstack/lib/databases/mysql:165:pip_install_gr
2015-06-18 06:01:25.761 | /home/ubuntu/devstack/inc/python:63:get_from_global_requirements
2015-06-18 06:01:25.761 | /home/ubuntu/devstack/inc/python:142:die'
2015-06-18 06:01:25.761 | + pip_install '[Call' 'Trace]' ./stack.sh:726:install_database_python /home/ubuntu/devstack/lib/database:114:install_database_python_mysql /home/ubuntu/devstack/lib/databases/mysql:165:pip_install_gr /home/ubuntu/devstack/inc/python:63:get_from_global_requirements /home/ubuntu/devstack/inc/python:142:die
2015-06-18 06:01:26.207 | + sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS=file:///opt/stack/.wheelhouse /usr/local/bin/pip install '[Call' 'Trace]' ./stack.sh:726:install_database_python /home/ubuntu/devstack/lib/database:114:install_database_python_mysql /home/ubuntu/devstack/lib/databases/mysql:165:pip_install_gr /home/ubuntu/devstack/inc/python:63:get_from_global_requirements /home/ubuntu/devstack/inc/python:142:die
2015-06-18 06:01:27.141 | Exception:
2015-06-18 06:01:27.142 | Traceback (most recent call last):
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 223, in main
2015-06-18 06:01:27.142 |     status = self.run(options, args)
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 268, in run
2015-06-18 06:01:27.142 |     wheel_cache
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 268, in populate_requirement_set
2015-06-18 06:01:27.142 |     wheel_cache=wheel_cache
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 207, in from_line
2015-06-18 06:01:27.142 |     wheel_cache=wheel_cache)
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 66, in __init__
2015-06-18 06:01:27.142 |     req = pkg_resources.Requirement.parse(req)
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2960, in parse
2015-06-18 06:01:27.142 |     reqs = list(parse_requirements(s))
2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2891, in parse_requirements
2015-06-18 06:01:27.142 |     raise ValueError("Missing distribution spec", line)
2015-06-18 06:01:27.142 | ValueError: ('Missing distribution spec', '[Call')
2015-06-18 06:01:27.142 | 
2015-06-18 06:01:27.172 | + exit_trap
2015-06-18 06:01:27.172 | + local r=2
2015-06-18 06:01:27.172 | ++ jobs -p
2015-06-18 06:01:27.174 | + jobs=
2015-06-18 06:01:27.174 | + [[ -n '' ]]
2015-06-18 06:01:27.174 | + kill_spinner
2015-06-18 06:01:27.174 | + '[' '!' -z '' ']'
2015-06-18 06:01:27.174 | + [[ 2 -ne 0 ]]
2015-06-18 06:01:27.174 | + echo 'Error on exit'
2015-06-18 06:01:27.174 | Error on exit
2015-06-18 06:01:27.174 | + [[ -z /opt/stack/logs ]]
2015-06-18 06:01:27.174 | + /home/ubuntu/devstack/tools/worlddump.py -d /opt/stack/logs
2015-06-18 06:01:28.122 | sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
2015-06-18 06:01:28.122 | kill -l [exitstatus]
2015-06-18 06:01:28.128 | + exit 2

** Affects: devstack
     Importance: Undecided
         Status: New

** Project changed: neutron => devstack

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1466326

Title:
  stack.sh fails while installing PyMySQL

Status in devstack - openstack dev environments:
  New

Bug description:
  This is the error message when I run ./stack.sh

  [ERROR] /home/ubuntu/devstack/inc/python:142 Can't find package
  PyMySQL in requirements

  
  complete error log

  2015-06-18 06:01:24.757 | [ERROR] /home/ubuntu/devstack/inc/python:142 Can't find package PyMySQL in requirements
  2015-06-18 06:01:25.760 | + local 'clean_name=[Call Trace]
  2015-06-18 06:01:25.761 | ./stack.sh:726:install_database_python
  2015-06-18 06:01:25.761 | /home/ubuntu/devstack/lib/database:114:install_database_python_mysql
  2015-06-18 06:01:25.761 | /home/ubuntu/devstack/lib/databases/mysql:165:pip_install_gr
  2015-06-18 06:01:25.761 | /home/ubuntu/devstack/inc/python:63:get_from_global_requirements
  2015-06-18 06:01:25.761 | /home/ubuntu/devstack/inc/python:142:die'
  2015-06-18 06:01:25.761 | + pip_install '[Call' 'Trace]' ./stack.sh:726:install_database_python /home/ubuntu/devstack/lib/database:114:install_database_python_mysql /home/ubuntu/devstack/lib/databases/mysql:165:pip_install_gr /home/ubuntu/devstack/inc/python:63:get_from_global_requirements /home/ubuntu/devstack/inc/python:142:die
  2015-06-18 06:01:26.207 | + sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS=file:///opt/stack/.wheelhouse /usr/local/bin/pip install '[Call' 'Trace]' ./stack.sh:726:install_database_python /home/ubuntu/devstack/lib/database:114:install_database_python_mysql /home/ubuntu/devstack/lib/databases/mysql:165:pip_install_gr /home/ubuntu/devstack/inc/python:63:get_from_global_requirements /home/ubuntu/devstack/inc/python:142:die
  2015-06-18 06:01:27.141 | Exception:
  2015-06-18 06:01:27.142 | Traceback (most recent call last):
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 223, in main
  2015-06-18 06:01:27.142 |     status = self.run(options, args)
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 268, in run
  2015-06-18 06:01:27.142 |     wheel_cache
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 268, in populate_requirement_set
  2015-06-18 06:01:27.142 |     wheel_cache=wheel_cache
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 207, in from_line
  2015-06-18 06:01:27.142 |     wheel_cache=wheel_cache)
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 66, in __init__
  2015-06-18 06:01:27.142 |     req = pkg_resources.Requirement.parse(req)
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2960, in parse
  2015-06-18 06:01:27.142 |     reqs = list(parse_requirements(s))
  2015-06-18 06:01:27.142 |   File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2891, in parse_requirements
  2015-06-18 06:01:27.142 |     raise ValueError("Missing distribution spec", line)
  2015-06-18 06:01:27.142 | ValueError: ('Missing distribution spec', '[Call')
  2015-06-18 06:01:27.142 | 
  2015-06-18 06:01:27.172 | + exit_trap
  2015-06-18 06:01:27.172 | + local r=2
  2015-06-18 06:01:27.172 | ++ jobs -p
  2015-06-18 06:01:27.174 | + jobs=
  2015-06-18 06:01:27.174 | + [[ -n '' ]]
  2015-06-18 06:01:27.174 | + kill_spinner
  2015-06-18 06:01:27.174 | + '[' '!' -z '' ']'
  2015-06-18 06:01:27.174 | + [[ 2 -ne 0 ]]
  2015-06-18 06:01:27.174 | + echo 'Error on exit'
  2015-06-18 06:01:27.174 | Error on exit
  2015-06-18 06:01:27.174 | + [[ -z /opt/stack/logs ]]
  2015-06-18 06:01:27.174 | + /home/ubuntu/devstack/tools/worlddump.py -d /opt/stack/logs
  2015-06-18 06:01:28.122 | sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
  2015-06-18 06:01:28.122 | kill -l [exitstatus]
  2015-06-18 06:01:28.128 | + exit 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1466326/+subscriptions


Follow ups

References