machine icon indicating copy to clipboard operation
machine copied to clipboard

service docker restart hangs when run on centos 7 ami

Open tomwillfixit opened this issue 11 years ago • 3 comments

docker-machine version 0.4.0 (9d0dc7a)

Trying to start a machine based on : CentOS 7 x86_64 (2014_09_29) EBS HVM-b7ee8a69-ee97-4a49-9e68-afaee216db2e-ami-d2a117ba.2 (ami-c7d092f7)

All looks good until : systemctl restart docker

Hangs here and then exits with code 1.

ssh'ed into the instance the following process was still running whenever systemctl restart docker was called

mkfs.ext4 -E nodiscard,lazy_itable_init=0,lazy_journal_init=0 /dev/mapper/docker-202:1-8589003-base

Perhaps a timing/locking issue? docker-engine install, systemctl reload and systemctl restart docker in quick succession.

Using ubuntu ami until this is resolved.

Thanks.

tomwillfixit avatar Aug 26 '15 14:08 tomwillfixit

Looks like a duplicate of #1698

ehazlett avatar Aug 26 '15 19:08 ehazlett

@ehazlett @tommyoshaw yes this is a duplicate. I have a feeling it has something to do with device-mapper. will need to investigate further.

kacole2 avatar Aug 26 '15 20:08 kacole2

Closing duplicate of #1698

dgageot avatar Oct 14 '15 11:10 dgageot