Unhardcoding stores parameter in glance_store section
The patch changes the logic which was the following if server.storage.engine
has file engine then stores is defined as file,http therefore due to
this there was a chance to use "file" engine with any extra engines like
rdb, swift etc.
Change-Id: I32c71487edec4601bea4374413befe78495c1601
Related-PROD: PROD-26281 (PROD:26281)
diff --git a/metadata/service/control/storage/file.yml b/metadata/service/control/storage/file.yml
index 9f54585..f2828dc 100644
--- a/metadata/service/control/storage/file.yml
+++ b/metadata/service/control/storage/file.yml
@@ -2,5 +2,5 @@
glance:
server:
storage:
- engine: file
+ engine: file,http
default_store: file