change memcached IPv6 bind host to IPv6 format

The existing localhost6 can't pass the ip_address pattern which cause
ERROR. Since the mentioned bug is already fixed in redhat RPM. Change
listen IPv6 address back.

Closes-Bug: #1838611

Change-Id: I02e7a5e2c7a610d4d74fed731df1fa37b9cbca3e
Signed-off-by: Guo Larry <larry.guo@nokia-sbell.com>
(cherry picked from commit 3929c6a08f)
This commit is contained in:
Guo Larry 2019-08-02 14:31:21 +08:00
parent 8557a38e00
commit 88fc699f83
1 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,7 @@
class packstack::memcached ()
{
# hack for memcached, for now we bind to localhost on ipv6
# https://bugzilla.redhat.com/show_bug.cgi?id=1210658
$memcached_bind_host = hiera('CONFIG_IP_VERSION') ? {
'ipv6' => 'localhost6',
'ipv6' => '::',
default => '0.0.0.0',
# TO-DO(mmagr): Add IPv6 support when hostnames are used
}