Libvirtd deamon does not start after compute reboot
Libvirtd deamon does not start after compute reboot due bad
libvirt-bin upstart definition
Change-Id: I1ef3a7f34262c564627762172ae12a93ff11f71e
Closes-bug: PROD-8661
diff --git a/nova/compute.sls b/nova/compute.sls
index 908ec3b..505587e 100644
--- a/nova/compute.sls
+++ b/nova/compute.sls
@@ -190,6 +190,13 @@
- watch:
- file: /etc/libvirt/{{ compute.libvirt_config }}
+{%- if grains.get('init', None) == "upstart" %}
+# MOS9 libvirt fix for upstart
+/etc/init/libvirtd.override:
+ file.managed:
+ - contents: 'start on runlevel [2345]'
+{%- endif %}
+
{%- endif %}
{%- endif %}