<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Has there been any progress on this ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm still fairly manually cleaning up older images because the server keeps filling up.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I had planned additional storage for the server but it might not have been necessary because I heard about only keeping a few images worth of backlog.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Pike is always the worst offender:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">==</div><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif"># du -sh /var/www/html/images/* |sort -h</font></div><div class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">8.3G</span><span style="font-family:arial,helvetica,sans-serif;white-space:pre">    </span><span style="font-family:arial,helvetica,sans-serif">./aarch64</span><br></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">9.9G<span style="white-space:pre">   </span>./ooo-snap</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">66G<span style="white-space:pre">  </span>./master</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">74G<span style="white-space:pre">    </span>./ocata</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">93G<span style="white-space:pre">     </span>./newton</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">193G<span style="white-space:pre">   </span>./pike</font></div><div style="font-family:arial,helvetica,sans-serif">==<br></div><div><div><font face="arial, helvetica, sans-serif"># du -sh /var/www/html/images/pike/rdo_trunk/* |sort -h</font></div><div><font face="arial, helvetica, sans-serif">0<span style="white-space:pre">    </span>/var/www/html/images/pike/rdo_trunk/current-tripleo</font></div><div><font face="arial, helvetica, sans-serif">0<span style="white-space:pre">   </span>/var/www/html/images/pike/rdo_trunk/current-tripleo-rdo</font></div><div><font face="arial, helvetica, sans-serif">0<span style="white-space:pre">       </span>/var/www/html/images/pike/rdo_trunk/tripleo-ci-testing</font></div><div><font face="arial, helvetica, sans-serif">1.6G<span style="white-space:pre">     </span>/var/www/html/images/pike/rdo_trunk/tripleo-upstream</font></div><div><font face="arial, helvetica, sans-serif">4.3G<span style="white-space:pre">       </span>/var/www/html/images/pike/rdo_trunk/old-tripleo</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">    </span>/var/www/html/images/pike/rdo_trunk/0712ed3b8c6193ca4978becf70da62c6c31edabc_90cbfd4f</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/0de7665e14f222802fbed40fa7df93b4a4082b2d_90cbfd4f</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/480e79b7a3d2f0f6e6e22b92c6289426352d492c_c2957bbf</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/60d6e87cac10ff1f95a028c6176e768214ec8b77_9e72cb29</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/6beba54a71510525d5bbc4956d20d27bffa982e5_75873c3c</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/6d54c627703522921f41b5a83548380f1961034b_5b18c6af</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/75baddd6522aa86bd9028258937709c828fa1404_9e324686</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/8ef8f2bc46ac58385c6f92fbc9812ab6804a7ed2_4b120b84</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/a2369c6e219fe50fb0100806479009055ada73dc_566fe0ed</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/cf3665fe1c60d43aa39f1880e427875c9c571058_5b18c6af</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/d335965eb848cfde5cc06136b5b2fcc6b436a419_7941156c</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/ec8fc5d5154cab4b5167b917b11056d4bff4ef06_37239c88</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/f9a2508318c8e6b2c6083f1fd8f7199aba6fe1a4_0a2693a1</font></div><div><font face="arial, helvetica, sans-serif">8.5G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/fd979d95d613e40be228695c0471c73cf9a5e3f4_9e324686</font></div><div><font face="arial, helvetica, sans-serif">8.6G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/3c59aa392805d862096ed8ed6d9dbe4ee72f0630_e400a1b4</font></div><div><font face="arial, helvetica, sans-serif">8.6G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/6bef899ed13e0dcc5ba6a99bc1859fb77682bb4c_566fe0ed</font></div><div><font face="arial, helvetica, sans-serif">8.6G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/7153e0cbc5b0e6433313a3bc6051b2c0775d3804_7df0efc2</font></div><div><font face="arial, helvetica, sans-serif">8.6G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/fe2afcb87218af6a3523be5a885d260ec54d24a5_31d058df</font></div><div><font face="arial, helvetica, sans-serif">9.4G<span style="white-space:pre">      </span>/var/www/html/images/pike/rdo_trunk/9adfb9df52a0c22da87d528da14a32d2c2b516b7_0a2693a1</font></div></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">==</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">On another note, the undercloud.qcow2 image went from 2.8GB in Newton to 6.9GB in Pike... is that legitimate ? There's no bloat in there ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br>David Moreau Simard<br>Senior Software Engineer | OpenStack RDO<br><br>dmsimard = [irc, github, twitter]</div></div>
<br><div class="gmail_quote">On Tue, Oct 24, 2017 at 12:25 PM, David Moreau Simard <span dir="ltr"><<a href="mailto:dms@redhat.com" target="_blank">dms@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">If the directory structure is the same across all directories and releases, is there a reason why we couldn't simply run a cron on the machine that woule regularly delete older images ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">The migration from the previous (fedora) machine on OS1 to the new CentOS server on RDO Cloud was largely manual and there wasn't any playbooks involved.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">We'd like to run full automation like upstream -infrastructure does. This would allow anyone to submit a change to our playbooks, they'd be reviewed and applied automatically.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Setting up this cron could be one part of the tasks involved in setting up the image server.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_316247670048448999gmail_signature" data-smartmail="gmail_signature"><br>David Moreau Simard<br>Senior Software Engineer | OpenStack RDO<br><br>dmsimard = [irc, github, twitter]</div></div><div><div class="h5">
<br><div class="gmail_quote">On Tue, Oct 24, 2017 at 10:55 AM, Gabriele Cerami <span dir="ltr"><<a href="mailto:gcerami@redhat.com" target="_blank">gcerami@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
we'd like to participate actively in cleaning up after ourselves the<br>
images we upload at each tripleo promotion. We are planning to do so<br>
also for the container images in dockerhub, so part of this process has<br>
to be done anyway. (maybe we should also do it in rdoregistry)<br>
Since our access to the server is limited to sftp, we are thinking about<br>
using paramiko library in our promoter script, to get the list of hashes<br>
uploaded and their mtimes, so we can delete the oldest ones.<br>
<br>
Is there any better solution ?<br>
<br>
Thanks<br>
______________________________<wbr>_________________<br>
dev mailing list<br>
<a href="mailto:dev@lists.rdoproject.org" target="_blank">dev@lists.rdoproject.org</a><br>
<a href="http://lists.rdoproject.org/mailman/listinfo/dev" rel="noreferrer" target="_blank">http://lists.rdoproject.org/ma<wbr>ilman/listinfo/dev</a><br>
<br>
To unsubscribe: <a href="mailto:rdo-list-unsubscribe@redhat.com" target="_blank">rdo-list-unsubscribe@redhat.co<wbr>m</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>