Troubles running run_tests.sh in OpenStack Nova
I`ve got an error messages while going to run tests in Nova.
So solution is next:
1. Create a development environment.
Run:
Than (for Ubuntu):
So solution is next:
1. Create a development environment.
Run:
sudo apt-get install python-dev libssl-dev python-pip git-core libxml2-dev libxslt-dev pkg-config libffi-dev
Than (for Ubuntu):
sudo apt-get build-dep python-mysqldb2. Create a virtual environment and install dependencies:
./run_tests.shIn case of an error:
source .venv/bin/activateThan:
pip install -r requirements.txt && pip install -r test-requirements.txtIt is possible receive error related to PostgreSQL module absence in some cases. So run:
sudo apt-get install libpq-devThat`s all:)
Comments
Post a Comment