From e732fff8fd5533eeb0d8b714c53ce6174c215ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Sat, 23 Mar 2019 08:28:44 +0100 Subject: [PATCH] Mount openshift-ansible working dir with 'z' option On RHEL8, deployment fails with a bunch of permission issue while the openshift-ansible container image tries to read files from /var/lib/mistral/openshift/openshift/inventory/. We need to add 'z' option while mounting the /var/lib/mistral/openshift volume. Change-Id: I24067f97eb36e475f873e3a3ea06a488fef95d90 Closes-Bug: #1821437 --- scripts/tripleo-deploy-openshift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tripleo-deploy-openshift b/scripts/tripleo-deploy-openshift index b03ca7956..58c47deab 100755 --- a/scripts/tripleo-deploy-openshift +++ b/scripts/tripleo-deploy-openshift @@ -90,7 +90,7 @@ if [ -z $OPENSHIFT_ANSIBLE_DIR ]; then sudo podman run \ --net=host \ -u `id -u` \ - -v ${CONFIG_DOWNLOAD_DIR}:${CONFIG_DOWNLOAD_DIR} \ + -v ${CONFIG_DOWNLOAD_DIR}:${CONFIG_DOWNLOAD_DIR}:z \ -w ${CONFIG_DOWNLOAD_DIR} \ -e ANSIBLE_HOST_KEY_CHECKING=False \ -e ANSIBLE_CONFIG=${CONFIG_DOWNLOAD_DIR}/ansible.cfg \