[Container-tools] Issue with concurrent docker image pulls

Jason Brooks jbrooks at redhat.com
Tue Aug 4 18:22:49 UTC 2015



----- Original Message -----
> From: "Lalatendu Mohanty" <lmohanty at redhat.com>
> To: "Vincent Batts" <vbatts at redhat.com>
> Cc: "container-tools" <container-tools at redhat.com>
> Sent: Monday, August 3, 2015 7:10:44 AM
> Subject: Re: [Container-tools] Issue with concurrent docker image pulls
> 
> On 07/31/2015 07:10 PM, Vincent Batts wrote:
> > This race condition is tricky. Unfortunately it's sporadic enough, and
> > IIRC it is only hit when running devicemapper with unsupported
> > loopback files (docker's default for devicemapper). That's been the
> > biggest reason that no one has given this attention.
> >
> 
> Thanks Vincent. So it seems fixing the vagrant box to use the
> right/recommended storage setup [1] is the way to go forward.

This may help: 

https://github.com/CentOS/sig-atomic-buildscripts/blob/downstream/centos-atomic-host-7-vagrant.ks

It's for the atomic vagrant image, and it includes correct storage
setup stuff

Jason

> 
> [1]
> https://github.com/LalatenduMohanty/centos7-container-app-vagrant-box/issues/53
> 
> > On Thu, Jul 30, 2015 at 7:25 AM, Lalatendu Mohanty
> > <lmohanty at redhat.com <mailto:lmohanty at redhat.com>> wrote:
> >
> >     Hi,
> >
> >     Couple of us seeing issue with docker image pulls in the CentOS 7
> >     Vagrant box. I spent some time and felt that its a bug in docker
> >     1.6.2 and found the issue [1] in docker github repo. It seems the
> >     issue is fixed in docker 1.7.1.
> >
> >     So wanted to throw this information to the list and see if others
> >     are also in agreement or have more information about it.
> >
> >     vagrant at localhost ~]$ docker --version
> >     Docker version 1.6.2, build ba1f6c3/1.6.2
> >
> >     vagrant at localhost ~]$ sudo docker pull centos/httpd
> >     latest: Pulling from docker.io/centos/httpd
> >     <http://docker.io/centos/httpd>
> >     6941bfcbbfca: Pull complete
> >     6941bfcbbfca: Download complete
> >     41459f052977: Download complete
> >     fd44297e2ddb: Error downloading dependent layers
> >     06d0d6cc01fc: Download complete
> >     1634f53d8d34: Download complete
> >     f5d7d1d76e27: Download complete
> >     72d3df4bba94: Download complete
> >     4617321b355e: Download complete
> >     9f74023d48fc: Download complete
> >     d3d3700d1c33: Download complete
> >     dabbf6687da0: Download complete
> >     9c9ec0c21871: Download complete
> >     9c9ec0c21871: Error pulling image (latest) from
> >     docker.io/centos/httpd <http://docker.io/centos/httpd>, Driver
> >     devicemapper failed to create image rootfs
> >     fd44297e2ddb050ec4fa9752b7a4e3a8439061991886e2091e7c1f007c906d75:
> >     Error running DeviceCreFATA[0109] Error pulling image (latest)
> >     from docker.io/centos/httpd <http://docker.io/centos/httpd>,
> >     Driver devicemapper failed to create image rootfs
> >     fd44297e2ddb050ec4fa9752b7a4e3a8439061991886e2091e7c1f007c906d75:
> >     Error running DeviceCreate (createSnapDevice) dm_task_run failed
> >
> >
> >     [1] https://github.com/docker/docker/issues/9718
> >
> >     Thanks,
> >     Lala
> >
> >     _______________________________________________
> >     Container-tools mailing list
> >     Container-tools at redhat.com <mailto:Container-tools at redhat.com>
> >     https://www.redhat.com/mailman/listinfo/container-tools
> >
> >
> 
> 
> _______________________________________________
> Container-tools mailing list
> Container-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/container-tools
> 




More information about the Container-tools mailing list