Re: [openstack-dev] ./run_tests.sh fails to create the .venv environment for neutron

2014-10-09 Thread Ihar Hrachyshka
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

On 09/10/14 01:55, Vasudevan, Swaminathan (PNB Roseville) wrote:
 Hi Folks,
 
 
 
 ./run_tests.sh fails to create the .venv with the latest neutron
 repo.
 
 It fails at MySQL-python.
 
 Does anyone know what is broken.

You probably miss libmysqlclient-devel package installed from your
distribution repos.

/Ihar
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iQEcBAEBCgAGBQJUNoDIAAoJEC5aWaUY1u57jo4IALh9FaEsICHxKoaNjtlmTey9
F9+DQicJOwc/Iw22U+zY9d1AnuBz7P+xLvGLqavsVdEvYdbZSlT4OKUCBiTovseV
pit3WiUFjVhXcLlUS3aKfjkX4mHwHTBIWQEZvf0jEVQRTSnIAv3x0TbCuXDJ9vcB
Luf4PcFoqMFW/PVFYkSXhEQ4WMrPcTcNNdy5AqdpVrkntviR+oyHONvYSizjhIda
raiMtgWYZvAigXz62Bul13B42AJVIhzFMeFnN5d1enV41ZlgJje/Dgqf1e8YC87z
v7aXbUiEolTZvCpjO1jL/uBmuOBkGeltrMW4XWv0WJD7SqsW9ridNuHdXV2yMfc=
=TA77
-END PGP SIGNATURE-

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] ./run_tests.sh fails to create the .venv environment for neutron

2014-10-08 Thread Vasudevan, Swaminathan (PNB Roseville)
Hi Folks,

./run_tests.sh fails to create the .venv with the latest neutron repo.
It fails at MySQL-python.
Does anyone know what is broken.

Downloading/unpacking oslotest=1.1.0 (from -r 
/home/stack/neutron/test-requirements.txt (line 20))
  Downloading oslotest-1.1.0-py2.py3-none-any.whl
Downloading/unpacking psycopg2 (from -r 
/home/stack/neutron/test-requirements.txt (line 21))
  Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded
  Running setup.py (path:/home/stack/neutron/.venv/build/psycopg2/setup.py) 
egg_info for package psycopg2

Downloading/unpacking MySQL-python (from -r 
/home/stack/neutron/test-requirements.txt (line 22))
  Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded
  Running setup.py (path:/home/stack/neutron/.venv/build/MySQL-python/setup.py) 
egg_info for package MySQL-python
sh: 1: mysql_config: not found
Traceback (most recent call last):
  File string, line 17, in module
  File /home/stack/neutron/.venv/build/MySQL-python/setup.py, line 17, in 
module
metadata, options = get_config()
  File setup_posix.py, line 43, in get_config
libs = mysql_config(libs_r)
  File setup_posix.py, line 25, in mysql_config
raise EnvironmentError(%s not found % (mysql_config.path,))
EnvironmentError: mysql_config not found
Complete output from command python setup.py egg_info:
sh: 1: mysql_config: not found

Traceback (most recent call last):

  File string, line 17, in module

  File /home/stack/neutron/.venv/build/MySQL-python/setup.py, line 17, in 
module

metadata, options = get_config()

  File setup_posix.py, line 43, in get_config

libs = mysql_config(libs_r)

  File setup_posix.py, line 25, in mysql_config

raise EnvironmentError(%s not found % (mysql_config.path,))

EnvironmentError: mysql_config not found


Cleaning up...
Command python setup.py egg_info failed with error code 1 in 
/home/stack/neutron/.venv/build/MySQL-python
Storing debug log for failure in /home/stack/.pip/pip.log
Command tools/with_venv.sh pip install --upgrade -r 
/home/stack/neutron/test-requirements.txt failed.
None
stack@ubuntu:~/neutron$

Thanks.

Swaminathan Vasudevan
Systems Software Engineer (TC)


HP Networking
Hewlett-Packard
8000 Foothills Blvd
M/S 5541
Roseville, CA - 95747
tel: 916.785.0937
fax: 916.785.1815
email: swaminathan.vasude...@hp.commailto:swaminathan.vasude...@hp.com


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev