Add support for the Ceph storage driver in Gnocchi
We call ceph_client before calling the os_gnocchi role. This ordering is important because Gnocchi needs Ceph access to be ready to go when it runs its DB sync task. We pass an empty string to `openstack_service_venv_bin`. This is done because the venv would not exist yet when the ceph_client role runs. Symlinks for the Ceph Python libraries are created by the os_gnocchi role itself. Change-Id: Ia66c53f7ab6bb242b5aab1c5d01b96ca2fd7df97
This commit is contained in:
parent
8255414408
commit
56b87ea067
@ -40,6 +40,12 @@
|
||||
when: inventory_hostname == groups['gnocchi_all'][0]
|
||||
- include: common-tasks/package-cache-proxy.yml
|
||||
roles:
|
||||
- role: "ceph_client"
|
||||
gnocchi_venv_bin: "/openstack/venvs/gnocchi-{{ openstack_release }}/bin"
|
||||
openstack_service_system_user: "{{ gnocchi_system_user_name }}"
|
||||
openstack_service_venv_bin: ""
|
||||
tags:
|
||||
- ceph
|
||||
- role: "os_gnocchi"
|
||||
gnocchi_venv_tag: "{{ openstack_release }}"
|
||||
gnocchi_venv_download_url: "{{ openstack_repo_url }}/venvs/{{ openstack_release }}/{{ ansible_distribution | lower }}/gnocchi-{{ openstack_release }}-{{ ansible_architecture | lower }}.tgz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user