Description of problem:
Version-Release number of selected component (if applicable): Openshift 3.7.0, 3.8.0 and 3.9.0
Steps to Reproduce:
1. Deploy Openshift 3.9 (Keep --selinux-enabled in docker startup arguments)
2. Deploy Portworx (https://docs.portworx.com/scheduler/kubernetes/openshift-install.html). Add env variable: ENABLE_SHARED_AND_SHARED_v4: true in the daemonset.
3. Create a shared PX PVC and get a pod to use it (https://docs.portworx.com/scheduler/kubernetes/shared-volumes.html). In the StorageClass, use "sharedv4: true".
On all but 1 pods, they volume is mounted at tmpfs. This is because Portworx sharedv4 volumes are based off NFS which doesn't support selinux.
All pods should have the PVC mounted as a PX volume instead of tmpfs.
Node Log (of failed PODs):
StorageClass Dump (if StorageClass used by PV/PVC):
Just start any deployment greater than or equal to replica 2 using above PVC.
Portworx has issued to fix to Kubernetes to fix this. Openshift needs to take in these fixes.
This bug is to track when the above PR's get merged into an Openshift release.
3.10 https://github.com/openshift/origin/pull/21212 and 3.11 https://github.com/openshift/origin/pull/21213 merged but 3.7 https://github.com/openshift/ose/pull/1433 and 3.9 https://github.com/openshift/ose/pull/1435 need merging
Checked on below version:
This PR has already merged to latest 3.9 package.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.