Browse Source

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
tags/8.0.0.0rc1
Erik Olof Gunnar Andersson 7 months ago
parent
commit
423d186312
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      devstack/lib/magnum

+ 1
- 2
devstack/lib/magnum View File

@@ -126,8 +126,7 @@ function create_magnum_conf {
126 126
     rm -f $MAGNUM_CONF
127 127
     HOSTNAME=`hostname`
128 128
     iniset $MAGNUM_CONF DEFAULT debug "$ENABLE_DEBUG_LOG_LEVEL"
129
-    iniset $MAGNUM_CONF DEFAULT transport_url \
130
-          "rabbit://$RABBIT_USERID:$RABBIT_PASSWORD@$RABBIT_HOST"
129
+    iniset $MAGNUM_CONF DEFAULT transport_url $(get_transport_url)
131 130
     iniset $MAGNUM_CONF DEFAULT host "$HOSTNAME"
132 131
 
133 132
     iniset $MAGNUM_CONF database connection `database_connection_url magnum`

Loading…
Cancel
Save