Skip to content

Instantly share code, notes, and snippets.

@satyamz
Created October 10, 2017 14:59
Show Gist options
  • Save satyamz/98737e982eba1230aae8a534d0b71573 to your computer and use it in GitHub Desktop.
Save satyamz/98737e982eba1230aae8a534d0b71573 to your computer and use it in GitHub Desktop.

ubuntu@kubemaster-01:$ kubectl get pods NAME READY STATUS RESTARTS AGE maya-apiserver-3416621614-qm09x 1/1 Running 0 1h node-exporter-934fl 1/1 Running 0 8h node-exporter-k1jth 1/1 Running 1 8h node-exporter-sr3bh 1/1 Running 1 8h openebs-provisioner-4230626287-gt29w 1/1 Running 3 1h percona 0/1 ContainerCreating 0 1h prometheus-deployment-2597070772-7sh3r 1/1 Running 1 8h pvc-36ada529-adcb-11e7-95b9-021c6f7dbe9d-ctrl-2617481313-c6m23 1/1 Running 0 1m pvc-36ada529-adcb-11e7-95b9-021c6f7dbe9d-rep-2899545413-h0jpd 0/1 Pending 0 1m pvc-36ada529-adcb-11e7-95b9-021c6f7dbe9d-rep-2899545413-nbfd3 1/1 Running 0 1m pvc-49631c2e-adc1-11e7-95b9-021c6f7dbe9d-ctrl-1102258111-6j0ln 1/1 Running 0 1h pvc-49631c2e-adc1-11e7-95b9-021c6f7dbe9d-rep-2468377660-4fp6m 0/1 ContainerCreating 0 1h pvc-49631c2e-adc1-11e7-95b9-021c6f7dbe9d-rep-2468377660-k7km5 1/1 Running 0 1h pvc-70644e7c-adcb-11e7-95b9-021c6f7dbe9d-ctrl-2912351896-chbnx 1/1 Running 0 12s pvc-70644e7c-adcb-11e7-95b9-021c6f7dbe9d-rep-272042747-885dj 1/1 Running 0 12s pvc-70644e7c-adcb-11e7-95b9-021c6f7dbe9d-rep-272042747-jjh6q 0/1 Pending 0 12s ubuntu@kubemaster-01:$ kubectl describe pods percona Name: percona Namespace: default Node: kubeminion-01/172.28.128.4 Start Time: Tue, 10 Oct 2017 13:45:32 +0000 Labels: name=percona Annotations: Status: Pending IP: Containers: percona: Container ID: Image: percona Image ID: Port: 3306/TCP Args: --ignore-db-dir lost+found State: Waiting Reason: ContainerCreating Ready: False Restart Count: 0 Limits: cpu: 500m Requests: cpu: 500m Environment: MYSQL_ROOT_PASSWORD: k8sDem0 Mounts: /var/lib/mysql from demo-vol1 (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-dt11c (ro) Conditions: Type Status Initialized True Ready False PodScheduled True Volumes: demo-vol1: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: demo-vol1-claim ReadOnly: false default-token-dt11c: Type: Secret (a volume populated by a Secret) SecretName: default-token-dt11c Optional: false QoS Class: Burstable Node-Selectors: Tolerations: node.alpha.kubernetes.io/notReady:NoExecute for 300s node.alpha.kubernetes.io/unreachable:NoExecute for 300s Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message


33m 33m 1 kubelet, kubeminion-01 Warning FailedMount MountVolume.SetUp failed for volume "pvc-49631c2e-adc1-11e7-95b9-021c6f7dbe9d" : failed to get any path for iscsi disk, last err seen: iscsi: failed to sendtargets to portal 10.96.5.236:3260 output: iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Login response timeout. Waited 30 seconds and did not get reponse PDU.

iscsiadm: discovery login to 10.96.5.236 failed, giving up 2 iscsiadm: Could not perform SendTargets discovery: encountered non-retryable iSCSI login failure , err exit status 19 10m 10m 1 kubelet, kubeminion-01 Warning FailedMount MountVolume.SetUp failed for volume "pvc-49631c2e-adc1-11e7-95b9-021c6f7dbe9d" : failed to get any path for iscsi disk, last err seen: iscsi: failed to sendtargets to portal 10.96.5.236:3260 output: iscsiadm: Login response timeout. Waited 30 seconds and did not get reponse PDU.

iscsiadm: discovery login to 10.96.5.236 failed, giving up 2 iscsiadm: Could not perform SendTargets discovery: encountered non-retryable iSCSI login failure , err exit status 19 1h 1m 30 kubelet, kubeminion-01 Warning FailedMount MountVolume.SetUp failed for volume "pvc-49631c2e-adc1-11e7-95b9-021c6f7dbe9d" : failed to get any path for iscsi disk, last err seen: iscsi: failed to sendtargets to portal 10.96.5.236:3260 output: iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: Connection to Discovery Address 10.96.5.236 failed iscsiadm: Login I/O error, failed to receive a PDU iscsiadm: retrying discovery login to 10.96.5.236 iscsiadm: connection login retries (reopen_max) 5 exceeded iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure , err exit status 5 1h 24s 31 kubelet, kubeminion-01 Warning FailedMount Unable to mount volumes for pod "percona_default(4954d593-adc1-11e7-95b9-021c6f7dbe9d)": timeout expired waiting for volumes to attach/mount for pod "default"/"percona". list of unattached/unmounted volumes=[demo-vol1] 1h 23s 31 kubelet, kubeminion-01 Warning FailedSync Error syncing pod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment