yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80077
[Bug 1844108] Re: glance-api fails to start with duplicate option: filesystem_store_datadir error
Reviewed: https://review.opendev.org/683115
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=da29e129fa90862ef810b957a5bb0ef5095274d6
Submitter: Zuul
Branch: master
commit da29e129fa90862ef810b957a5bb0ef5095274d6
Author: Erno Kuvaja <jokke@xxxxxx>
Date: Thu Sep 19 12:33:35 2019 +0100
Revert "Add reserved stores to the sample config file"
This patch introduced double registering of the same
config option groups which fails glance-api start
if reserved stores are actually defined.
The code utilizing these config options has not been
merged which prevented testing to catch this.
Closes-Bug: #1844108
This reverts commit 4265e61bc84ce9bd085a95d8734647f4875af740.
Change-Id: Iaf338d29673e68a15d37fdda81add552e4175634
** Changed in: glance
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1844108
Title:
glance-api fails to start with duplicate option:
filesystem_store_datadir error
Status in Glance:
Fix Released
Bug description:
NOTE:
This bug is reproducible only after applying patch 'https://review.opendev.org/#/c/611253'
Since commit 4265e61bc84ce9bd085a95d8734647f4875af740 [0] is merged, glance-api service fails to start with ERROR: duplicate option: filesystem_store_datadir.
The reason for failure is glance_store [1] already registering the options for reserved stores. The above commit was aimed to add reserved stores options in sample config file, but it is also registering the same while doing so. Because of this failure the functional job is also timing out and failing on patch [2].
In order to resolve this issue we should remove the part of
registering the reserved store options logic from
glance/common/config.py file, so that it can be only used when
generating the sample config file.
[0]https://github.com/openstack/glance/commit/4265e61bc84ce9bd085a95d8734647f4875af740
[1] https://github.com/openstack/glance_store/blob/master/glance_store/multi_backend.py#L107
[2] https://review.opendev.org/#/c/611253
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1844108/+subscriptions
References