O3L 2.1.1: Docker 1.10 service as "docker dead but subsys locked" on Oracle VM Server 3.4.1

(Doc ID 2129361.1)

Last updated on NOVEMBER 23, 2017

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 2.1.1 and later
Linux x86-64

Symptoms

Docker version 1.10 service cannot start on Oracle VM Server 3.4.1 with error: docker dead but subsys locked:

[root@o3lr2ovs1 ~]# rpm -qa | grep docker-engine
docker-engine-1.10.3-1.0.1.el6.x86_64

 

[root@o3lr2ovs1 ~]# service docker restart
Stopping docker:                                           [FAILED]
Starting docker:    .                                  [  OK  ]
[root@o3lr2ovs1 ~]# service docker status
docker dead but subsys locked


Check docker logs:

[root@o3lr2ovs1 ~]# tail /var/log/docker
(snip)
\nThu Apr 21 22:53:10 EDT 2016\n
time="2016-04-21T22:53:10.842529927-04:00" level=info msg="[graphdriver] using prior storage driver \"btrfs\""
time="2016-04-21T22:53:10.842776239-04:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
time="2016-04-21T22:53:10.847481669-04:00" level=info msg="Firewalld running: false"
time="2016-04-21T22:53:11.201484830-04:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
time="2016-04-21T22:53:12.523652965-04:00" level=fatal msg="Error starting daemon: Error initializing network controller: Error creating default \"bridge\" network: Failed to setup IP tables, cannot acquire Interface address: Interface docker0 has no IPv4 addresses"


Delete /var/lib/docker/network/files/local-kv.db file and restart docker service does not fix issue. 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms