Metadata defintions in etc/metadefs are not included in Python packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The files in etc/metadefs in the Glance repository are not included in either the tarball or wheel when one runs
python setup.py sdist bdist_wheel
These should be included by default and installed so they can be used. Since wheels should not be allowed to write to paths outside of the directory the package is installed in,
glance-manage db_load_metadefs
Should also look in the installed directory path for etc/metadefs when loading them.
This is a problem in every version of Glance that was meant to include those metadata definitions. Since this does not prevent functionality from working (since a user could download the files to /etc/metadefs and run the command), I do not think this has backport potential.
description: | updated |
Changed in glance: | |
milestone: | none → liberty-3 |
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | liberty-3 → 11.0.0 |
lifeless was kind enough to provide http:// docs.openstack. org/developer/ pbr/#files as a reference for the best way to do this with pbr. It needs some testing first to make sure we get the right solution.