2019-09-16 09:38:26 |
Abhishek Kekane |
description |
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 |
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 |
|