The bug in [1] proposed to always require a directory option for
glance-manage db_export_metadefs command. The rationale being that
silently overwriting the default path /etc/glance/metadefs can
be undesired. However, the feedback was that this command should
stay silent in case it's called from cron jobs or automated tasks,
and that it's better to simply log a warning and proceed, as well
as update the documentation with a cautionary note. This patch
addresses that request.
Reviewed: https:/ /review. openstack. org/368231 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=9968b0993fe 1859b7accb6701f 2fffcbed757bc0
Committed: https:/
Submitter: Jenkins
Branch: master
commit 9968b0993fe1859 b7accb6701f2fff cbed757bc0
Author: Alexander Bashmakov <email address hidden>
Date: Fri Sep 9 13:44:36 2016 -0700
Added overwrite warning for db_export_metadefs.
The bug in [1] proposed to always require a directory option for metadefs can
glance-manage db_export_metadefs command. The rationale being that
silently overwriting the default path /etc/glance/
be undesired. However, the feedback was that this command should
stay silent in case it's called from cron jobs or automated tasks,
and that it's better to simply log a warning and proceed, as well
as update the documentation with a cautionary note. This patch
addresses that request.
[1] https:/ /bugs.launchpad .net/glance/ +bug/1367011
Change-Id: Ie8cc4bb3769a63 47fd25e2235a72c 6358af70d42
Closes-Bug: #1367011