yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03454
[Bug 1198730] Re: registry_host parameter in glance.conf has invalid default
As far as I know, 0.0.0.0 means "all IP addresses on the local machine".
So I don't think it's a bug.
** Changed in: glance
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1198730
Title:
registry_host parameter in glance.conf has invalid default
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Bug description:
The parameter registry_host is set to 0.0.0.0 by default in glance-
api.conf and is described as the address used to contact the registry
service.
https://github.com/openstack/glance/blob/master/etc/glance-
api.conf#L117
0.0.0.0 is not a valid default that can be used to connect to a remote
service.
A quick search through the code also reveals that the parameter is not
used by the api service:
$ grep -ri registry_host *
doc/source/controllingservers.rst: 2011-04-13 14:50:12 DEBUG [glance-api] registry_host 65.114.169.29
doc/source/man/glanceregistry.rst: **--registry_host=HOST**
etc/glance-api.conf:registry_host = 0.0.0.0
etc/glance-cache.conf:registry_host = 0.0.0.0
etc/glance-scrubber.conf:registry_host = 0.0.0.0
glance/registry/__init__.py: cfg.StrOpt('registry_host', default='0.0.0.0',
glance/registry/client/v1/api.py: host, port = CONF.registry_host, CO NF.registry_port
glance/registry/client/v2/api.py: host, port = CONF.registry_host, CONF.registry_port
glance/store/scrubber.py: host, port = CONF.registry_host, CONF.registry_port
glance/store/scrubber.py: 'registry_host': host, 'registry_port': port})
glance/tests/functional/__init__.py:registry_host = 127.0.0.1
glance/tests/functional/__init__.py:registry_host = 127.0.0.1
glance/tests/functional/test_bin_glance_cache_manage.py:registry_host = 127.0.0.1
glance/tests/functional/test_cache_middleware.py:registry_host = 127.0.0.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1198730/+subscriptions