yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33581
[Bug 1463466] [NEW] Option use_user_token is created twice
Public bug reported:
In glance we have two places where we register use_user_token option:
https://github.com/openstack/glance/blob/stable/kilo/glance/common/store_utils.py#L33
https://github.com/openstack/glance/blob/stable/kilo/glance/registry/client/__init__.py#L55
oslo.config considers them as one, because they have the same name and
help string, but changing help string in one of them leads to an
exception DuplicateOptError: duplicate option: use_user_token
It seems that we should remove the option creation in store_utils and
left only one declaration in registry client.
** Affects: glance
Importance: Undecided
Assignee: Mike Fedosin (mfedosin)
Status: New
** Changed in: glance
Assignee: (unassigned) => Mike Fedosin (mfedosin)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1463466
Title:
Option use_user_token is created twice
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
In glance we have two places where we register use_user_token option:
https://github.com/openstack/glance/blob/stable/kilo/glance/common/store_utils.py#L33
https://github.com/openstack/glance/blob/stable/kilo/glance/registry/client/__init__.py#L55
oslo.config considers them as one, because they have the same name and
help string, but changing help string in one of them leads to an
exception DuplicateOptError: duplicate option: use_user_token
It seems that we should remove the option creation in store_utils and
left only one declaration in registry client.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1463466/+subscriptions
Follow ups
References