Skip to content

[Feature Request] Ability to phase out old OS images #684

Closed

Description

@martinmo

Motivated by #682 (comment).

We need to discuss:

  • 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

Activity

  1. added
    enhancement
    IaaS
    SCS is standardized
    SCS-VP10
    on Aug 2, 2024
  2. mbuechse commented on Aug 2, 2024

    @mbuechse
    Contributor

    @martinmo assigned this to you -- please bring this before Team IaaS, or reassign it to me if you think I should do it.

  3. mbuechse commented on Aug 5, 2024

    @mbuechse
    Contributor

    @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.

  4. martinmo commented on Aug 7, 2024

    @martinmo
    MemberAuthor

    Discussed in the IaaS call today:

    • 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)

    source: https://docs.openstack.org/api-ref/image/v2/#create-image

  5. martinmo commented on Aug 7, 2024

    @martinmo
    MemberAuthor

    And:

    • Users might have extended license for dists that are EOL for the general public.
    • Be optimistic: image contain the version, rely on user to choose latest version.
  6. mbuechse commented on Aug 7, 2024

    @mbuechse
    Contributor

    I think there may be use cases for this, just not EOL

  7. added this to the R7 (v8.0.0) milestone on Aug 7, 2024
  8. self-assigned this
    on Aug 7, 2024
  9. chrisschwa commented on Nov 18, 2025

    @chrisschwa
    Contributor

    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.

  10. mbuechse commented on Nov 18, 2025

    @mbuechse
    Contributor

    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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

IaaSSCS is standardizedSCS-VP10enhancement

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions