You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Ability to phase out old OS images #684
Should SCS standards enforce phasing out (or even banning) old OS images which are not maintained anymore?
If so, how? Suggestion by @mbuechse is to introduce new status values in the YAML specified by the standard images standard: discouraged and forbidden.
How should deletion be implemented? e.g., move to visibility community
general tendency to enforce this in the certification was "no"
real deletion should be avoided (that's why I left open the "implementation" of that in my initial comment, such as with visibility community)
another approach is using os_hidden
deletion is almost certainly not possible because of clone dependencies e.g. in Ceph
warnings should be avoided (warning fatigue)
state discouraged could be ok
OpenStack API docs about os_hidden property:
This field controls whether an image is displayed in the default image-list response. A “hidden” image is out of date somehow (for example, it may not have the latest updates applied) and hence should not be a user’s first choice, but it’s not deleted because it may be needed for server rebuilds. By hiding it from the default image list, it’s easier for end users to find and use a more up-to-date version of this image. (Since Image API v2.7)
OpenStack API docs about community visibility:
Any user may read the image and its data payload, but the image does not appear in the default image list of any user other than the owner.
(This visibility value was added in the Image API v2.5)
As discussed in the issue there are real problems with deleting old images if not even impossible because of links between instances/images and ceph rbds linked aswell to images for dedup and other functionality.
the os_hidden field can be used to mark images invisible.
I still think it should be possible to enforce phasing out (even if by means of using os_hidden or visibitly private) for images that are known to be dangerous...
Activity
mbuechse commentedon Aug 2, 2024
@martinmo assigned this to you -- please bring this before Team IaaS, or reassign it to me if you think I should do it.
mbuechse commentedon Aug 5, 2024
@martinmo just FYI, this change does not require a new major version; however, we should probably also extend https://docs.scs.community/standards/scs-0104-v1-standard-images#yaml-lifecycle to include the case that some formerly optional image becomes forbidden, in which case a new yaml would have to be created.
martinmo commentedon Aug 7, 2024
Discussed in the IaaS call today:
community)os_hiddenOpenStack API docs about
os_hiddenproperty:OpenStack API docs about
communityvisibility:source: https://docs.openstack.org/api-ref/image/v2/#create-image
martinmo commentedon Aug 7, 2024
And:
mbuechse commentedon Aug 7, 2024
I think there may be use cases for this, just not EOL
chrisschwa commentedon Nov 18, 2025
As discussed in the issue there are real problems with deleting old images if not even impossible because of links between instances/images and ceph rbds linked aswell to images for dedup and other functionality.
the os_hidden field can be used to mark images invisible.
mbuechse commentedon Nov 18, 2025
I still think it should be possible to enforce phasing out (even if by means of using os_hidden or visibitly private) for images that are known to be dangerous...