Query container info failed with error (API error (500): Unknown device
Issue
-
The container fails to create with the following status message:
Query container info failed with error (API error (500): Unknown device
-
Why are these errors seen when pods fails to start:
Apr 08 16:42:38 localhost atomic-openshift-node[68671]: E0408 16:42:38.103086 68671 manager.go:1936] Error running pod "kontaktservice-19-build_kw-b2c-build" container "docker-build": API error (500): Error running DeviceResume dm_task_run failed Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.127286682+02:00" level=info msg="GET /containers/json?all=1" Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.200061157+02:00" level=info msg="GET /containers/eabf32f217261053f921d5c837575dd972a294325436798f2a198030628787e9/json" Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.200797597+02:00" level=info msg="GET /containers/eabf32f217261053f921d5c837575dd972a294325436798f2a198030628787e9/json" Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.281704835+02:00" level=info msg="GET /containers/3928498225b0674345f4db8c36b5fdba9e45c6a8e17a3da878398dfcdcaa493c/json" Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.282160432+02:00" level=error msg="Handler for GET /containers/{name:.*}/json returned error: Unknown device 3928498225b0674345f4db8c36b5fdba9e45c6a8e17a3da878398dfcdcaa493c" Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.282204992+02:00" level=error msg="HTTP Error" err="Unknown device 3928498225b0674345f4db8c36b5fdba9e45c6a8e17a3da878398dfcdcaa493c" statusCode=500 Apr 08 16:42:38 localhost docker[23859]: time="2016-04-08T16:42:38.282334525+02:00" level=info msg="GET /containers/json?all=1" Apr 08 16:42:38 localhost atomic-openshift-node[68671]: I0408 16:42:38.282991 68671 kubelet.go:2895] Query container info for pod "kontaktservice-19-build_kw-b2c-build" failed with error (API error (500): Unknown device 3928498225b0674345f4db8c36b5fdba9e45c6a8e17a3da878398dfcdcaa493c Apr 08 16:42:38 localhost atomic-openshift-node[68671]: )
-
2 out of 3 pods are showing status as “GeneralError” with the following message seen in the logs:
Query container info for pod "example" failed with error (API error (500): Unknown device <UUID>
Environment
- Red Hat OpenShift Container Platform 3.1
- docker 1.9 or lower
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.