Reply
Highlighted
New Contributor
Posts: 4
Registered: ‎03-07-2018

CDSW - docker initialization failed

When adding CDSW service using Cloudera Manager, the following error occurs. This is on an AWS EC2 instance, and it has a 500GB block device attached. Please let me know what I am missing here.

 

exec /opt/cloudera/parcels/CDSW-1.3.0.p1.244221/docker/bin/dockerd --log-driver=journald -s devicemapper --storage-opt dm.basesize=100G --storage-opt dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt dm.use_deferred_removal=true --iptables=false

time="2018-03-07T00:11:59.594906749Z" level=info msg="libcontainerd: new containerd process, pid: 31556"

Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed: devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed

 

 

Environment details (on AWS):

Centos 7, CDH 5.13.1, CDSW 1.3, JDK 1.8, Docker 1.13

 

==

 

The temporary workaround that I have been using: 

 

  1. Open a shell for the node where the docker issue exists, and clear our the docker files under:
    rm -rf /var/lib/docker/*
  2. Go back to Cloudera Manager and complete steps to add CDSW service
Contributor
Posts: 29
Registered: ‎03-07-2017

Re: CDSW - docker initialization failed

Can you provide output of:

  •  "lvs"
  •  "vgs"
  •  "pvs"
New Contributor
Posts: 1
Registered: ‎11-15-2018

Re: CDSW - docker initialization failed

Hi Team,

 

I am too facing the same issue. 

Can you please help here?

 

+ exec /opt/cloudera/parcels/CDSW-1.4.2.p1.624065/docker/bin/dockerd --log-driver=journald -s devicemapper --storage-opt dm.basesize=100G --storage-opt dm.thinpooldev=/dev/mapper/docker-thinpool --storage-opt dm.use_deferred_removal=true --iptables=false
time="2018-11-15T02:57:53.884645931-05:00" level=info msg="libcontainerd: new containerd process, pid: 24545" 
Error starting daemon: error initializing graphdriver: devmapper: Base Device UUID and Filesystem verification failed: devicemapper: Error running deviceCreate (ActivateDevice) dm_task_run failed

lvs:

 

 LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
root cl -wi-ao---- 50.00g
sda3 cl -wi-ao---- 350.00g
swap cl -wi-ao---- 7.75g
thinpool docker twi-a-t--- 332.50g

 

vgs:

 

 VG #PV #LV #SN Attr VSize VFree
cl 1 3 0 wz--n- 464.76g 57.01g
docker 1 1 0 wz--n- 350.00g 10.51g

 

pvs:

 

PV VG Fmt Attr PSize PFree
/dev/cl/sda3 docker lvm2 a-- 350.00g 10.51g
/dev/sda2 cl lvm2 a-- 464.76g 57.01g

 

DOCKER_BLOCK_DEVICES : /dev/cl/sda3

 

Announcements