summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-03-26 18:27:25 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-08 15:46:36 +0000
commitf7a179bf74ac1f62510c07951a47f8396dff7c25 (patch)
tree990747d6eed2cf674a2249759bbd25dc05774418
parentb1e5a277e83271a1a7d75015eafcb77b0645c3ab (diff)
downloaddefinitions-f7a179bf74ac1f62510c07951a47f8396dff7c25.tar.gz
keystone: Move setup scripts to Ansible.
Now keystone-setup also configures postgres and rabbitmq. This can be split in different setup scripts, but I think that rabbitmq, postgres, are likely to be in the controller node.
-rw-r--r--openstack-keystone.configure80
-rw-r--r--openstack/etc/systemd/system/openstack-keystone-setup.service7
-rw-r--r--openstack/usr/share/openstack/keystone.yml123
-rw-r--r--openstack/usr/share/openstack/openstack-keystone-setup92
-rw-r--r--openstack/usr/share/openstack/openstack-rabbitmq-setup66
-rw-r--r--openstack/usr/share/openstack/postgres-setup42
-rw-r--r--openstack/usr/share/openstack/postgres/pg_hba.conf4
-rw-r--r--openstack/usr/share/openstack/postgres/postgresql.conf11
-rw-r--r--openstack/usr/share/openstack/rabbitmq/rabbitmq-env.conf3
-rw-r--r--openstack/usr/share/openstack/rabbitmq/rabbitmq.config9
10 files changed, 206 insertions, 231 deletions
diff --git a/openstack-keystone.configure b/openstack-keystone.configure
index d2d1171e..c8a7e9ff 100644
--- a/openstack-keystone.configure
+++ b/openstack-keystone.configure
@@ -20,37 +20,61 @@ set -e
ROOT="$1"
##########################################################################
-# Substitutions in configuration files
+
+ln -s "/etc/systemd/system/openstack-keystone-setup.service" \
+ "$ROOT/etc/systemd/system/multi-user.target.wants/openstack-keystone-setup.service"
+
+##########################################################################
+# Check variables
##########################################################################
-cat <<EOF > "$ROOT"/etc/openstack-keystone-setup.sed
-s/##KEYSTONE_TEMPORARY_ADMIN_TOKEN##/$KEYSTONE_TEMPORARY_ADMIN_TOKEN/g
-s/##KEYSTONE_TEMPORARY_ADMIN_PASSWORD##/$KEYSTONE_TEMPORARY_ADMIN_PASSWORD/g
-s/##KEYSTONE_PUBLIC_URL##/$KEYSTONE_PUBLIC_URL/g
-s/##KEYSTONE_INTERNAL_URL##/$KEYSTONE_INTERNAL_URL/g
-s/##KEYSTONE_ADMIN_URL##/$KEYSTONE_ADMIN_URL/g
-s/##OPENSTACK_AUTH_HOST##/$OPENSTACK_AUTH_HOST/g
-s/##OPENSTACK_AUTH_PORT##/$OPENSTACK_AUTH_PORT/g
-s/##IDENTITY_URI##/$IDENTITY_URI/g
-s/##KEYSTONE_DB_USER##/$KEYSTONE_DB_USER/g
-s/##KEYSTONE_DB_PASSWORD##/$KEYSTONE_DB_PASSWORD/g
-EOF
+if [ -z "$KEYSTONE_TEMPORARY_ADMIN_TOKEN" -a \
+ -z "$KEYSTONE_ADMIN_PASSWORD" -a \
+ -z "$KEYSTONE_DB_USER" -a \
+ -z "$KEYSTONE_DB_PASSWORD" -a \
+ -z "$RABBITMQ_HOST" -a \
+ -z "$RABBITMQ_PORT" -a \
+ -z "$RABBITMQ_USER" -a \
+ -z "$RABBITMQ_PASSWORD" -a \
+ -z "$CONTROLLER_HOST_ADDRESS" ]; then
+ # No Keystone options defined, do nothing.
+ exit 0
+fi
-sed -f "$ROOT"/etc/openstack-keystone-setup.sed -i \
- "$ROOT"/etc/keystone/keystone.conf \
- "$ROOT"/etc/glance/glance-api.conf \
- "$ROOT"/etc/glance/glance-registry.conf \
- "$ROOT"/etc/nova/nova.conf \
- "$ROOT"/etc/cinder/cinder.conf \
- "$ROOT"/etc/neutron/neutron.conf \
- "$ROOT"/etc/neutron/metadata_agent.ini \
- "$ROOT"/usr/share/openstack/openstack-keystone-setup \
- "$ROOT"/usr/share/openstack/openstack-glance-setup \
- "$ROOT"/usr/share/openstack/openstack-nova-setup \
- "$ROOT"/usr/share/openstack/openstack-neutron-setup \
- "$ROOT"/usr/share/openstack/openstack-cinder-setup
+if [ -z "$KEYSTONE_TEMPORARY_ADMIN_TOKEN" -o \
+ -z "$KEYSTONE_ADMIN_PASSWORD" -o \
+ -z "$KEYSTONE_DB_USER" -o \
+ -z "$KEYSTONE_DB_PASSWORD" -o \
+ -z "$RABBITMQ_HOST" -o \
+ -z "$RABBITMQ_PORT" -o \
+ -z "$RABBITMQ_USER" -o \
+ -z "$RABBITMQ_PASSWORD" -o \
+ -z "$CONTROLLER_HOST_ADDRESS" ]; then
+ echo Some options required for Keystone were defined, but not all.
+ exit 1
+fi
##########################################################################
+# Generate config variable shell snippet
+##########################################################################
-ln -s "/etc/systemd/system/openstack-keystone-setup.service" \
- "$ROOT/etc/systemd/system/multi-user.target.wants/openstack-keystone-setup.service"
+OPENSTACK_DATA="$ROOT/etc/openstack"
+mkdir -p "$OPENSTACK_DATA"
+
+python <<'EOF' >"$OPENSTACK_DATA/keystone.conf"
+import os, sys, yaml
+
+keystone_configuration={
+ 'KEYSTONE_TEMPORARY_ADMIN_TOKEN': os.environ['KEYSTONE_TEMPORARY_ADMIN_TOKEN'],
+ 'KEYSTONE_ADMIN_PASSWORD': os.environ['KEYSTONE_ADMIN_PASSWORD'],
+ 'KEYSTONE_DB_USER': os.environ['KEYSTONE_DB_USER'],
+ 'KEYSTONE_DB_PASSWORD': os.environ['KEYSTONE_DB_PASSWORD'],
+ 'CONTROLLER_HOST_ADDRESS': os.environ['CONTROLLER_HOST_ADDRESS'],
+ 'RABBITMQ_HOST': os.environ['RABBITMQ_HOST'],
+ 'RABBITMQ_PORT': os.environ['RABBITMQ_PORT'],
+ 'RABBITMQ_USER': os.environ['RABBITMQ_USER'],
+ 'RABBITMQ_PASSWORD': os.environ['RABBITMQ_PASSWORD'],
+}
+
+yaml.dump(keystone_configuration, sys.stdout, default_flow_style=False)
+EOF
diff --git a/openstack/etc/systemd/system/openstack-keystone-setup.service b/openstack/etc/systemd/system/openstack-keystone-setup.service
index fb2793bb..9ea04c1d 100644
--- a/openstack/etc/systemd/system/openstack-keystone-setup.service
+++ b/openstack/etc/systemd/system/openstack-keystone-setup.service
@@ -1,11 +1,12 @@
[Unit]
-Description=Run openstack-keystone-setup (once)
+Description=Run keystone-setup Ansible scripts
After=local-fs.target postgres-server.service
+ConditionPathExists=/etc/openstack/keystone.conf
[Service]
+# Oneshot, since others setup have to wait until this service finishes
Type=oneshot
-ExecStart=/usr/share/openstack/openstack-keystone-setup
-Restart=no
+ExecStart=/usr/bin/ansible-playbook -v -M /usr/share/ansible/ansible-openstack-modules -i /usr/share/openstack/hosts /usr/share/openstack/keystone.yml
[Install]
WantedBy=multi-user.target
diff --git a/openstack/usr/share/openstack/keystone.yml b/openstack/usr/share/openstack/keystone.yml
new file mode 100644
index 00000000..b139b39f
--- /dev/null
+++ b/openstack/usr/share/openstack/keystone.yml
@@ -0,0 +1,123 @@
+---
+- hosts: localhost
+ vars_files:
+ - "/etc/openstack/keystone.conf"
+ tasks:
+
+ # RabbitMQ configuration, this may end up in a different playbook
+ - name: Create rabbitmq user
+ user: name=rabbitmq comment="Rabbitmq server daemon" shell=/sbin/nologin home=/var/lib/rabbitmq
+
+ - name: Create the rabbitmq directories
+ file: path={{ item }} state=directory owner=rabbitmq group=rabbitmq
+ with_items:
+ - /var/run/rabbitmq
+ - /var/log/rabbitmq
+ - /etc/rabbitmq
+
+ - name: Add the configuration needed for rabbitmq in /etc/rabbitmq using templates
+ template: src=/usr/share/openstack/rabbitmq/{{ item }} dest=/etc/rabbitmq/{{ item }} owner=rabbitmq group=rabbitmq mode=0644
+ with_items:
+ - rabbitmq.config
+ - rabbitmq-env.conf
+
+ - name: Enable and start rabbitmq services
+ service: name={{ item }} enabled=yes state=started
+ with_items:
+ - rabbitmq-server
+
+ # Postgres configuration, this may end up in a different playbook
+ - name: Create postgres user
+ user: name=postgres comment="PostgreSQL Server" shell=/sbin/nologin home=/var/lib/pgsql
+
+ - name: Create the postgres directories
+ file: path={{ item }} state=directory owner=postgres group=postgres
+ with_items:
+ - /var/run/postgresql
+ - /var/lib/pgsql/data
+
+ - name: Initialise postgres database
+ shell: pg_ctl -D /var/lib/pgsql/data initdb creates=/var/lib/pgsql/data/base
+ sudo: yes
+ sudo_user: postgres
+
+ - name: Add the configuration needed for postgres for Openstack
+ template: src=/usr/share/openstack/postgres/{{ item }} dest=/var/lib/pgsql/data/{{ item }} owner=postgres group=postgres mode=0600
+ with_items:
+ - postgresql.conf
+ - pg_hba.conf
+
+ - name: Enable and start postgres services
+ service: name={{ item }} enabled=yes state=started
+ with_items:
+ - postgres-server
+
+
+ # Keystone configuration
+ - name: Create the keystone user.
+ user: name=keystone comment="Openstack Keystone Daemons" shell=/sbin/nologin home=/var/lib/keystone
+
+ - name: Create the /var folders for keystone
+ file: path={{ item }} state=directory owner=keystone group=keystone
+ with_items:
+ - /var/run/keystone
+ - /var/lock/keystone
+ - /var/log/keystone
+ - /var/lib/keystone
+
+ - file: path=/etc/keystone state=directory
+ - name: Add the configuration needed for lorry in /etc using templates
+ template: src=/usr/share/openstack/keystone/{{ item }} dest=/etc/keystone/{{ item }}
+ with_lines:
+ - (cd /usr/share/openstack/keystone && find -type f)
+
+ - postgresql_user: name={{ KEYSTONE_DB_USER }} password={{ KEYSTONE_DB_PASSWORD }}
+ sudo: yes
+ sudo_user: keystone
+ - postgresql_db: name=keystone owner={{ KEYSTONE_DB_USER }}
+ sudo: yes
+ sudo_user: keystone
+
+ - keystone_manage: action=dbsync
+ sudo: yes
+ sudo_user: keystone
+
+ - name: Enable and start openstack-keystone service
+ service: name=openstack-keystone.service enabled=yes state=started
+
+ - keystone_user: >
+ tenant=admin
+ tenant_description="Admin Tenant"
+ token={{ KEYSTONE_TEMPORARY_ADMIN_TOKEN }}
+ endpoint=http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
+
+ - keystone_user: >
+ user=admin
+ tenant=admin
+ password={{ KEYSTONE_ADMIN_PASSWORD }}
+ token={{ KEYSTONE_TEMPORARY_ADMIN_TOKEN }}
+ endpoint=http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
+
+ - keystone_user: >
+ role=admin
+ user=admin
+ tenant=admin
+ token={{ KEYSTONE_TEMPORARY_ADMIN_TOKEN }}
+ endpoint=http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
+
+ - keystone_user: >
+ tenant=service
+ tenant_description="Service Tenant"
+ token={{ KEYSTONE_TEMPORARY_ADMIN_TOKEN }}
+ endpoint=http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
+
+ - keystone_service: >
+ name=keystone
+ type=identity
+ description="Keystone Identity Service"
+ publicurl=http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+ internalurl=http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+ adminurl=http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
+ region='regionOne'
+ token={{ KEYSTONE_TEMPORARY_ADMIN_TOKEN }}
+ endpoint=http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
diff --git a/openstack/usr/share/openstack/openstack-keystone-setup b/openstack/usr/share/openstack/openstack-keystone-setup
deleted file mode 100644
index 9c034c5b..00000000
--- a/openstack/usr/share/openstack/openstack-keystone-setup
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014 Codethink Limited
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-set -e
-
-# Create required system users and groups
-
-getent group keystone >/dev/null || groupadd -r --gid 163 keystone
-getent passwd keystone >/dev/null || \
- useradd --uid 163 -r -g keystone -d /var/lib/keystone -s /sbin/nologin \
- -c "OpenStack Keystone Daemons" keystone
-
-# Keystone compute configuration
-if [ ! -d /var/run/keystone ]; then
- mkdir -p /var/run/keystone
- chown -R keystone:keystone /var/run/keystone
-fi
-
-if [ ! -d /var/lock/keystone ]; then
- mkdir -p /var/lock/keystone
- chown -R keystone:keystone /var/lock/keystone
-fi
-
-if [ ! -d /var/log/keystone ]; then
- mkdir -p /var/log/keystone
- chown -R keystone:keystone /var/log/keystone
-fi
-
-# Setup the keystone database
-if ! sudo -u postgres psql -lqt | grep -q keystone; then
- # Create posgreSQL user
- sudo -u postgres createuser \
- --pwprompt --encrypted \
- --no-adduser --no-createdb \
- --no-password \
- ##KEYSTONE_DB_USER##
-
- sudo -u postgres createdb \
- --owner=##KEYSTONE_DB_USER## \
- keystone
-
- sudo -u keystone keystone-manage db_sync
-fi
-
-chown -R keystone:keystone /var/lib/keystone
-
-systemctl start openstack-keystone
-
-export OS_SERVICE_TOKEN=##KEYSTONE_TEMPORARY_ADMIN_TOKEN##
-export OS_SERVICE_ENDPOINT='http://onenode:35357/v2.0'
-
-# This script creates a TEMPORARY admin user, with a password that may
-# float arount on the system. Please delete this user once you have set up
-# the real admin user with a real secure password.
-
-keystone tenant-create --name admin --description "Admin Tenant"
-keystone role-create --name admin
-
-keystone user-create --name temporary_admin --pass ##KEYSTONE_TEMPORARY_ADMIN_PASSWORD##
-keystone user-role-add --tenant admin --user temporary_admin --role admin
-
-keystone tenant-create --name service --description "Service Tenant"
-
-# Define a service for the Identity Service
-keystone service-create --name keystone --type identity --description "Openstack Identity"
-
-# Specify an API endpoint for the Identity Service by using the returned service ID.
-keystone endpoint-create --service-id $(keystone service-list | awk '/ identity / {print $2}') \
- --publicurl ##KEYSTONE_PUBLIC_URL## \
- --internalurl ##KEYSTONE_INTERNAL_URL## \
- --adminurl ##KEYSTONE_ADMIN_URL##
-
-rm /etc/systemd/system/multi-user.target.wants/openstack-keystone-setup.service
-
-ln -s "/etc/systemd/system/openstack-keystone.service" \
- "/etc/systemd/system/multi-user.target.wants/openstack-keystone.service"
-
-exit 0
diff --git a/openstack/usr/share/openstack/openstack-rabbitmq-setup b/openstack/usr/share/openstack/openstack-rabbitmq-setup
deleted file mode 100644
index dd491294..00000000
--- a/openstack/usr/share/openstack/openstack-rabbitmq-setup
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014 Codethink Limited
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-set -e
-
-# Create required system users and groups
-getent group rabbitmq >/dev/null || groupadd -r --gid 1002 rabbitmq
-getent passwd rabbitmq >/dev/null || \
- useradd --uid 1002 -r -g rabbitmq -d /var/lib/rabbitmq -s /sbin/nologin \
- -c "Rabbitmq server daemon" rabbitmq
-
-chown -R rabbitmq:rabbitmq /var/lib/rabbitmq
-
-# Create directories and files needed to run openstack-rabbitmq-server
-if [ ! -d /var/run/rabbitmq ]; then
- mkdir -p /var/run/rabbitmq
- chown -R rabbitmq:rabbitmq /var/run/rabbitmq
- chmod 755 /var/run/rabbitmq
-fi
-
-if [ ! -d /var/log/rabbitmq ]; then
- mkdir -p /var/log/rabbitmq
- chown -R rabbitmq:rabbitmq /var/log/rabbitmq
- chmod 755 /var/log/rabbitmq
-fi
-
-# Install rabbimq.config and rabbitmq-env.conf
-install -D -m 644 /proc/self/fd/0 <<'EOF' /var/lib/rabbitmq/etc/rabbitmq/rabbitmq.config
-%% -*- Rabbit configuration for Openstack in Baserock
-[
- {rabbit,
- [
- {default_user, <<"##RABBITMQ_USER##">>},
- {default_pass, <<"##RABBITMQ_PASSWORD##">>},
- {tcp_listeners, [##RABBITMQ_PORT##]}
- ]}
-].
-EOF
-
-install -D -m 644 /proc/self/fd/0 <<'EOF' /etc/rabbitmq/rabbitmq-env.conf
-# NOTE: Install this file in /etc/rabbitmq/ because rabbitmq-server will load
-# it only from this directory.
-
-# Configure port node where rabbitmq-server will listen from.
-NODE_PORT=##RABBITMQ_PORT##
-# Config file has to be in $RABBITMQ_HOME/etc/rabbitmq/rabbitmq.config
-CONFIG_FILE=/var/lib/rabbitmq/etc/rabbitmq/rabbitmq
-EOF
-
-chown -R rabbitmq:rabbitmq /var/lib/rabbitmq
-
-exit 0
diff --git a/openstack/usr/share/openstack/postgres-setup b/openstack/usr/share/openstack/postgres-setup
deleted file mode 100644
index fb224fd8..00000000
--- a/openstack/usr/share/openstack/postgres-setup
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014 Codethink Limited
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; version 2 of the License.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-set -e
-
-if [ -f /var/openstack/postgres-setup ]; then
- exit 0
-fi
-
-# Create postgres directories
-install -dm700 /var/lib/pgsql/data
-install -dm755 /var/run/postgresql
-
-# Create required system users and groups
-getent group postgress >/dev/null || groupadd -r -g 41 postgres
-getent passwd postgres >/dev/null || \
- useradd --uid 41 -r -g postgres -d /var/lib/pgsql -s /sbin/nologin \
- -c "PostgreSQL Server" postgres
-
-chown -R postgres:postgres /var/lib/pgsql /var/run/postgresql
-
-test -d /var/lib/pgsql/data/base || sudo -u postgres pg_ctl -D /var/lib/pgsql/data initdb
-
-install -D -m 644 /proc/self/fd/0 <<'EOF' /var/openstack/postgres-setup
-Postgres setup: success
-EOF
-
-exit 0
diff --git a/openstack/usr/share/openstack/postgres/pg_hba.conf b/openstack/usr/share/openstack/postgres/pg_hba.conf
new file mode 100644
index 00000000..7daf1b46
--- /dev/null
+++ b/openstack/usr/share/openstack/postgres/pg_hba.conf
@@ -0,0 +1,4 @@
+local all all trust
+host all all 127.0.0.1/32 trust
+host all all ::1/128 trust
+host all all 0.0.0.0/0 trust
diff --git a/openstack/usr/share/openstack/postgres/postgresql.conf b/openstack/usr/share/openstack/postgres/postgresql.conf
new file mode 100644
index 00000000..e4ff9582
--- /dev/null
+++ b/openstack/usr/share/openstack/postgres/postgresql.conf
@@ -0,0 +1,11 @@
+listen_addresses = '0.0.0.0'
+max_connections = 100
+shared_buffers = 128MB
+log_timezone = 'UTC'
+datestyle = 'iso, mdy'
+timezone = 'UTC'
+lc_messages = 'C'
+lc_monetary = 'C'
+lc_numeric = 'C'
+lc_time = 'C'
+default_text_search_config = 'pg_catalog.english'
diff --git a/openstack/usr/share/openstack/rabbitmq/rabbitmq-env.conf b/openstack/usr/share/openstack/rabbitmq/rabbitmq-env.conf
new file mode 100644
index 00000000..d4c58dae
--- /dev/null
+++ b/openstack/usr/share/openstack/rabbitmq/rabbitmq-env.conf
@@ -0,0 +1,3 @@
+# Configure port node where rabbitmq-server will listen from.
+NODE_PORT={{ RABBITMQ_PORT }}
+CONFIG_FILE=/etc/rabbitmq/rabbitmq
diff --git a/openstack/usr/share/openstack/rabbitmq/rabbitmq.config b/openstack/usr/share/openstack/rabbitmq/rabbitmq.config
new file mode 100644
index 00000000..9b93881e
--- /dev/null
+++ b/openstack/usr/share/openstack/rabbitmq/rabbitmq.config
@@ -0,0 +1,9 @@
+%% -*- Rabbit configuration for Openstack in Baserock
+[
+ {rabbit,
+ [
+ {default_user, <<"{{ RABBITMQ_USER }}">>},
+ {default_pass, <<"{{ RABBITMQ_PASSWORD }}">>},
+ {tcp_listeners, [{{ RABBITMQ_PORT }}]}
+ ]}
+].