Make sure libvirtd is started.
On CentOS services are not started on installation, this start libvirtd to make sure virsh can list key when installing. Change-Id: I1e798930597c2a1c8d1873ea902eb0ea0843c338
This commit is contained in:
parent
9d37f4990c
commit
a118ff0d89
|
@ -78,8 +78,13 @@
|
|||
notify:
|
||||
- Restart os services
|
||||
|
||||
## Ceph nova client libvirt secret
|
||||
- name: Make sure libvirt is started
|
||||
service:
|
||||
name: "{{ libvirt_service_name }}"
|
||||
state: "started"
|
||||
when: inventory_hostname in groups.nova_compute
|
||||
|
||||
## Ceph nova client libvirt secret
|
||||
- name: Retrieve nova secret from cephcluster
|
||||
command: ceph auth get-key client.{{ nova_ceph_client }}
|
||||
when:
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
ceph_gpg_keys: 'https://download.ceph.com/keys/release.asc'
|
||||
|
||||
libvirt_package: libvirt-daemon-kvm
|
||||
libvirt_service_name: libvirtd
|
||||
|
||||
ceph_repo_url_region: "download" # see here for other mirros http://docs.ceph.com/docs/master/install/mirrors/
|
||||
ceph_yum_repo_url: "https://{{ ceph_repo_url_region }}.ceph.com/rpm-{{ ceph_stable_release }}/el7"
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ ceph_apt_repo_url: "http://{{ ceph_apt_repo_url_region }}.ceph.com/debian-{{ cep
|
|||
uca_openstack_release: ocata
|
||||
uca_repo_dist: "{{ ansible_lsb.codename }}-updates/{{ uca_openstack_release }}"
|
||||
libvirt_package: libvirt-bin
|
||||
libvirt_service_name: libvirt-bin
|
||||
|
||||
# Apt repositories
|
||||
ceph_apt_repos:
|
||||
|
|
Loading…
Reference in New Issue