rally db create fails with ModuleNotFoundError: No module named 'fixtures'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
New
|
Undecided
|
Unassigned |
Bug Description
Fails as below:-
$ rally db create
Traceback (most recent call last):
File "/tmp/venv/
from rally.cli.main import main
File "/tmp/venv/
from rally.cli import cliutils
File "/tmp/venv/
from rally import api
File "/tmp/venv/
from rally.common import cfg
File "/tmp/venv/
from oslo_config import fixture # noqa
File "/tmp/venv/
import fixtures
ModuleNotFoundE
Reproduce with:-
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install rally # or pip install git+https:/
$ rally db create
Failing since testtools>2.6.0
$ pip show testtools
Name: testtools
Version: 2.7.1
Summary: Extensions to the Python standard library unit testing framework
Home-page:
Author:
Author-email: "Jonathan M. Lange" <email address hidden>
License:
Location: /tmp/venv/
Requires:
Required-by: python-subunit, testscenarios
$ pip install testtools==2.6.0
Collecting testtools==2.6.0
Using cached testtools-
Collecting fixtures>=2.0
Using cached fixtures-
Requirement already satisfied: pbr>=0.11 in ./venv/
Installing collected packages: fixtures, testtools
Attempting uninstall: testtools
Found existing installation: testtools 2.7.1
Uninstalling testtools-2.7.1:
Successfully uninstalled testtools-2.7.1
Successfully installed fixtures-4.1.0 testtools-2.6.0
$ rally db create
Creating database: sqlite:
Database created successfully