Fix memcached host address.
Since pymemcache 3.4.0, localhost will first translate to ipv6 ([::1]) if possible instead of ipv4 (127.0.0.1). Since memcached is running in the ipv4 interface, we need to point tooz to the right endpoint. Conflicts: zuul.d/ironic-inspector-jobs.yaml NOTE(moguimar): Conflicts are due small difference in adjacent lines. Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com> Change-Id: Iddf558cd598e41ffead11e164ce2fb1720d15f34 (cherry picked from commit86b974b75c
) (cherry picked from commit965a4f5086
)
This commit is contained in:
parent
c1a94782e5
commit
5c40a5e171
@ -336,7 +336,7 @@ function configure_inspector {
|
||||
if [[ "$IRONIC_INSPECTOR_STANDALONE" == "False" ]]; then
|
||||
# memcached listens localhost instead of $SERVICE_HOST, which is exactly the default value,
|
||||
# but set explicitly in case that changed.
|
||||
inspector_iniset coordination backend_url "memcached://localhost:11211"
|
||||
inspector_iniset coordination backend_url "memcached://127.0.0.1:11211"
|
||||
fi
|
||||
|
||||
if is_service_enabled swift; then
|
||||
|
@ -51,6 +51,7 @@
|
||||
devstack_localrc:
|
||||
IRONIC_DEFAULT_BOOT_OPTION: netboot
|
||||
IRONIC_INSPECTOR_STANDALONE: False
|
||||
MEMCACHE_SERVERS: 127.0.0.1:11211
|
||||
devstack_services:
|
||||
s-account: True
|
||||
s-container: True
|
||||
|
Loading…
Reference in New Issue
Block a user