summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-01-25 13:16:41 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2018-01-25 13:17:42 +0100
commit63cf5012085994a542ca85b4208f05c955a03aab (patch)
tree7239a0d529da17645b520051d73a18f2798c36ff
parent9a58d1001f85195609e0297015a6461f2bc78ece (diff)
downloadopenshift-63cf5012085994a542ca85b4208f05c955a03aab.tar.gz
openshift-63cf5012085994a542ca85b4208f05c955a03aab.tar.bz2
openshift-63cf5012085994a542ca85b4208f05c955a03aab.tar.xz
openshift-63cf5012085994a542ca85b4208f05c955a03aab.zip
node: specify bind option to /root/.docker
Without the option, runc fails with "no such device" when trying to create the mount point. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1534933 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
-rw-r--r--roles/openshift_node/defaults/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_node/defaults/main.yml b/roles/openshift_node/defaults/main.yml
index 5864d3c03..0fe4c2035 100644
--- a/roles/openshift_node/defaults/main.yml
+++ b/roles/openshift_node/defaults/main.yml
@@ -83,6 +83,7 @@ openshift_node_syscon_auth_mounts_l:
destination: "/root/.docker"
options:
- ro
+ - bind
# If we need to add new mounts in the future, or the user wants to mount data.
# This should be in the same format as auth_mounts_l above.