Name: jenkins-x-nexus-57c8447c4-jhd2p Namespace: nos Priority: 0 PriorityClassName: Node: gke-jx-prod-pool-2-a6313578-k6sj/10.142.0.57 Start Time: Fri, 15 Nov 2019 10:08:27 +0100 Labels: app=nexus pod-template-hash=57c8447c4 release=jenkins-x Annotations: Status: Running IP: 10.60.8.216 Controlled By: ReplicaSet/jenkins-x-nexus-57c8447c4 Containers: nexus: Container ID: docker://cb34372d1456dfd6ebdfc0622a164be1e5e6de6f0abf2fa52f8599527b43aa4d Image: gcr.io/jenkinsxio/nexus:0.1.7 Image ID: docker-pullable://gcr.io/jenkinsxio/nexus@sha256:f6fcde67b9ca73461ebb704fc019de02c68d20fff84fe1f7168893a8c87b4fb0 Port: 8081/TCP Host Port: 0/TCP State: Waiting Reason: CrashLoopBackOff Last State: Terminated Reason: Completed Exit Code: 0 Started: Fri, 15 Nov 2019 10:18:20 +0100 Finished: Fri, 15 Nov 2019 10:18:52 +0100 Ready: False Restart Count: 6 Liveness: http-get http://:8081/ delay=30s timeout=1s period=30s #success=1 #failure=3 Readiness: http-get http://:8081/ delay=30s timeout=1s period=30s #success=1 #failure=6 Environment: NEXUS_CONTEXT: Optional: false ENABLE_ANONYMOUS_ACCESS: false Mounts: /nexus-data from nexus-data-volume (rw) /opt/sonatype/nexus/config from nexus (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-6d7dz (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: nexus: Type: Secret (a volume populated by a Secret) SecretName: nexus Optional: false nexus-data-volume: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: jenkins-x-nexus ReadOnly: false default-token-6d7dz: Type: Secret (a volume populated by a Secret) SecretName: default-token-6d7dz Optional: false QoS Class: BestEffort Node-Selectors: Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s node.kubernetes.io/unreachable:NoExecute for 300s Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 13m default-scheduler Successfully assigned nos/jenkins-x-nexus-57c8447c4-jhd2p to gke-jx-prod-pool-2-a6313578-k6sj Warning FailedAttachVolume 13m attachdetach-controller Multi-Attach error for volume "pvc-fad197ae-fa27-11e9-88c8-42010a8e00ae" Volume is already exclusively attached to one node and can't be attached to another Normal SuccessfulAttachVolume 13m attachdetach-controller AttachVolume.Attach succeeded for volume "pvc-fad197ae-fa27-11e9-88c8-42010a8e00ae" Normal FileSystemResizeSuccessful 13m kubelet, gke-jx-prod-pool-2-a6313578-k6sj MountVolume.resizeFileSystem succeeded for volume "pvc-fad197ae-fa27-11e9-88c8-42010a8e00ae" Normal Pulling 13m kubelet, gke-jx-prod-pool-2-a6313578-k6sj pulling image "gcr.io/jenkinsxio/nexus:0.1.7" Normal Pulled 13m kubelet, gke-jx-prod-pool-2-a6313578-k6sj Successfully pulled image "gcr.io/jenkinsxio/nexus:0.1.7" Warning FailedPostStartHook 12m kubelet, gke-jx-prod-pool-2-a6313578-k6sj Exec lifecycle hook ([/opt/sonatype/nexus/postStart.sh]) for Container "nexus" in Pod "jenkins-x-nexus-57c8447c4-jhd2p_nos(7c3b0456-0787-11ea-a926-42010a8e00bd)" failed - error: command '/opt/sonatype/nexus/postStart.sh' exited with 1: ERROR: Login to nexus failed. Tried both the default password and the provided password secret file. , message: ".......Updating PASSWORD variable from password file.\nDefault password failed. Checking password file...\nERROR: Login to nexus failed. Tried both the default password and the provided password secret file.\n" Normal Started 11m (x3 over 13m) kubelet, gke-jx-prod-pool-2-a6313578-k6sj Started container Warning FailedPostStartHook 11m (x2 over 11m) kubelet, gke-jx-prod-pool-2-a6313578-k6sj Exec lifecycle hook ([/opt/sonatype/nexus/postStart.sh]) for Container "nexus" in Pod "jenkins-x-nexus-57c8447c4-jhd2p_nos(7c3b0456-0787-11ea-a926-42010a8e00bd)" failed - error: command '/opt/sonatype/nexus/postStart.sh' exited with 1: ERROR: Login to nexus failed. Tried both the default password and the provided password secret file. , message: "......Updating PASSWORD variable from password file.\nDefault password failed. Checking password file...\nERROR: Login to nexus failed. Tried both the default password and the provided password secret file.\n" Normal Killing 10m (x3 over 12m) kubelet, gke-jx-prod-pool-2-a6313578-k6sj Killing container with id docker://nexus:FailedPostStartHook Normal Created 10m (x4 over 13m) kubelet, gke-jx-prod-pool-2-a6313578-k6sj Created container Normal Pulled 10m (x3 over 12m) kubelet, gke-jx-prod-pool-2-a6313578-k6sj Container image "gcr.io/jenkinsxio/nexus:0.1.7" already present on machine Warning BackOff 3m18s (x36 over 11m) kubelet, gke-jx-prod-pool-2-a6313578-k6sj Back-off restarting failed container