docker-storage-setup fails on F22 cloud image

Dusty Mabe dusty at dustymabe.com
Wed Aug 5 14:28:27 UTC 2015


docker-storage-setup fails on our cloud image because there is no storage for it
to configure. In my case I am just testing on openstack with no ephemeral disks 
attached to the instance.

All you need to do to show this is install and start docker and then
you will see:

[root at f22 ~]# systemctl status docker-storage-setup
● docker-storage-setup.service - Docker Storage Setup
   Loaded: loaded (/usr/lib/systemd/system/docker-storage-setup.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2015-08-05 14:15:14 UTC; 4min 3s ago
  Process: 6951 ExecStart=/usr/bin/docker-storage-setup (code=exited, status=3)
 Main PID: 6951 (code=exited, status=3)

Aug 05 14:15:14 f22 docker-storage-setup[6951]: WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Aug 05 14:15:14 f22 docker-storage-setup[6951]: Metadata volume docker-poolmeta already exists. Not creating a new one.
Aug 05 14:15:14 f22 docker-storage-setup[6951]: /run/lvm/lvmetad.socket: connect failed: No such file or directory
Aug 05 14:15:14 f22 docker-storage-setup[6951]: WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Aug 05 14:15:14 f22 docker-storage-setup[6951]: Please provide a volume group name
Aug 05 14:15:14 f22 docker-storage-setup[6951]: Run `lvcreate --help' for more information.
Aug 05 14:15:14 f22 systemd[1]: docker-storage-setup.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Aug 05 14:15:14 f22 systemd[1]: Failed to start Docker Storage Setup.
Aug 05 14:15:14 f22 systemd[1]: Unit docker-storage-setup.service entered failed state.
Aug 05 14:15:14 f22 systemd[1]: docker-storage-setup.service failed.


Should we fix this so that there isn't a failed unit if there is no storage to configure?

Dusty


More information about the cloud mailing list