UNSOLVED

sundar.rajan

updated

5 years ago

0

1541

April 26th, 2021 04:00

CSI driver for Unity 1.4 with Openshift 4.6

Host : Redhat 7.8 + openshift 4.6
Storage : UnityOS 5.0.3.0.5.014
CSI Driver for Unity Version : CSI Driver for Unity 1.4
Mount protocol : NFS ISCSI

When NFS PVC is created  the export is mountable and read write only by root users 

For non-rootusers to write should customer repermission like create a subfolder and permission so that non-root users can write .

Any knowns issues such as 
When we delete PVC for ISCSI, it will not removed from Unity side 

Pod does not get IP when PVC is created 

sorry for posting my problem here

Are there any professional services that can implement the CSI for openshift for a customer who is a dark site , They cannot send us any logs 

Are there any specific logs that can be collected to troubleshoot the issue .

  • Flo_csI

    2 Intern

    167 Posts

    1231

    0

    Posted April 27th, 2021 08:00

    Hi @rajans ,

    For the iscsi non deleting PVC we will need more details from the logs.

    You can get them with : 

    kubectl get pod -n unity | awk '/unity/ {system("kubectl logs --prefix=true --all-containers -n unity "$1" > /tmp/"$1".log")}'

     

    That's an interesting use case on the NFS you can reach me in PM and share your email address.

    For PS assistance same, please send me a PM message.

  • 1093

    0

    Posted May 3rd, 2021 22:00

    The issue has been resolved 

    customer set the 

    https://docs.openshift.com/enterprise/3.0/architecture/additional_concepts/storage.html

    persistentVolumeReclaimPolicy: Recycle  to  persistentVolumeReclaimPolicy: Retain

    so upon pvc deletion it deletes from the openshift but not from the Unity .

     apiVersion: v1
    kind: PersistentVolume
    metadata:
    name: pv0003
    spec:
    capacity:
    storage: 5Gi
    accessModes:
    - ReadWriteOnce
    persistentVolumeReclaimPolicy: Recycle
    nfs:
    path: /tmp
    server: 172.17.0.2