Closed
Description
What happened:
Pods are stuck at Init or ContainerCreating Phase
NAME READY STATUS RESTARTS AGE
jenkins-85cc78bbc6-xckkg 0/1 Init:0/1 0 11m
jenkins-x-chartmuseum-55c9598b56-gdlwt 1/1 Running 0 1h
jenkins-x-docker-registry-7b56b4f555-l6hcw 0/1 ContainerCreating 0 1h
jenkins-x-heapster-65fd697bb-g5g6n 2/2 Running 0 1h
jenkins-x-mongodb-68bfcdf8fc-vrms9 0/1 ContainerCreating 0 1h
jenkins-x-monocular-api-8bdb8d985-ndggq 0/1 CrashLoopBackOff 24 1h
jenkins-x-monocular-prerender-5848c74fdc-58ptl 1/1 Running 0 1h
jenkins-x-monocular-ui-55545676cd-vflh5 1/1 Running 0 1h
jenkins-x-nexus-8655db64f7-jzbnq 0/1 ContainerCreating 0 1h
pipelinecontroller-6b5b8d9f47-qkh2p 1/1 Running 0 1h
What you expected to happen: Pods should be up and running
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 7m default-scheduler Successfully assigned jx/jenkins-85cc78bbc6-xckkg to aks-agentpool-33355906-0
Warning FailedMount 1m (x3 over 5m) kubelet, aks-agentpool-33355906-0 Unable to mount volumes for pod "jenkins-85cc78bbc6-xckkg_jx(2db2ef1f-a54f-11e8-8bc7-eafd0b6a09c8)": timeout expired waiting for volumes to attach or mount for pod "jx"/"jenkins-85cc78bbc6-xckkg". list of unmounted volumes=[jenkins-home]. list of unattached volumes=[jenkins-config plugin-dir secrets-dir jenkins-home jenkins-token-cv7x4]
Warning FailedAttachVolume 19s (x4 over 6m) attachdetach-controller AttachVolume.Attach failed for volume "pvc-ac267c27-a541-11e8-8bc7-eafd0b6a09c8" : Attach volume "kubernetes-dynamic-pvc-ac267c27-a541-11e8-8bc7-eafd0b6a09c8" to instance "/subscriptions/c882f830-d9b7-4d5f-bffd-acc5670ba585/resourceGroups/MC_kookoo_*****_westeurope/providers/Microsoft.Compute/virtualMachines/aks-agentpool-33355906-0" failed with compute.VirtualMachinesClient#CreateOrUpdate: Failure sending request: StatusCode=409 -- Original Error: failed request: autorest/azure: Service returned an error. Status=<nil> Code="AttachDiskWhileBeingDetached" Message="Cannot attach data disk 'kubernetes-dynamic-pvc-9291b057-a52d-11e8-8bc7-eafd0b6a09c8' to VM 'aks-agentpool-33355906-0' because the disk is currently being detached or the last detach operation failed. Please wait until the disk is completely detached and then try again or delete/detach the disk explicitly again." Target="dataDisks"
Location: West europe
kubectl describe pvc jenkins
Name: jenkins
Namespace: jx
StorageClass: default
Status: Bound
Volume: pvc-ac267c27-a541-11e8-8bc7-eafd0b6a09c8
Labels: app=jenkins
chart=jenkins-0.10.29
heritage=Tiller
release=jenkins-x
Annotations: pv.kubernetes.io/bind-completed=yes
pv.kubernetes.io/bound-by-controller=yes
volume.beta.kubernetes.io/storage-provisioner=kubernetes.io/azure-disk
Finalizers: [kubernetes.io/pvc-protection]
Capacity: 30Gi
Access Modes: RWO
Events: <none>
Metadata
Assignees
Labels
No labels
Activity