rabbit: move devstack to use in-cluster rabbit
This patch updates devstack to use the in-cluster RabbitMQ. Change-Id: If1970b443fba49d977b8ca52f74a3fbe1b1b1922
This commit is contained in:
parent
4bf3b56855
commit
180fd40b64
@ -9,7 +9,7 @@ apiVersion: v1
|
|||||||
metadata:
|
metadata:
|
||||||
name: rabbitmq-sample
|
name: rabbitmq-sample
|
||||||
namespace: default
|
namespace: default
|
||||||
data:
|
stringData:
|
||||||
password: Y0dGemMzZHZjbVE9
|
username: stackrabbit
|
||||||
username: ZFhObGNnPT0=
|
password: secretrabbit
|
||||||
kind: Secret
|
kind: Secret
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
- name: Get Memcached IP address
|
- name: Get Memcached IP address
|
||||||
command: kubectl get svc/mcrouter-memcached-sample -o=jsonpath='{.spec.clusterIP}'
|
command: kubectl get svc/mcrouter-memcached-sample -o=jsonpath='{.spec.clusterIP}'
|
||||||
register: _memcached_ip
|
register: _memcached_ip
|
||||||
|
- name: Get RabbitMQ IP address
|
||||||
|
command: kubectl get svc/rabbitmq-sample -o=jsonpath='{.spec.clusterIP}'
|
||||||
|
register: _rabbitmq_ip
|
||||||
# NOTE(mnaser): We need to rewrite the devstack local.conf because it happens
|
# NOTE(mnaser): We need to rewrite the devstack local.conf because it happens
|
||||||
# inside pre.yaml right now. This should all be gone once the
|
# inside pre.yaml right now. This should all be gone once the
|
||||||
# operator can deploy OpenStack entirely by itself.
|
# operator can deploy OpenStack entirely by itself.
|
||||||
@ -28,7 +31,9 @@
|
|||||||
set_fact:
|
set_fact:
|
||||||
_devstack_localrc: "{{ devstack_localrc }}"
|
_devstack_localrc: "{{ devstack_localrc }}"
|
||||||
_devstack_localrc_extra:
|
_devstack_localrc_extra:
|
||||||
|
CELLSV2_SETUP: singleconductor
|
||||||
MEMCACHE_SERVERS: "{{ _memcached_ip.stdout }}:11211"
|
MEMCACHE_SERVERS: "{{ _memcached_ip.stdout }}:11211"
|
||||||
|
RABBIT_HOST: "{{ _rabbitmq_ip.stdout }}"
|
||||||
- name: Re-write local.conf
|
- name: Re-write local.conf
|
||||||
include_role:
|
include_role:
|
||||||
name: write-devstack-local-conf
|
name: write-devstack-local-conf
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
vars:
|
vars:
|
||||||
devstack_services:
|
devstack_services:
|
||||||
etcd3: false
|
etcd3: false
|
||||||
|
rabbit: false
|
||||||
docker_use_buildset_registry: true
|
docker_use_buildset_registry: true
|
||||||
minikube_dns_resolvers: [1.1.1.1, 8.8.8.8]
|
minikube_dns_resolvers: [1.1.1.1, 8.8.8.8]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user