-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I am pasting the pod describe and pod log:
Maysuns-MacBook-Pro:openshift-install-mac maysun$ oc describe po devfile-sample-python-basic-66b96fcb96-x459t
Name: devfile-sample-python-basic-66b96fcb96-x459t
Namespace: mjf
Priority: 0
PriorityClassName: <none>
Node: ip-10-0-138-26.us-east-2.compute.internal/10.0.138.26
Start Time: Wed, 28 Apr 2021 16:47:42 -0400
Labels: app=devfile-sample-python-basic
deploymentconfig=devfile-sample-python-basic
pod-template-hash=66b96fcb96
Annotations: k8s.v1.cni.cncf.io/network-status=[{
"name": "",
"interface": "eth0",
"ips": [
"10.129.2.68"
],
"default": true,
"dns": {}
}]
k8s.v1.cni.cncf.io/networks-status=[{
"name": "",
"interface": "eth0",
"ips": [
"10.129.2.68"
],
"default": true,
"dns": {}
}]
openshift.io/scc=restricted
Status: Running
IP: 10.129.2.68
Controlled By: ReplicaSet/devfile-sample-python-basic-66b96fcb96
Containers:
devfile-sample-python-basic:
Container ID: cri-o://6cf7d6162671506aac535efb4bf02441c1e1c4b5443a0d84acba989d12cce7c3
Image: image-registry.openshift-image-registry.svc:5000/mjf/devfile-sample-python-basic@sha256:894c79c9aa4d145faceafc217f0046c373b36826189d4630929f44f92e00ec53
Image ID: image-registry.openshift-image-registry.svc:5000/mjf/devfile-sample-python-basic@sha256:894c79c9aa4d145faceafc217f0046c373b36826189d4630929f44f92e00ec53
Port: 8080/TCP
Host Port: 0/TCP
State: Waiting
Reason: CrashLoopBackOff
Last State: Terminated
Reason: Error
Exit Code: 1
Started: Wed, 28 Apr 2021 16:48:04 -0400
Finished: Wed, 28 Apr 2021 16:48:04 -0400
Ready: False
Restart Count: 2
Limits:
memory: 1Gi
Requests:
memory: 1Gi
Environment:
PROJECTS_ROOT: /projects
PROJECT_SOURCE: /projects
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-66q2s (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
default-token-66q2s:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-66q2s
Optional: false
QoS Class: Burstable
Node-Selectors: <none>
Tolerations: node.kubernetes.io/memory-pressure:NoSchedule
node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled <unknown> Successfully assigned mjf/devfile-sample-python-basic-66b96fcb96-x459t to ip-10-0-138-26.us-east-2.compute.internal
Normal AddedInterface 48s multus Add eth0 [10.129.2.68/23]
Normal Pulled 45s kubelet, ip-10-0-138-26.us-east-2.compute.internal Successfully pulled image "image-registry.openshift-image-registry.svc:5000/mjf/devfile-sample-python-basic@sha256:894c79c9aa4d145faceafc217f0046c373b36826189d4630929f44f92e00ec53" in 2.7506209s
Normal Pulled 44s kubelet, ip-10-0-138-26.us-east-2.compute.internal Successfully pulled image "image-registry.openshift-image-registry.svc:5000/mjf/devfile-sample-python-basic@sha256:894c79c9aa4d145faceafc217f0046c373b36826189d4630929f44f92e00ec53" in 81.271439ms
Normal Pulling 27s (x3 over 47s) kubelet, ip-10-0-138-26.us-east-2.compute.internal Pulling image "image-registry.openshift-image-registry.svc:5000/mjf/devfile-sample-python-basic@sha256:894c79c9aa4d145faceafc217f0046c373b36826189d4630929f44f92e00ec53"
Normal Created 27s (x3 over 44s) kubelet, ip-10-0-138-26.us-east-2.compute.internal Created container devfile-sample-python-basic
Normal Started 27s (x3 over 44s) kubelet, ip-10-0-138-26.us-east-2.compute.internal Started container devfile-sample-python-basic
Normal Pulled 27s kubelet, ip-10-0-138-26.us-east-2.compute.internal Successfully pulled image "image-registry.openshift-image-registry.svc:5000/mjf/devfile-sample-python-basic@sha256:894c79c9aa4d145faceafc217f0046c373b36826189d4630929f44f92e00ec53" in 78.973057ms
Warning BackOff 11s (x4 over 43s) kubelet, ip-10-0-138-26.us-east-2.compute.internal Back-off restarting failed container
Maysuns-MacBook-Pro:openshift-install-mac maysun$
Maysuns-MacBook-Pro:openshift-install-mac maysun$
Maysuns-MacBook-Pro:openshift-install-mac maysun$
Maysuns-MacBook-Pro:openshift-install-mac maysun$
Maysuns-MacBook-Pro:openshift-install-mac maysun$ oc logs -f devfile-sample-python-basic-66b96fcb96-x459t
Traceback (most recent call last):
File "/projects/app.py", line 1, in <module>
from flask import Flask
ModuleNotFoundError: No module named 'flask'
Metadata
Metadata
Assignees
Labels
No labels