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
This commit is contained in:
Pawel Koniszewski 2016-12-20 10:00:34 +01:00
parent 2dfc5e7a48
commit fb12d1c7e7
2 changed files with 0 additions and 2 deletions

View File

@ -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}

View File

@ -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}