<div dir="ltr">Steve,<div><br></div><div>overlayfs does not reduce the disk usage at all</div><div><br></div><div>Paul, we can bump the size of the docker mountpoint up to ~20GB if you check all the gates for the appropriate space.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Sam Yaple</div></div></div></div>
<br><div class="gmail_quote">On Mon, Mar 14, 2016 at 7:20 PM, Steven Dake (stdake) <span dir="ltr"><<a href="mailto:stdake@cisco.com" target="_blank">stdake@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Vikarm,</div>
<div><br>
</div>
<div>/var/lib/docker is a btrfs filesystem.  It would be nice to just use overlayfs as it doesn't take nearly as much disk space and is much faster then btrfs.  I use overlay daily and it works like a champ unless I want to rebuild, in which case I think a
 bug in the ovl yum plugin prevents rebuilding if an image already exists.</div>
<div><br>
</div>
<div><a href="https://github.com/openstack/kolla/blob/master/tools/setup_RedHat.sh#L13" target="_blank">https://github.com/openstack/kolla/blob/master/tools/setup_RedHat.sh#L13</a></div>
<div><br>
</div>
<div>Regards,</div>
<div>-steve</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>"Vikram Hosakote (vhosakot)" <<a href="mailto:vhosakot@cisco.com" target="_blank">vhosakot@cisco.com</a>><span class=""><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
</span><span style="font-weight:bold">Date: </span>Monday, March 14, 2016 at 11:51 AM<span class=""><br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
</span><span style="font-weight:bold">Subject: </span>Re: [openstack-dev] [kolla] [infra] Size of images built in the gate<br>
</div><div><div class="h5">
<div><br>
</div>
<blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">
<div>
<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:15px;font-family:Calibri,sans-serif">
<div>/var/lib/docker/aufs  takes a lot of space if many containers are running and </div>
<div>writing data to their volumes.</div>
<div><br>
</div>
<div>If the gate VM’s  /var/lib/docker  partition is small, you could move </div>
<div>/var/lib/docker  to a different partition that is big enough (like /home or /tmp)</div>
<div>and create a symbolic link to  /var/lib/docker.</div>
<div><br>
</div>
<div>mv  /var/lib/docker  /home/new_docker_path_with_more_space</div>
<div>ln -s  /home/new_docker_path_with_more_space  /var/lib/docker</div>
<div><br>
</div>
<div>Alternatively, you can use the -g option for the docker daemon to use a different</div>
<div>path instead of  /var/lib/docker  if it runs out of disk space.</div>
<div><br>
</div>
<div>DOCKER_OPTS="-g /home/new_docker_path_with_more_space"</div>
<div><br>
</div>
<div>Restart the docker daemon after making the above change.</div>
<div><br>
</div>
<div><a href="https://github.com/docker/docker/issues/3127" target="_blank">https://github.com/docker/docker/issues/3127</a></div>
<div><br>
</div>
<div>Regards,</div>
<div>Vikram Hosakote</div>
<div>IRC: vhosakot</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Paul Bourke <<a href="mailto:paul.bourke@oracle.com" target="_blank">paul.bourke@oracle.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Monday, March 14, 2016 at 11:25 AM<br>
<span style="font-weight:bold">To: </span>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [kolla] [infra] Size of images built in the gate<br>
</div>
<div><br>
</div>
<div>
<div>
<div>Hi all,</div>
<div><br>
</div>
<div>I'm currently working to add new gates for the oraclelinux image base </div>
<div>type (<a href="https://blueprints.launchpad.net/kolla/+spec/oraclelinux-gate" target="_blank">https://blueprints.launchpad.net/kolla/+spec/oraclelinux-gate</a>) and
</div>
<div>had a question on size available in the gate VMs.</div>
<div><br>
</div>
<div>Right now the binary build is running out of space in the gate, as it </div>
<div>exceeds the 10GB we're allocating for /var/lib/docker. For me, a current </div>
<div>local build using binary+oraclelinux is clocking in at 10.01GB, where as </div>
<div>the centos+binary is a little smaller at 8.89GB.</div>
<div><br>
</div>
<div>Is it written anywhere exactly what space is available in the gate VMs? </div>
<div>Sam mentioned briefly that different providers used in the gate give a </div>
<div>variety of disk sizes, so do we have an idea what we can reasonably bump </div>
<div>the docker partition to?</div>
<div><br>
</div>
<div>The above number indicates centos will likely soon run into the same </div>
<div>problem as we dockerise more of the big tent, so I think it's a good </div>
<div>idea to check this now before more gates start falling over.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>-Paul</div>
<div><br>
</div>
<div>p.s. if people are interested here's lists sorted by name of the </div>
<div>oraclelinux and centos builds:</div>
<div><br>
</div>
<div>oraclelinux: <a href="http://paste.fedoraproject.org/339672/96915914" target="_blank">http://paste.fedoraproject.org/339672/96915914</a></div>
<div>centos: <a href="http://paste.fedoraproject.org/339673/57969163" target="_blank">http://paste.fedoraproject.org/339673/57969163</a></div>
<div><br>
</div>
<div>__________________________________________________________________________</div>
<div>OpenStack Development Mailing List (not for usage questions)</div>
<div>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" target="_blank">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe</div>
<div><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div>
<div><br>
</div>
</div>
</div>
</span></div>
</div>
</blockquote>
</div></div></span>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>