From fb12d1c7e737ee00ba48606e1cdc93f19a6eb624 Mon Sep 17 00:00:00 2001 From: Pawel Koniszewski Date: Tue, 20 Dec 2016 10:00:34 +0100 Subject: [PATCH] Let grenade configure rabbit transport url based on host ip Since cells v2 are required to start Ocata, grenade should not set rabbit host to localhost. Otherwise cell mapping will contain transport_url set to localhost and therefore subnode-2 will fail connection to rabbit, e.g., when trying to start pre live migration steps on contoller+compute node. This is beacause subnode-2 will take cell mapping from the database and then transport_url from cell mapping which points to localhost:5672 in such case. Change-Id: I3d4d7b309e50f4e2970cda55aada02d68c4fa705 Related-Bug: #1649586 --- devstack.localrc.base | 1 - devstack.localrc.target | 1 - 2 files changed, 2 deletions(-) diff --git a/devstack.localrc.base b/devstack.localrc.base index 26ee77c3..5ba8bc4f 100644 --- a/devstack.localrc.base +++ b/devstack.localrc.base @@ -18,7 +18,6 @@ API_RATE_LIMIT=False LOGDAYS=1 LOGFILE=$DEST/logs/stack.sh.log MYSQL_PASSWORD=superstack -RABBIT_HOST=localhost RABBIT_PASSWORD=superstack SCREEN_LOGDIR=$DEST/logs/screen SCREEN_NAME=${SCREEN_NAME:-stack} diff --git a/devstack.localrc.target b/devstack.localrc.target index 1f74f475..a0736bc1 100644 --- a/devstack.localrc.target +++ b/devstack.localrc.target @@ -18,7 +18,6 @@ API_RATE_LIMIT=False LOGDAYS=1 LOGFILE=$DEST/logs/stack.sh.log MYSQL_PASSWORD=superstack -RABBIT_HOST=localhost RABBIT_PASSWORD=superstack SCREEN_LOGDIR=$DEST/logs/screen SCREEN_NAME=${SCREEN_NAME:-stack}