Closed grgrzybek closed 6 years ago
docker inspect
showed me these mounts:
{
"Source": "/var/lib/origin/openshift.local.volumes/pods/57753e8f-9e9b-11e7-a0c9-525400a13465/volumes/kubernetes.io~configmap/syndesis-keycloak-config/config/standalone.xml",
"Destination": "/opt/jboss/keycloak/standalone/configuration/standalone.xml",
"Mode": "Z",
"RW": true,
"Propagation": "rprivate"
},
{
"Source": "/var/lib/origin/openshift.local.volumes/pods/57753e8f-9e9b-11e7-a0c9-525400a13465/volumes/kubernetes.io~configmap/syndesis-keycloak-config/config/syndesis-realm.json",
"Destination": "/opt/jboss/keycloak/standalone/configuration/syndesis-realm.json",
"Mode": "Z",
"RW": true,
"Propagation": "rprivate"
},
and I could see proper host versions of the mounted files.
Its an issue with Docker and symbolic links into volumes when using subpath
mounts. Forgot the link to the issue, but @jimmidyson knows.
As a workaround we are going to copy the mounted files into place with an init container soon.
Thanks for info. The strange thing is that it worked on minishift machine - probably different docker version. On RHEL 7.4 I have docker 1.12.6.
It works for me on minishift, too.
Ah, found the bug again --> https://bugzilla.redhat.com/show_bug.cgi?id=1481617
When running https://syndesis.io/quickstart/ on Openshift 3.6.0 cluster created using
oc cluster up
, I had problems with keycloak pod. In the logs I see:digging into container I see:
That's my first time with syndesis/opensfhit, so forgive my lack of knowledge about what should I check first...