Skip to content

OCP 4.8 nfs-provisioner permissions applied to wrong name space #247

@dannert

Description

@dannert

Deployed OCP 4.8 on POWER.

Fixed the incorrect Cinder api version from v2 to v3 before deploy to work with PowerVC 2.0.2 - see other open issue.

After deploy NFS provisioning does not work correctly and PV is not automatically created when creating a PVC -->
POD image-registry-xxx fails as PVC is created, but PV is not.

Issue is that permissions are assigned into "default" name space for nfs-provisioner instead of the nfs-provisioner name space.

To manually fix after deploy I ran:
oc adm policy add-scc-to-user hostmount-anyuid system:serviceaccount:nfs-provisioner:nfs-client-provisioner

After that change, PVs are correctly created and bound and the POD image-registry-xxx runs correctly and PV shows up in NFS export directory on bastion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions