Failed to create container with error: API error (500): Error running DeviceResume dm_task_run failed

Solution Unverified - Updated -

Issue

  • Failed to create container with error: API error (500): Error running DeviceResume dm_task_run failed

Pod creation fails with error:

20m       20m       1     test-1-hc6c2   Pod    implicitly required container POD   Failed       {kubelet node1.demo.lan}   Failed to create docker container with error: API error (500): Error running DeviceResume dm_task_run failed
20m       20m       1     test-1-hc6c2   Pod                                        FailedSync   {kubelet node1.demo.lan}   Error syncing pod, skipping: API error (500): Error running DeviceResume dm_task_run failed

Related logs in journald:

Apr 28 16:34:41 localhost kernel: device-mapper: ioctl: device doesn't appear to be in the dev hash table.
Apr 28 16:34:41 localhost docker[2958]: time="2016-04-28T16:34:41.266424143+02:00" level=error msg="Handler for POST /containers/create returned error: Error running DeviceResume dm_task_run failed"
Apr 28 16:34:41 localhost docker[2958]: time="2016-04-28T16:34:41.266598763+02:00" level=error msg="HTTP Error" err="Error running DeviceResume dm_task_run failed" statusCode=500
Apr 28 16:34:41 localhost atomic-openshift-node[1842]: E0428 16:34:41.267335    1842 manager.go:1867] Failed to create pod infra container: API error (500): Error running DeviceResume dm_task_run failed

Environment

  • OpenShift Enterprise 3.1
  • Red Hat Enterprise Linux 7.2
  • Kernel: 3.10.0-327.10.1.el7.x86_64
  • lvm2: 2.02.130-5.el7_2.1.x86_64
  • docker: 1.8.2-10.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.