Browse Source

Merge "Create missing directories before mounting them" into stable/queens

tags/8.4.1
Zuul 1 month ago
parent
commit
2769f80fa0

+ 4
- 0
docker/services/glance-api.yaml View File

@@ -251,6 +251,10 @@ outputs:
251 251
             file:
252 252
               path: /etc/ceph
253 253
               state: directory
254
+          - name: ensure /var/lib/glance exists
255
+            file:
256
+              path: /var/lib/glance
257
+              state: directory
254 258
       upgrade_tasks:
255 259
         - when: step|int == 0
256 260
           tags: common

+ 4
- 0
docker/services/iscsid.yaml View File

@@ -106,6 +106,10 @@ outputs:
106 106
             environment:
107 107
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
108 108
       host_prep_tasks:
109
+        - name: ensure /etc/iscsi exists
110
+          file:
111
+            path: /etc/iscsi
112
+            state: directory
109 113
         - name: stat /lib/systemd/system/iscsid.socket
110 114
           stat: path=/lib/systemd/system/iscsid.socket
111 115
           register: stat_iscsid_socket

+ 5
- 1
docker/services/mistral-executor.yaml View File

@@ -124,7 +124,11 @@ outputs:
124 124
             environment:
125 125
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
126 126
       host_prep_tasks:
127
-        - name: create persistent directories
127
+        - name: create /var/lib/mistral directory
128
+          file:
129
+            path: /var/lib/mistral
130
+            state: directory
131
+        - name: create persistent logs directory
128 132
           file:
129 133
             path: "{{ item.path }}"
130 134
             state: directory

+ 1
- 0
docker/services/swift-storage.yaml View File

@@ -446,6 +446,7 @@ outputs:
446 446
             state: directory
447 447
           with_items:
448 448
             - /srv/node
449
+            - /var/cache/swift
449 450
             - /var/log/swift
450 451
             - /var/log/containers
451 452
         - name: Set swift_use_local_disks fact

Loading…
Cancel
Save