summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhashf <6059347+khashf@users.noreply.github.com>2020-04-29 06:56:58 -0700
committerkhashf <freefood@osuosl.org>2020-04-29 07:13:55 -0700
commit65ccf371c76fc0e2a7cb26c6bae479552a77caac (patch)
tree86fb57393c4014f3913185b466913cc7e83aafbc
parent587edd998abff3e0e85dae49b7c9815cd7975407 (diff)
downloadglance_store-65ccf371c76fc0e2a7cb26c6bae479552a77caac.tar.gz
Clarify the filesystem_store_metadata_file config option
The filesystem_store_metadata_file config option only applies to the new images created after this option is set, not existing images. Related conversation: http://eavesdrop.openstack.org/irclogs/%23openstack-glance/%23openstack-glance.2018-06-01.log.html#t2018-06-01T20:26:28 Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Change-Id: I98503067e9dec782c73ea182c5d29d1e50073544 Closes-bug: #1775736
-rw-r--r--glance_store/_drivers/filesystem.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/glance_store/_drivers/filesystem.py b/glance_store/_drivers/filesystem.py
index 57204de..3691fd9 100644
--- a/glance_store/_drivers/filesystem.py
+++ b/glance_store/_drivers/filesystem.py
@@ -110,11 +110,13 @@ Related options:
help="""
Filesystem store metadata file.
-The path to a file which contains the metadata to be returned with
-any location associated with the filesystem store. The file must
-contain a valid JSON object. The object should contain the keys
-``id`` and ``mountpoint``. The value for both keys should be a
-string.
+The path to a file which contains the metadata to be returned with any location
+associated with the filesystem store. Once this option is set, it is used for
+new images created afterward only - previously existing images are not
+affected.
+
+The file must contain a valid JSON object. The object should contain the keys
+``id`` and ``mountpoint``. The value for both keys should be a string.
Possible values:
* A valid path to the store metadata file