PowerFlex 4.0: NFS- ja HTTP-podi juuttunut odottavaan tilaan
Summary: PowerFlex Manager -version 4.0.2 mukaan sekä nfs-server-0- että http-share-0-podit ovat jumissa odottavassa tilassa.
Symptoms
1. PowerFlex Manager -version 4.0.2 sekä NFS- että HTTP-jako näkyy odottavana

2. Kubectl describe pod http-share-0 -n PowerFlex show pod ei ole sidottu PVC:hen.

Viesti kuvauskomennosta.
0/3 nodes are available: 3 pod has unbound immediate PersistentVolumeClaims. preemption: 0/3 nodes are available: 3 preemption is not helpful for scheduling
Viesti PFxM-käyttöliittymästä
RCM files unavailable at the httpshare location

3. Kubectl get pvc -n PowerFlex näyttää sekä nfs-volume-nfs-server-0 että wwwdata-volume-http-share-0 odottavina

Cause
Ongelma on siinä, että Storageclass on määritetty manuaaliseksi sekä NFS- että HTTP-jaolle PVC:ssä.

Resolution
1. Hae yaml-tiedoston tulos ja tallenna tiedostot.
kubectl get pvc wwwdata-volume-http-share-0 -n powerflex -o yaml > wwwdata-volume-http-share-0.yaml
kubectl get pvc nfs-volume-nfs-server-0 -n powerflex -o yaml > nfs-volume-nfs-server-0.yaml

2. Avaa tiedostot vi-editorissa ja muuta storageClassNamemanuaalisestalocal-path-tiedostolle wwwdata-volume-http-share-0.yaml ja nfs-volume-nfs-server-0.yaml

3. Tarkista muutokset komennolla cat .

4. Poista nykyinen pvc suorittamalla komento.
kubectl delete pvc -n powerflex wwwdata-volume-http-share-0
kubectl delete pvc -n powerflex nfs-volume-nfs-server-0


5. Ota tiedostosta tehdyt muutokset käyttöön.
kubectl apply -f wwwdata-volume-http-share-0.yaml
kubectl apply -f nfs-volume-nfs-server-0.yaml


6. Tarkista molempien podien tila uudelleen. Saattaa kestää pari minuuttia, ennen kuin se näkyy Odottaa-tilasta käynnissä olevaan.

Additional Information
kubectl rollout status sts -n powerflex tai kubectl rollout status deploy -n powerflex Ei myöskään näy vastausta/tyhjää tulosta, kun molemmat podit ovat Odottaa-tilassa.