<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 25, 2023 at 5:15 AM Ewoud Kohl van Wijngaarden <<a href="mailto:ewoud%2Bcentos@kohlvanwijngaarden.nl">ewoud+centos@kohlvanwijngaarden.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, May 24, 2023 at 07:49:23AM -0700, Troy Dawson wrote:<br>
>It was pointed out that we don't have CentOS Stream's image retention<br>
>policies written down anywhere.  We're in the process of getting those up<br>
>into the docs section.  But I figured an email would get them out quicker<br>
>while we work on that.<br>
<br>
Thanks for writing down policies, that's always great because it allows <br>
for discussion.<br>
<br>
>CentOS Stream Image Retention Policies:<br>
><br>
>* Images on CentOS Cloud:<br>
><a href="https://cloud.centos.org/centos/8-stream/" rel="noreferrer" target="_blank">https://cloud.centos.org/centos/8-stream/</a><br>
><a href="https://cloud.centos.org/centos/9-stream/" rel="noreferrer" target="_blank">https://cloud.centos.org/centos/9-stream/</a><br>
>** Policy: All images are kept for a month.  After that, we only keep one<br>
>set of compose images per month, for up to a year.  (I hope that makes<br>
>sense)<br>
>** Images: container, ec2, qcow, vagrant<br>
<br>
The removal of older images hit us, since we need to point to specific <br>
versions in our Vagrant config. I know this is on the roadmap[1], but <br>
just pointing out the relationship.<br>
<br>
Another thing to note is that for a while it was nice to be able to use <br>
an older version due to a systemd bug[2]. This may have been unfortunate <br>
timing. When I read your Policy I somehow thought that only images for <br>
the past month were kept but when I look at <a href="http://cloud.centos.org" rel="noreferrer" target="_blank">cloud.centos.org</a> I see older <br>
images still exist.<br>
<br>
It looks like it comes down to:<br>
<br>
* For the past month: all images are kept<br>
* For the past year: monthly images are kept<br>
* Older: images are removed<br>
<br></blockquote><div><br></div><div>Yes, exactly.  You worded it much better than me.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Now month is an odd thing (and dates really are painful in computing). <br>
For example, if you're half way in the month, do you take the number of <br>
days in the current month or the previous. Should it be week based?<br>
(and perhaps the implementation is already that).<br>
<br>
Now tying these two discussions together: when an image is removed from <br>
<a href="http://cloud.centos.org" rel="noreferrer" target="_blank">cloud.centos.org</a>, it should also be removed from Vagrant Cloud.<br>
<br></blockquote><div><br></div><div>That sounds like a good policy for our Vagrant Cloud images.  We'll see if we can do it.</div><div>We're still working on getting vagrant images uploaded.</div><div>Thank you for the pull request by the way.</div><div>We're currently working on proper authentication, so we haven't been able to test it yet.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
[1]: <a href="https://issues.redhat.com/browse/CS-1186" rel="noreferrer" target="_blank">https://issues.redhat.com/browse/CS-1186</a><br>
[2]: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=2174645" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=2174645</a><br>
_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org" target="_blank">CentOS-devel@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/centos-devel" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/centos-devel</a><br>
<br>
</blockquote></div></div>