openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #13262
Re: glance_api_servers vs. glance_host vs. keystone?
On Fri, 2012-06-15 at 16:26 -0400, Lars Kellogg-Stedman wrote:
> nova.conf appears to sport several configuration options related to
> glance, including:
>
> - glance_host
> - glance_port
> - glance_api_servers
>
> These seem suspiciously similar.
Indeed.
> Do they do the same thing?
Yes, they do.
> And
> shouldn't this information actually come from Keystone, in which there
> is an endpoint registered for the glance service?
Yes, it should :)
Now, a little history lesson:
First came nova. Then, an index server was needed, and so the
glance_host and glance_port options were added. Then, an enhancement:
use of multiple glance hosts, and so glance_api_servers was added, with
reasonable defaults drawn from glance_host and glance_port if it wasn't
provided. Then, a centralized authentication service called Keystone
was added, and as a benefit, it added the concept of endpoints.
The reason these options have not gone away is probably a combination of
supporting non-Keystone authentication and general programmer laziness…
--
Kevin L. Mitchell <kevin.mitchell@xxxxxxxxxxxxx>
Follow ups
References