summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Olof Gunnar Andersson <eandersson@blizzard.com>2018-10-15 15:23:29 -0700
committerErik Olof Gunnar Andersson <eandersson@blizzard.com>2018-10-16 01:35:40 +0000
commit423d1863128efaa788bf2de355597b0796531d9c (patch)
treeb6a7c323865c99a0765547578f46d83c6716a69d
parent348ebc90f52f8400a9d4ca954c2dadf442d250d2 (diff)
Fixing gate failing due to bad AMQP virtual_host
We are currently hitting this error with the gate. > NOT_ALLOWED - access to vhost 'None' refused for user 'stackrabbit' This patch fixes this by using the inbuilt devstack construct to create an appropriate transport_url. Change-Id: I9aae96094b7bd8bc148ae3e42c118ba160eff8ae
Notes
Notes (review): Code-Review+2: yatin <ykarel@redhat.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Oct 2018 08:05:48 +0000 Reviewed-on: https://review.openstack.org/610740 Project: openstack/magnum Branch: refs/heads/master
-rw-r--r--devstack/lib/magnum3
1 files changed, 1 insertions, 2 deletions
diff --git a/devstack/lib/magnum b/devstack/lib/magnum
index 69f0d31..79bc90d 100644
--- a/devstack/lib/magnum
+++ b/devstack/lib/magnum
@@ -126,8 +126,7 @@ function create_magnum_conf {
126 rm -f $MAGNUM_CONF 126 rm -f $MAGNUM_CONF
127 HOSTNAME=`hostname` 127 HOSTNAME=`hostname`
128 iniset $MAGNUM_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL" 128 iniset $MAGNUM_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
129 iniset $MAGNUM_CONF DEFAULT transport_url \ 129 iniset $MAGNUM_CONF DEFAULT transport_url $(get_transport_url)
130 "rabbit://$RABBIT_USERID:$RABBIT_PASSWORD@$RABBIT_HOST"
131 iniset $MAGNUM_CONF DEFAULT host "$HOSTNAME" 130 iniset $MAGNUM_CONF DEFAULT host "$HOSTNAME"
132 131
133 iniset $MAGNUM_CONF database connection `database_connection_url magnum` 132 iniset $MAGNUM_CONF database connection `database_connection_url magnum`