[CentOS-devel] CentOS Stream image retention policies

Thu May 25 13:14:36 UTC 2023
Troy Dawson <tdawson at redhat.com>

On Thu, May 25, 2023 at 5:15 AM Ewoud Kohl van Wijngaarden <
ewoud+centos at kohlvanwijngaarden.nl> wrote:

> On Wed, May 24, 2023 at 07:49:23AM -0700, Troy Dawson wrote:
> >It was pointed out that we don't have CentOS Stream's image retention
> >policies written down anywhere.  We're in the process of getting those up
> >into the docs section.  But I figured an email would get them out quicker
> >while we work on that.
>
> Thanks for writing down policies, that's always great because it allows
> for discussion.
>
> >CentOS Stream Image Retention Policies:
> >
> >* Images on CentOS Cloud:
> >https://cloud.centos.org/centos/8-stream/
> >https://cloud.centos.org/centos/9-stream/
> >** Policy: All images are kept for a month.  After that, we only keep one
> >set of compose images per month, for up to a year.  (I hope that makes
> >sense)
> >** Images: container, ec2, qcow, vagrant
>
> The removal of older images hit us, since we need to point to specific
> versions in our Vagrant config. I know this is on the roadmap[1], but
> just pointing out the relationship.
>
> Another thing to note is that for a while it was nice to be able to use
> an older version due to a systemd bug[2]. This may have been unfortunate
> timing. When I read your Policy I somehow thought that only images for
> the past month were kept but when I look at cloud.centos.org I see older
> images still exist.
>
> It looks like it comes down to:
>
> * For the past month: all images are kept
> * For the past year: monthly images are kept
> * Older: images are removed
>
>
Yes, exactly.  You worded it much better than me.


> Now month is an odd thing (and dates really are painful in computing).
> For example, if you're half way in the month, do you take the number of
> days in the current month or the previous. Should it be week based?
> (and perhaps the implementation is already that).
>
> Now tying these two discussions together: when an image is removed from
> cloud.centos.org, it should also be removed from Vagrant Cloud.
>
>
That sounds like a good policy for our Vagrant Cloud images.  We'll see if
we can do it.
We're still working on getting vagrant images uploaded.
Thank you for the pull request by the way.
We're currently working on proper authentication, so we haven't been able
to test it yet.


> [1]: https://issues.redhat.com/browse/CS-1186
> [2]: https://bugzilla.redhat.com/show_bug.cgi?id=2174645
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20230525/1fa26fa3/attachment-0002.html>