Add cinder-tmp to c-vol (#1330)
When using other backends like purestorage and users wants to create volume that are not raw, we need to have cinder-tmp dir inside the c-vol container to be able to perform the image copy and conversion.
Reviewed-by: Mohammed Naser <mnaser@vexxhost.com>
Reviewed-by: Giovanni Tirloni
Reviewed-by: Guilherme Steinmüller <gsteinmuller@vexxhost.com>
diff --git a/roles/cinder/vars/main.yml b/roles/cinder/vars/main.yml
index eee67ed..dc9aa4d 100644
--- a/roles/cinder/vars/main.yml
+++ b/roles/cinder/vars/main.yml
@@ -20,6 +20,15 @@
replicas:
api: 3
scheduler: 3
+ mounts:
+ cinder_volume:
+ cinder_volume:
+ volumeMounts:
+ - name: cinder-tmp
+ mountPath: /var/lib/cinder/tmp
+ volumes:
+ - name: cinder-tmp
+ emptyDir: {}
conf:
policy: {}
cinder: