yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14013
[Bug 1314354] [NEW] CONF.auth_url option used inconsistently
Public bug reported:
The Glance registry API will look at the running environment for an
$OS_AUTH_URL variable, and if set, it will adjust its auth strategy
accordingly. But even if the value is set in the environment, only the
value in the config file is used. This is inconsistent.
To reproduce:
* Set up a config file for a glance CLI tool, e.g., the glance-scrubber with no "auth_strategy" or "auth_url" options set
* set an $OS_AUTH_URL environment variable that points to a running Keystone instance
* Try to use the configured tool, e.g., spool up some delayed deletes and try to get the scrubber to purge them
Expected results:
* It should automagically figure out based on the environment that it
should talk to Keystone, and should attempt to auth against it
Actual results:
* No auth_url ends up getting set, and glance-scrubber falls flat on its
face when trying to update the registry
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1314354
Title:
CONF.auth_url option used inconsistently
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
The Glance registry API will look at the running environment for an
$OS_AUTH_URL variable, and if set, it will adjust its auth strategy
accordingly. But even if the value is set in the environment, only
the value in the config file is used. This is inconsistent.
To reproduce:
* Set up a config file for a glance CLI tool, e.g., the glance-scrubber with no "auth_strategy" or "auth_url" options set
* set an $OS_AUTH_URL environment variable that points to a running Keystone instance
* Try to use the configured tool, e.g., spool up some delayed deletes and try to get the scrubber to purge them
Expected results:
* It should automagically figure out based on the environment that it
should talk to Keystone, and should attempt to auth against it
Actual results:
* No auth_url ends up getting set, and glance-scrubber falls flat on
its face when trying to update the registry
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1314354/+subscriptions
Follow ups
References