← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1463466] Re: Option use_user_token is created twice

 

** Changed in: glance
       Status: Fix Committed => Fix Released

** Changed in: glance
    Milestone: None => liberty-1

-- 
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):
  Fix Released

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


References