Merge "Move MQ vhost/user creation into role (glance)"

This commit is contained in:
Zuul 2018-07-05 19:26:56 +00:00 committed by Gerrit Code Review
commit d0153ce147
3 changed files with 0 additions and 56 deletions

View File

@ -69,7 +69,6 @@ cinder_ceph_client_uuid:
glance_container_mysql_password:
glance_service_password:
glance_profiler_hmac_key:
glance_rabbitmq_password:
glance_oslomsg_rpc_password:
glance_oslomsg_notify_password:

View File

@ -137,30 +137,6 @@ designate_rabbitmq_use_ssl: "{{ oslomsg_rpc_use_ssl }}"
designate_rabbitmq_userid: "{{ designate_oslomsg_rpc_userid }}"
designate_rabbitmq_vhost: "{{ designate_oslomsg_rpc_vhost }}"
## Glance
glance_oslomsg_rpc_userid: glance
glance_oslomsg_rpc_vhost: /glance
glance_oslomsg_rpc_transport: "{{ oslomsg_rpc_transport }}"
glance_oslomsg_rpc_port: "{{ oslomsg_rpc_port }}"
glance_oslomsg_rpc_servers: "{{ oslomsg_rpc_servers }}"
glance_oslomsg_rpc_use_ssl: "{{ oslomsg_rpc_use_ssl }}"
glance_oslomsg_rpc_host_group: "{{ oslomsg_rpc_host_group }}"
glance_oslomsg_notify_userid: glance
glance_oslomsg_notify_vhost: /glance
glance_oslomsg_notify_transport: "{{ oslomsg_notify_transport }}"
glance_oslomsg_notify_port: "{{ oslomsg_notify_port }}"
glance_oslomsg_notify_servers: "{{ oslomsg_notify_servers }}"
glance_oslomsg_notify_use_ssl: "{{ oslomsg_notify_use_ssl }}"
glance_oslomsg_notify_host_group: "{{ oslomsg_notify_host_group }}"
# Shim to remove when wiring is done in ceilometer and glance role
glance_rabbitmq_host_group: "{{ oslomsg_rpc_host_group }}"
glance_rabbitmq_port: "{{ oslomsg_rpc_port }}"
glance_rabbitmq_servers: "{{ oslomsg_rpc_servers }}"
glance_rabbitmq_use_ssl: "{{ oslomsg_rpc_use_ssl }}"
glance_rabbitmq_userid: "{{ glance_oslomsg_rpc_userid }}"
glance_rabbitmq_vhost: "{{ glance_oslomsg_rpc_vhost }}"
## Heat
heat_oslomsg_rpc_userid: heat
heat_oslomsg_rpc_vhost: /heat

View File

@ -13,37 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Prepare MQ services
hosts: glance_all
gather_facts: no
user: root
environment: "{{ deployment_environment_variables | default({}) }}"
tags:
- glance
tasks:
- name: Configure oslo messaging rpc vhost/user
include: common-tasks/oslomsg-rpc-vhost-user.yml
static: no
vars:
rpc_user: "{{ glance_oslomsg_rpc_userid }}"
rpc_password: "{{ glance_oslomsg_rpc_password }}"
rpc_vhost: "{{ glance_oslomsg_rpc_vhost }}"
when:
- groups[glance_oslomsg_rpc_host_group] | length > 0
- name: Configure oslo.messaging notify vhost/user
include: common-tasks/oslomsg-notify-vhost-user.yml
static: no
vars:
notify_user: "{{ glance_oslomsg_notify_userid }}"
notify_password: "{{ glance_oslomsg_notify_password }}"
notify_vhost: "{{ glance_oslomsg_notify_vhost }}"
when:
- glance_ceilometer_enabled | bool
- groups[glance_oslomsg_notify_host_group] | length > 0
- name: Install glance API services
include: common-playbooks/glance.yml
vars: