No module named openstack.common.db
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Fix Released
|
Low
|
Ian Wienand |
Bug Description
Seeing error importing openstack.common.db
---
$ ./run_tests.sh
[time passes]
Cleaning up...
OpenStack development environment setup is complete.
OpenStack development uses virtualenv to track and manage Python
dependencies while in development and testing.
To activate the OpenStack virtualenv for the extent of your current shell
session you can run:
$ source /home/iwienand/
Or, if you prefer, you can run commands in the virtualenv on a case by case
basis by running:
$ /home/iwienand/
Also, make test will automatically use the virtualenv.
Running `/home/
Traceback (most recent call last):
File "./openstack/
from openstack.common.db import exception as exc
ImportError: No module named openstack.common.db
Traceback (most recent call last):
File "./openstack/
from openstack.common.db import exception as exc
ImportError: No module named openstack.common.db
Disposing of instances failed, return 1
error: testr failed (3)
---
this is because it's trying to call python on the script directly to instantiate the database
Changed in oslo: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/85634
Review: https:/