glance-manage db_export_metadefs should always require a directory option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Medium
|
Alexander Bashmakov |
Bug Description
Currently if you call glance-manage db_export_metadefs without any additional options, it will export all current metadefs into the glance conf dir (e.g. /etc/glance/
I think that db_export_metadefs should always require a parameter of the output directory to save them to. Either that or export them to a safer location by default. Would like additional input from Glance team on this one.
Example:
$ glance-manage db_export_metadefs
2014-09-08 16:11:15.865 5029 DEBUG oslo.db.
2014-09-08 16:11:15.900 5029 INFO glance.
2014-09-08 16:11:15.910 5029 INFO glance.
etc...
Changed in glance: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in glance: | |
assignee: | nobody → Pawel Koniszewski (pawel-koniszewski) |
tags: | added: metadef |
Changed in glance: | |
status: | Confirmed → In Progress |
Changed in glance: | |
assignee: | Pawel Koniszewski (pawel-koniszewski) → dominik dobruchowski (dominik-dobruchowski) |
Changed in glance: | |
assignee: | dominik dobruchowski (dominik-dobruchowski) → Pawel Koniszewski (pawel-koniszewski) |
Changed in glance: | |
assignee: | Pawel Koniszewski (pawel-koniszewski) → nobody |
What about saving files to /tmp/metadefs instead of /etc/glance/ metadefs? I would like to keep this parameter optional, but if we can't I'm fine with making it required.