missing dependencies for nova (run-tests.sh failed building the venv)

Bug #1203723 reported by Christian Berendt
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Low
Thanassis Parathyras

Bug Description

I think there are some missing dependencies, at least is not possible to run run-tests.sh without build errors at the moment. After installing the following packages I could successfully run run-tests.sh. I think we should add those packages to files/apts/nova.

libxslt-dev
libpq-dev
libmysqlclient-dev
zlib1g-dev
libssl-dev
libxml2-dev

Revision history for this message
Thang Pham (thang-pham) wrote :

I had the same problem on Ubuntu 12.10 running the run-test.sh. These packages (a few different from yours) fixed it for me:

libmysqlclient-dev
libpq-dev
python-dev
libldap2-dev
libsasl2-dev
libssl-dev

Changed in devstack:
assignee: nobody → Monty Taylor (mordred)
status: New → In Progress
Changed in devstack:
assignee: Monty Taylor (mordred) → Bob Ball (bob-ball)
Changed in devstack:
assignee: Bob Ball (bob-ball) → Monty Taylor (mordred)
Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :

Christian's fix works for me.

Revision history for this message
Dean Troyer (dtroyer) wrote :

https://review.openstack.org/38127 fixed https://bugs.launchpad.net/devstack/+bug/1203680 for glance, a similar solution for nova should be done, or those files moved to 'general'

Changed in devstack:
importance: Undecided → Low
Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :

Nowadays I work around this with a single thing, `apt-get install libmysqlclient-dev` (in the Ubuntu case) before run_tests.sh.

Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :
Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :

In other words, the fix to https://bugs.launchpad.net/devstack/+bug/1203680 can be used for Nova too. In fact, that fix adds what I find is needed for Nova. All that is missing is to update the instructions for DevStack and unit testing to point this out.

Dean Troyer (dtroyer)
Changed in devstack:
status: In Progress → Incomplete
Revision history for this message
Mike Spreitzer (mike-spreitzer) wrote :

Why was the status of this changed to Incomplete?

Revision history for this message
Geronimo Orozco (gorozco) wrote :

This works for me too, seems that comment #4 is already there in nova

Changed in devstack:
assignee: Monty Taylor (mordred) → Thanassis Parathyras (parath)
status: Incomplete → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (master)

Reviewed: https://review.openstack.org/164723
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=a03ed3762613a70e9f15811bc02a5006c0004f05
Submitter: Jenkins
Branch: master

commit a03ed3762613a70e9f15811bc02a5006c0004f05
Author: Thanassis Parathyras <email address hidden>
Date: Thu Mar 12 22:15:50 2015 +0200

    Adds documentation for devstack unit tests enablement

    Closes Bug: 1283214
    Closes Bug: 1203723

    Change-Id: Iac25185c7cc92ddebd3a22b602f7c8885d009807

Changed in devstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.