You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran
helm install my-orchestrator substra/orchestrator --version 7.4.8
got Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
The dashboard shows
Back-off restarting failed container postgresql in pod my-orchestrator-postgresql-0_default(ab9d5a8e-f0a6-4e45-9106-9e7d2f4e3758)
microk8s kubectl describe pods my-orchestrator-postgresql-0 shows
(base) bruce@ubuntu:~$ microk8s kubectl describe pods my-orchestrator-postgresql-0
Name: my-orchestrator-postgresql-0
Namespace: default
Priority: 0
Service Account: default
Node: ubuntu/70.182.140.59
Start Time: Fri, 27 Jan 2023 11:18:53 -0800
Labels: app.kubernetes.io/component=primary
app.kubernetes.io/instance=my-orchestrator
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=postgresql
controller-revision-hash=my-orchestrator-postgresql-c7db446c8
helm.sh/chart=postgresql-11.6.2
statefulset.kubernetes.io/pod-name=my-orchestrator-postgresql-0
Annotations: checksum/extended-configuration: 88de0b06f792d8a084c94f35b578d30469b83d5dbce607ac4a62f5eec3365c83
cni.projectcalico.org/containerID: ae2302d80f3474f34f17aed8c1cdb81375dfc1d638bd3291459db9a0a4735974
cni.projectcalico.org/podIP: 10.1.243.224/32
cni.projectcalico.org/podIPs: 10.1.243.224/32
Status: Running
IP: 10.1.243.224
IPs:
IP: 10.1.243.224
Controlled By: StatefulSet/my-orchestrator-postgresql
Containers:
postgresql:
Container ID: containerd://aa11029934f4caa20dc780bec344221b1ad4f92255f981615efd704e01d5f09d
Image: docker.io/bitnami/postgresql:14.3.0-debian-10-r20
Image ID: docker.io/bitnami/postgresql@sha256:bd829a97b22e9dbee111aa2f0f6bb1da09c927dbdf1232e4fa1664219d3b94d7
Port: 5432/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 1
Started: Fri, 27 Jan 2023 11:40:57 -0800
Finished: Fri, 27 Jan 2023 11:41:01 -0800
Ready: False
Restart Count: 9
Requests:
cpu: 250m
memory: 256Mi
Liveness: exec [/bin/sh -c exec pg_isready -U "postgres" -d "dbname=orchestrator" -h 127.0.0.1 -p 5432] delay=30s timeout=5s period=10s #success=1 #failure=6
Readiness: exec [/bin/sh -c -e exec pg_isready -U "postgres" -d "dbname=orchestrator" -h 127.0.0.1 -p 5432
[ -f /opt/bitnami/postgresql/tmp/.initialized ] || [ -f /bitnami/postgresql/.initialized ]
] delay=5s timeout=5s period=10s #success=1 #failure=6
Environment:
BITNAMI_DEBUG: false
POSTGRESQL_PORT_NUMBER: 5432
POSTGRESQL_VOLUME_DIR: /bitnami/postgresql
PGDATA: /bitnami/postgresql/data
POSTGRES_PASSWORD: <set to the key 'postgres-password' in secret 'my-orchestrator-postgresql'> Optional: false
POSTGRES_DB: orchestrator
POSTGRESQL_ENABLE_LDAP: no
POSTGRESQL_ENABLE_TLS: no
POSTGRESQL_LOG_HOSTNAME: false
POSTGRESQL_LOG_CONNECTIONS: false
POSTGRESQL_LOG_DISCONNECTIONS: false
POSTGRESQL_PGAUDIT_LOG_CATALOG: off
POSTGRESQL_CLIENT_MIN_MESSAGES: error
POSTGRESQL_SHARED_PRELOAD_LIBRARIES: pgaudit
Mounts:
/bitnami/postgresql from data (rw)
/bitnami/postgresql/conf/conf.d/ from postgresql-extended-config (rw)
/dev/shm from dshm (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-c9wr6 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
data:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: data-my-orchestrator-postgresql-0
ReadOnly: false
postgresql-extended-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: my-orchestrator-postgresql-extended-configuration
Optional: false
dshm:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium: Memory
SizeLimit:
kube-api-access-c9wr6:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional:
DownwardAPI: true
QoS Class: Burstable
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
Warning BackOff 2m25s (x95 over 22m) kubelet Back-off restarting failed container postgresql in pod my-orchestrator-postgresql-0_default(ab9d5a8e-f0a6-4e45-9106-9e7d2f4e3758)
It shows an Error code but no message. How do I debugs this. I don't see any clues.
The text was updated successfully, but these errors were encountered:
I ran
helm install my-orchestrator substra/orchestrator --version 7.4.8
got Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
The dashboard shows
Back-off restarting failed container postgresql in pod my-orchestrator-postgresql-0_default(ab9d5a8e-f0a6-4e45-9106-9e7d2f4e3758)
microk8s kubectl describe pods my-orchestrator-postgresql-0 shows
(base) bruce@ubuntu:~$ microk8s kubectl describe pods my-orchestrator-postgresql-0
Name: my-orchestrator-postgresql-0
Namespace: default
Priority: 0
Service Account: default
Node: ubuntu/70.182.140.59
Start Time: Fri, 27 Jan 2023 11:18:53 -0800
Labels: app.kubernetes.io/component=primary
app.kubernetes.io/instance=my-orchestrator
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=postgresql
controller-revision-hash=my-orchestrator-postgresql-c7db446c8
helm.sh/chart=postgresql-11.6.2
statefulset.kubernetes.io/pod-name=my-orchestrator-postgresql-0
Annotations: checksum/extended-configuration: 88de0b06f792d8a084c94f35b578d30469b83d5dbce607ac4a62f5eec3365c83
cni.projectcalico.org/containerID: ae2302d80f3474f34f17aed8c1cdb81375dfc1d638bd3291459db9a0a4735974
cni.projectcalico.org/podIP: 10.1.243.224/32
cni.projectcalico.org/podIPs: 10.1.243.224/32
Status: Running
IP: 10.1.243.224
IPs:
IP: 10.1.243.224
Controlled By: StatefulSet/my-orchestrator-postgresql
Containers:
postgresql:
Container ID: containerd://aa11029934f4caa20dc780bec344221b1ad4f92255f981615efd704e01d5f09d
Image: docker.io/bitnami/postgresql:14.3.0-debian-10-r20
Image ID: docker.io/bitnami/postgresql@sha256:bd829a97b22e9dbee111aa2f0f6bb1da09c927dbdf1232e4fa1664219d3b94d7
Port: 5432/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 1
Started: Fri, 27 Jan 2023 11:40:57 -0800
Finished: Fri, 27 Jan 2023 11:41:01 -0800
Ready: False
Restart Count: 9
Requests:
cpu: 250m
memory: 256Mi
Liveness: exec [/bin/sh -c exec pg_isready -U "postgres" -d "dbname=orchestrator" -h 127.0.0.1 -p 5432] delay=30s timeout=5s period=10s #success=1 #failure=6
Readiness: exec [/bin/sh -c -e exec pg_isready -U "postgres" -d "dbname=orchestrator" -h 127.0.0.1 -p 5432
[ -f /opt/bitnami/postgresql/tmp/.initialized ] || [ -f /bitnami/postgresql/.initialized ]
] delay=5s timeout=5s period=10s #success=1 #failure=6
Environment:
BITNAMI_DEBUG: false
POSTGRESQL_PORT_NUMBER: 5432
POSTGRESQL_VOLUME_DIR: /bitnami/postgresql
PGDATA: /bitnami/postgresql/data
POSTGRES_PASSWORD: <set to the key 'postgres-password' in secret 'my-orchestrator-postgresql'> Optional: false
POSTGRES_DB: orchestrator
POSTGRESQL_ENABLE_LDAP: no
POSTGRESQL_ENABLE_TLS: no
POSTGRESQL_LOG_HOSTNAME: false
POSTGRESQL_LOG_CONNECTIONS: false
POSTGRESQL_LOG_DISCONNECTIONS: false
POSTGRESQL_PGAUDIT_LOG_CATALOG: off
POSTGRESQL_CLIENT_MIN_MESSAGES: error
POSTGRESQL_SHARED_PRELOAD_LIBRARIES: pgaudit
Mounts:
/bitnami/postgresql from data (rw)
/bitnami/postgresql/conf/conf.d/ from postgresql-extended-config (rw)
/dev/shm from dshm (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-c9wr6 (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
data:
Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName: data-my-orchestrator-postgresql-0
ReadOnly: false
postgresql-extended-config:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: my-orchestrator-postgresql-extended-configuration
Optional: false
dshm:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium: Memory
SizeLimit:
kube-api-access-c9wr6:
Type: Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds: 3607
ConfigMapName: kube-root-ca.crt
ConfigMapOptional:
DownwardAPI: true
QoS Class: Burstable
Node-Selectors:
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
Warning BackOff 2m25s (x95 over 22m) kubelet Back-off restarting failed container postgresql in pod my-orchestrator-postgresql-0_default(ab9d5a8e-f0a6-4e45-9106-9e7d2f4e3758)
It shows an Error code but no message. How do I debugs this. I don't see any clues.
The text was updated successfully, but these errors were encountered: