Controller node wouldn't install libvirt package. The package will only
been installed at nodes which had enable nova-compute.
We only need to configure libvirt secret if it had enable nova-compute.
Change-Id: I9cd6baf1820ce9f71c276d7e8b670307833578a5
Closes-Bug: 1515960
| ... | ... |
@@ -32,7 +32,7 @@ if is_service_enabled ceph; then |
| 32 | 32 |
echo_summary "Configuring Cinder for Ceph" |
| 33 | 33 |
configure_ceph_cinder |
| 34 | 34 |
fi |
| 35 |
- if is_service_enabled cinder || is_service_enabled nova; then |
|
| 35 |
+ if is_service_enabled n-cpu; then |
|
| 36 | 36 |
# NOTE (leseb): the part below is a requirement to attach Ceph block devices |
| 37 | 37 |
echo_summary "Configuring libvirt secret" |
| 38 | 38 |
import_libvirt_secret_ceph |