Restart nova-compute on libvirt-bin restarts
Due to the fact that nova fails to start when libvirtd isn't listening,
we need to set dependenices properly.
Change-Id: I00a2c5b09b4c1116cc98dd8284b081c0fae57f8c
Related-Prod: https://mirantis.jira.com/browse/PROD-25253
diff --git a/nova/compute.sls b/nova/compute.sls
index b7a2131..358ff41 100644
--- a/nova/compute.sls
+++ b/nova/compute.sls
@@ -545,6 +545,8 @@
- require:
- pkg: nova_compute_packages
- cmd: virsh net-undefine default
+ - watch_in:
+ - service: nova_compute_services
- watch:
- file: /etc/libvirt/{{ compute.libvirt_config }}
- file: /etc/libvirt/qemu.conf