smart-edge-open / converged-edge-experience-kits

Source code for experience kits with Ansible-based deployment.
Apache License 2.0
37 stars 40 forks source link

CrashLoopBackOff error for openvino-cons-app pod #40

Closed pavanats closed 4 years ago

pavanats commented 4 years ago

Hi, I am trying to run the openvino application. I could run the producer pod but the consumer pod fails. Output of kubectl describe command is shown below. While, I am debugging this issue, please let us know if this is a known issue.

[root@controller consumer]# kubectl describe pods openvino-cons-app

Name: openvino-cons-app Namespace: default Priority: 0 Node: node01/146.0.237.30 Start Time: Thu, 23 Jul 2020 18:46:51 +0200 Labels: name=openvino-cons-app Annotations: ovn.kubernetes.io/allocated: true ovn.kubernetes.io/cidr: 10.16.0.0/16 ovn.kubernetes.io/gateway: 10.16.0.1 ovn.kubernetes.io/ip_address: 10.16.0.9 ovn.kubernetes.io/logical_switch: ovn-default ovn.kubernetes.io/mac_address: 0e:4f:1d:10:00:0a Status: Running IP: 10.16.0.9 IPs: IP: 10.16.0.9 Containers: openvino-cons-app: Container ID: docker://f2b1d86372c70dbb939453176cc84051a9ca005e6ad3d1cc114245219026ff84 Image: openvino-cons-app:1.0 Image ID: docker://sha256:6cf9eefe7638b01a1700d99c3cd0cfe90539cf359dd09f6f8dfe7ad00aafa11a Port: Host Port: State: Waiting Reason: CrashLoopBackOff Last State: Terminated Reason: Error Exit Code: 1 Started: Fri, 24 Jul 2020 17:28:10 +0200 Finished: Fri, 24 Jul 2020 17:28:11 +0200 Ready: False Restart Count: 266 Environment: Mounts: /var/run/secrets/kubernetes.io/serviceaccount from default-token-xqj7r (ro) Conditions: Type Status Initialized True Ready False ContainersReady False PodScheduled True Volumes: default-token-xqj7r: Type: Secret (a volume populated by a Secret) SecretName: default-token-xqj7r 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 Created 27m (x262 over 22h) kubelet, node01 Created container openvino-cons-app Normal Pulled 22m (x263 over 22h) kubelet, node01 Container image "openvino-cons-app:1.0" already present on machine Warning BackOff 2m31s (x6259 over 22h) kubelet, node01 Back-off restarting failed container

amr-mokhtar commented 4 years ago

Hi @pavanats, were you successful running the OpenVINO sample app before? If yes, what is different with your setup this time? What are the logs from the app?

kubectl logs openvino-cons-app
pavanats commented 4 years ago

Hi, I havent run openvino earlier. The output of kubectl logs is below:

[setupvars.sh] OpenVINO environment initialized

command-line-arguments

./openvino.go:64:9: undefined: err ./openvino.go:65:16: undefined: err ./openvino.go:70:9: undefined: err ./openvino.go:71:16: undefined: err ./start.sh: line 10: fg: no job control

Pavan


From: Amr Mokhtar notifications@github.com Sent: Monday, July 27, 2020 3:56 PM To: open-ness/openness-experience-kits openness-experience-kits@noreply.github.com Cc: Pavan Gupta pavan.gupta@atsgen.com; Mention mention@noreply.github.com Subject: Re: [open-ness/openness-experience-kits] CrashLoopBackOff error for openvino-cons-app pod (#40)

Hi @pavanatshttps://github.com/pavanats, were you successful running the OpenVINO sample app before? If yes, what is different with your setup this time? What are the logs from the app?

kubectl logs openvino-cons-app

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/open-ness/openness-experience-kits/issues/40#issuecomment-664280307, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APSLZC24ZYVRN3J7PJJ3BMDR5VI65ANCNFSM4PG2L77A.

amr-mokhtar commented 4 years ago

OK. The above issue is duplicate of https://github.com/open-ness/edgeapps/issues/20 It should have been fixed by this PR: https://github.com/open-ness/edgeapps/pull/23