[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] Failed to start Docker Storage Setup



Hi,

I installed the latest CentOS image on bare metal. Docker seems to work fine, but I get an error message at start-up about the docker-storage-setup service failing to start. I am happy with the current Docker storage setup, I just want want this storage service to be happy and not error at start-up.

This is what I get when I check the status of the service:

# systemctl status docker-storage-setup.service -l
● docker-storage-setup.service - Docker Storage Setup
   Loaded: loaded (/usr/lib/systemd/system/docker-storage-setup.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-05-15 15:48:52 PDT; 28min ago
  Process: 992 ExecStart=/usr/bin/container-storage-setup (code=exited, status=1/FAILURE)
 Main PID: 992 (code=exited, status=1/FAILURE)

May 15 15:48:50 blu systemd[1]: Starting Docker Storage Setup...
May 15 15:48:52 blu container-storage-setup[992]: ERROR: Storage is already configured with devicemapper driver. Can't configure it with overlay2 driver. To override, remove /etc/sysconfig/docker-storage and retry.
May 15 15:48:52 blu systemd[1]: docker-storage-setup.service: main process exited, code=exited, status=1/FAILURE
May 15 15:48:52 blu systemd[1]: Failed to start Docker Storage Setup.
May 15 15:48:52 blu systemd[1]: Unit docker-storage-setup.service entered failed state.
May 15 15:48:52 blu systemd[1]: docker-storage-setup.service failed.

And this is the current content of the docker-storage file:

# cat /etc/sysconfig/docker-storage
DOCKER_STORAGE_OPTIONS="--storage-driver devicemapper --storage-opt dm.fs=xfs --storage-opt dm.thinpooldev=/dev/mapper/cah_blu-docker--pool --storage-opt dm.use_deferred_removal=true --storage-opt dm.use_deferred_deletion=true "

I'm a bit confused why the service complains about overlay2 driver when only devicemapper is mentioned in the docker-storage file.

And this this the output of docker info:

# docker info
Containers: 1
 Running: 0
 Paused: 0
 Stopped: 1
Images: 2
Server Version: 1.13.1
Storage Driver: devicemapper
 Pool Name: cah_blu-docker--pool
 Pool Blocksize: 524.3 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file:
 Metadata file:
 Data Space Used: 153.6 MB
 Data Space Total: 1.189 TB
 Data Space Available: 1.189 TB
 Metadata Space Used: 823.3 kB
 Metadata Space Total: 3.003 GB
 Metadata Space Available: 3.002 GB
 Thin Pool Minimum Free Space: 118.9 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true
 Deferred Deleted Device Count: 0
 Library Version: 1.02.140-RHEL7 (2017-05-03)
Logging Driver: journald
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: docker-runc runc
Default Runtime: docker-runc
Init Binary: docker-init
containerd version:  (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: N/A (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: N/A (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
 selinux
Kernel Version: 3.10.0-693.21.1.el7.x86_64
Operating System: CentOS Linux 7.1803 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 16
Total Memory: 31.24 GiB
Name: blu
ID: LJYJ:PZY4:TISK:L2EH:Q6UJ:U3K3:WY32:QLEI:P4FF:KQK3:7M6M:42LI
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: ...
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
Registries: docker.io (secure)


Thanks!
Rares


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]