Installing oslo.rootwrap from pypi hides oslo.* installed as editable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo-incubator |
Invalid
|
High
|
Thierry Carrez |
Bug Description
Running devstack clean on ubuntu 12.04-3 results in the following glance-registry failure when trying to upload the demo image:
DBError: (ProgrammingError) (1146, "Table 'glance.images' doesn't exist")
Further inspection reveals the glance database to be empty, and attempting to run 'glance-manage db_sync' results in the following error:
Traceback (most recent call last):
File "/usr/local/
from glance.cmd.manage import main
File "/opt/stack/
from oslo.config import cfg
ImportError: No module named config
Looking at the dist packages installation target (/usr/local/
oslo
oslo.rootwrap-
oslo.config.
oslo.rootwrap-
oslo.messaging.
It appears that nova was recently changed to install oslo.rootwrap from pypi [1] and that oslo.rootwrap installation in this manner prevents other oslo.* packages from sharing the namespace.
Attempting to use the --egg option to install oslo.{config|
1: https:/
2: http://
description: | updated |
description: | updated |
Changed in oslo: | |
milestone: | none → icehouse-3 |
Changed in oslo: | |
milestone: | icehouse-3 → none |
This is fixed in: git.openstack. org/cgit/ openstack/ oslo.rootwrap/ commit/ ?id=4c499d36642 9f68ff29c7a2f93 553b06f3697405
http://
I just need to cut a new release so that Pypi looks good too. Will do once https:/ /review. openstack. org/#/c/ 69033 merges.