From 4c7e09fe5e73fe8c863fdef334a48346e6fd4a00 Mon Sep 17 00:00:00 2001 From: Alex Schultz Date: Tue, 3 Dec 2019 15:49:34 -0700 Subject: [PATCH] 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 --- tripleoclient/v1/tripleo_deploy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tripleoclient/v1/tripleo_deploy.py b/tripleoclient/v1/tripleo_deploy.py index 2a5ee9783..eae946b50 100644 --- a/tripleoclient/v1/tripleo_deploy.py +++ b/tripleoclient/v1/tripleo_deploy.py @@ -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())