Browse Source

Merge "Revert "Revert "Create missing directories before mounting them""" into stable/rocky

tags/9.4.1
Zuul 1 month ago
parent
commit
cc26d47fae

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

@@ -231,6 +231,10 @@ outputs:
231 231
             file:
232 232
               path: /etc/ceph
233 233
               state: directory
234
+          - name: ensure /var/lib/glance exists
235
+            file:
236
+              path: /var/lib/glance
237
+              state: directory
234 238
       upgrade_tasks:
235 239
         - when: step|int == 0
236 240
           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

@@ -166,7 +166,11 @@ outputs:
166 166
             environment:
167 167
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
168 168
       host_prep_tasks:
169
-        - name: create persistent directories
169
+        - name: create /var/lib/mistral directory
170
+          file:
171
+            path: /var/lib/mistral
172
+            state: directory
173
+        - name: create persistent logs directory
170 174
           file:
171 175
             path: "{{ item.path }}"
172 176
             state: directory

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

@@ -472,6 +472,7 @@ outputs:
472 472
             state: directory
473 473
           with_items:
474 474
             - /srv/node
475
+            - /var/cache/swift
475 476
             - /var/log/swift
476 477
             - /var/log/containers
477 478
             - /var/log/containers/swift

Loading…
Cancel
Save