puppet-tripleo/manifests/profile/base/heat
Takashi Kajinami 09d7754a5f Format [keystone_authtoken] memcache_servers when IPv6 is used
When Memcached uses IPv6 network, the memcache_servers parameter should
be formatted as is described in the following example.
 inet6:[<host>]:<port>

This change ensures the proper format is applied even when hostnames
are used to define servers.

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 wallaby:
This change covers novajoin which was already removed in master.

Backport note to victoria:
 - Resolved the conflicts caused by [1]
 - Mistral and Zaqar are additionally covered by this backport
 - Fixed wrongly named spec file for zaqar::authtoken

[1] 34d78c5827

Conflicts:
	manifests/profile/base/aodh/authtoken.pp
	manifests/profile/base/barbican/authtoken.pp
	manifests/profile/base/cinder/authtoken.pp
	manifests/profile/base/designate/authtoken.pp
	manifests/profile/base/glance/authtoken.pp
	manifests/profile/base/gnocchi/authtoken.pp
	manifests/profile/base/heat/authtoken.pp
	manifests/profile/base/ironic/authtoken.pp
	manifests/profile/base/ironic_inspector/authtoken.pp
	manifests/profile/base/manila/authtoken.pp
	manifests/profile/base/neutron/authtoken.pp
	manifests/profile/base/nova/authtoken.pp
	manifests/profile/base/novajoin/authtoken.pp
	manifests/profile/base/octavia/authtoken.pp
	manifests/profile/base/placement/authtoken.pp

Backport note to ussuri:
Resolved conflict caused by missing spec file for the zaqar authtoken
class. The file was added during Victoria cycle.

Conflicts:
	spec/classes/tripleo_profile_base_zaqar_authtoken_spec.rb

Backport note to train:
Resolved conflict caused by mistral/novajoin/zaqar manifest which were
excluded when the previous change[2] was backported to stable/train
for unknown reason. Also, this backport covers Panko, which is no
longer supported in ussuri and later.

[2] https://review.opendev.org/c/openstack/puppet-tripleo/+/803205

Conflicts:
	manifests/profile/base/mistral/authtoken.pp
	manifests/profile/base/novajoin/authtoken.pp
	manifests/profile/base/zaqar/authtoken.pp
	spec/classes/tripleo_profile_base_mistral_authtoken_spec.rb
	spec/classes/tripleo_profile_base_novajoin_authtoken_spec.rb
	spec/classes/tripleo_profile_base_panko_authtoken_spec.rb

Partial-Bug: #1964824
Depends-on: https://review.opendev.org/834597
Change-Id: I18537ab819996cfb0f2705d8c49666d4b9bfff22
(cherry picked from commit 1e63b4c5f5)
(cherry picked from commit c868cbde88)
(cherry picked from commit 90f8544576)
(cherry picked from commit 564e844c38)
2022-03-31 08:17:39 +02:00
..
api.pp Add check for bootstrap_node for downcase 2021-02-23 09:43:38 +00:00
api_cfn.pp Add check for bootstrap_node for downcase 2021-02-23 09:43:38 +00:00
authtoken.pp Format [keystone_authtoken] memcache_servers when IPv6 is used 2022-03-31 08:17:39 +02:00
engine.pp Add check for bootstrap_node for downcase 2021-02-23 09:43:38 +00:00