jupyterhub / helm-chart

A store of Helm chart tarballs for deploying JupyterHub and BinderHub on a Kubernetes cluster
https://jupyterhub.github.io/helm-chart/
184 stars 71 forks source link

error processing PVC "default"/"hub-db-dir": PVC default/hub-db-dir has non-bound phase ("Pending") or empty pvc.Spec.VolumeName ("") #91

Closed nellaivijay closed 6 years ago

nellaivijay commented 6 years ago

After install and starting the JupyterHub thru helm, getting the PVC default/hub-db-dir has non-bound phase. Issue. Do i need to specify the volume name duration of the helm instllation.

[root@bdl4node01 ~]# kubectl get pv
NAME             CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS    CLAIM                   STORAGECLASS   REASON    AGE
task-pv-volume   10Gi       RWO            Retain           Bound     default/task-pv-claim   manual                   9m
[root@bdl4node01 ~]# kubectl get pvc
NAME            STATUS    VOLUME           CAPACITY   ACCESS MODES   STORAGECLASS   AGE
hub-db-dir      Pending                                                             4m
task-pv-claim   Bound     task-pv-volume   10Gi       RWO            manual         9m
[root@bdl4node01 ~]#

 Dec 29 15:20:53 bdl4node02 kubelet[30986]: E1229 15:20:53.483866   30986 desired_state_of_world_populator.go:273] Error processing volume "hub-db-dir" for pod "hub-8559cdb4bf-78zcs_default(633c25d7-ecd5-11e7-a886-0050569cdc28)": error processing PVC "default"/"hub-db-dir": PVC default/hub-db-dir has non-bound phase ("Pending") or empty pvc.Spec.VolumeName ("")
yuvipanda commented 6 years ago

heya! can you run a 'kubectl describe pvc' and tell us the output? Where is this kubernetes cluster running?

On Fri, Dec 29, 2017 at 12:26 PM, Vijayakumar Ramdoss < notifications@github.com> wrote:

After install and starting the JupyterHub thru helm, getting the PVC default/hub-db-dir has non-bound phase. Issue. Do i need to specify the volume name duration of the helm instllation.

[root@bdl4node01 ~]# kubectl get pv NAME CAPACITY ACCESS MODES RECLAIM POLICY STATUS CLAIM STORAGECLASS REASON AGE task-pv-volume 10Gi RWO Retain Bound default/task-pv-claim manual 9m [root@bdl4node01 ~]# kubectl get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE hub-db-dir Pending 4m task-pv-claim Bound task-pv-volume 10Gi RWO manual 9m [root@bdl4node01 ~]#

Dec 29 15:20:53 bdl4node02 kubelet[30986]: E1229 15:20:53.483866 30986 desired_state_of_world_populator.go:273] Error processing volume "hub-db-dir" for pod "hub-8559cdb4bf-78zcs_default( 633c25d7-ecd5-11e7-a886-0050569cdc28)": error processing PVC "default"/"hub-db-dir": PVC default/hub-db-dir has non-bound phase ("Pending") or empty pvc.Spec.VolumeName ("")

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jupyterhub/helm-chart/issues/91, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB23kgqu1rGr2gIV9qA3GMvwsmjII25ks5tFUr_gaJpZM4RPXjz .

-- Yuvi Panda T http://yuvi.in/blog

willingc commented 6 years ago

Hi @nellaivijay, Is this still something that is still an issue? Thanks

willingc commented 6 years ago

Closing. Feel free to leave a message if you still need assistance @nellaivijay.

wangxiaoxiao88 commented 6 years ago

@yuvipanda i met same problem。this is my 'kubectl describe pvc' output

Name: hub-db-dir Namespace: jhub StorageClass: Status: Pending Volume: Labels: app=jupyterhub chart=jupyterhub-0.7.0 component=hub heritage=Tiller release=jhub Annotations: Finalizers: [kubernetes.io/pvc-protection] Capacity: Access Modes: Events: Type Reason Age From Message


Normal FailedBinding 12s (x9 over 1m) persistentvolume-controller no persistent volumes available for this claim and no storage class is set

my kubernetes cluster is running Aliyun Cloud