Include memcached_node_ips in the output for the undercloud
Because the memcached_node_ips is required by puppet and we don't
configure it with a hostnetmap configuration, we need to specify the
undercloud as the memcached_node_ips configuration in the outputs that
we export for the undercloud minion.
Change-Id: I152b3e60d53ebd482430f9b52baf68a3370a9c4c
Closes-Bug: #1855010
(cherry picked from commit 4c7e09fe5e
)
This commit is contained in:
parent
46c5fb4bd7
commit
467967ab9d
@ -884,12 +884,14 @@ class Deploy(command.Command):
|
||||
if globalcfg:
|
||||
# unfortunately oslo messaging doesn't use the standard endpoint
|
||||
# configurations so we need to build out the node name vars and
|
||||
# we want to grab it for the undercloud for use by a minion
|
||||
# we want to grab it for the undercloud for use by a minion.
|
||||
# The same is true for memcached as well.
|
||||
rolenet = utils.get_stack_output_item(stack, 'RoleNetIpMap')
|
||||
if 'Undercloud' in rolenet:
|
||||
name = rolenet['Undercloud']['ctlplane']
|
||||
globalcfg['oslo_messaging_rpc_node_names'] = [name]
|
||||
globalcfg['oslo_messaging_notify_node_names'] = [name]
|
||||
globalcfg['memcached_node_ips'] = [name]
|
||||
outputs['GlobalConfigExtraMapData'] = globalcfg
|
||||
|
||||
self._create_working_dirs(stack_name.lower())
|
||||
|
Loading…
Reference in New Issue
Block a user