Merge "Move ceph client role to playbooks for faster run time"

This commit is contained in:
Jenkins 2017-03-01 13:04:51 +00:00 committed by Gerrit Code Review
commit 42ea34774c
4 changed files with 16 additions and 3 deletions

View File

@ -103,6 +103,9 @@
- role: "ceph_client"
openstack_service_system_user: "{{ cinder_system_user_name }}"
openstack_service_venv_bin: "{{ cinder_bin }}"
when:
- inventory_hostname in groups['cinder_volume']
- cinder_backend_rbd_inuse | default(false) | bool
tags:
- ceph
- role: "rsyslog_client"

View File

@ -70,14 +70,17 @@
- include: common-tasks/package-cache-proxy.yml
roles:
- role: "os_glance"
- role: "openstack_openrc"
tags:
- openrc
- role: "ceph_client"
openstack_service_system_user: "{{ glance_system_user_name }}"
openstack_service_venv_bin: "{{ glance_bin }}"
when:
- inventory_hostname in groups['glance_api']
- (glance_default_store | default('none') | lower == 'rbd')
tags:
- ceph
- role: "openstack_openrc"
tags:
- openrc
- role: "rsyslog_client"
rsyslog_client_log_rotate_file: glance_log_rotate
rsyslog_client_log_dir: "/var/log/glance"

View File

@ -46,6 +46,9 @@
- role: "ceph_client"
openstack_service_system_user: "{{ gnocchi_system_user_name }}"
openstack_service_venv_bin: ""
when:
- inventory_hostname in groups['gnocchi_api']
- (gnocchi_storage_driver | default('none') | lower == 'ceph')
tags:
- ceph
- role: "os_gnocchi"

View File

@ -147,6 +147,10 @@
- role: "ceph_client"
openstack_service_system_user: "{{ nova_system_user_name }}"
openstack_service_venv_bin: "{{ nova_bin }}"
when:
- inventory_hostname in groups['nova_compute']
- nova_libvirt_images_rbd_pool is defined or
cinder_backends_rbd_inuse | default(false) | bool
tags:
- ceph
- role: "openstack_openrc"