puppet-tripleo/spec
Takashi Kajinami fe51d0a3e2 Format [oslo_cache] memcache_server when IPv6 is used
When Memcached uses IPv6 network, python-memcached requires that each
server name is formatted as is described in the following example.
 inet6:[<host>]:<port>

This change ensures the format is properly applied according to
the IP protocol version and cache backend used.

Note that the parameter in keystone was not properly formatted even
when IPs are used to set the parameter. This change fixes that and
ensure the parameter is properly configured.

Also, this change fixes the timing to apply any2array. The function
should be applied before we check the first memcache server by [0],
otherwise the logic to detect IPv6 address does not work as intended.

Backport note to victoria:
Resolved conflict caused by [1]. Also the keystone manifest is modified
to make the implementation consistent with the other two manifests.

[1] 34d78c5827

Conflicts:
	manifests/profile/base/heat.pp
	manifests/profile/base/nova.pp

Backport note to ussuri:
Resolved conflict caused by the keystone::cache class which was added
to puppet-keystone during Victoria cycle.

Conflicts:
	manifests/profile/base/keystone.pp

Closes-Bug: #1964824
Change-Id: I22f8fc7f59b4eeac10c3a274c36daeaa1861fd69
(cherry picked from commit c127941d8f)
(cherry picked from commit 5e8b5d570d)
(cherry picked from commit 682f67673e)
2022-03-24 08:37:16 +09:00
..
acceptance/nodesets Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
classes Format [oslo_cache] memcache_server when IPv6 is used 2022-03-24 08:37:16 +09:00
defines Revert "Remove neutron wrappers" 2020-04-30 18:47:17 +00:00
fixtures Set memcached server list from memcached_node_names 2021-08-02 14:50:17 +02:00
functions Update parser functions to 4.x api 2018-10-29 14:26:54 +00:00
unit Fix upper case checks for SRIOV interface 2019-10-17 23:14:44 +05:30
shared_examples.rb Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
spec_helper.rb Add aodh profile rspec testing 2016-09-30 15:12:05 -06:00
spec_helper_acceptance.rb Update tox configuration 2017-05-17 17:04:02 +00:00