Merge "Swift auth url should use a suffix"
[apex-tripleo-heat-templates.git] / docker / services / nova-compute.yaml
index 7fc00b4..957eed7 100644 (file)
@@ -83,6 +83,15 @@ outputs:
               - /lib/modules:/lib/modules:ro
               - /run:/run
               - /var/lib/nova:/var/lib/nova
-              - libvirtd:/var/lib/libvirt
+              - /var/lib/libvirt:/var/lib/libvirt
             environment:
              - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+      host_prep_tasks:
+        - name: create /var/lib/libvirt
+          file:
+            path: /var/lib/libvirt
+            state: directory
+      upgrade_tasks:
+        - name: Stop and disable nova-compute service
+          tags: step2
+          service: name=nova-compute state=stopped enabled=no