Skip to content

Extend standard images standard to move away from fixed names #933

Closed

Description

@mbuechse

The currently stable version scs-0104-v1 enforces a certain name (scheme) for each mandatory and recommended image, along with a certain source URL.

This fixed name is

  • undesireable, except maybe for the special case of the capi image, because CSPs already have their own naming schemes in place, and duplicating images just for the sake of getting the name right confuses customers.
  • unnecessary, because Glance (the OpenStack service responsible for image managing) has viable filtering capabilities (although this needs to be confirmed).

Therefore, in a new v2 or an updated v1 of the standard, we want to be able to express the following scenario:

  • an image with
    • either os_distro=X, os_version=Y, and os_original=true (used for stock OS images such as Ubuntu 24.04 or Debian 12)
    • or name matches regex R (used for special case of capi)
  • MAY, SHOULD or MUST be present (corresponding to status=optional, recommended, or mandatory, respectively),
  • and if present, it MUST have image_source starting with one of XYZ.

From my POV, we can justify updating v1 for the following reason:

  • the added capability will not be activated by existing yaml files, so their meaning will not change,
  • changing the yaml file in a way that breaks compliance is not possible for a stable version of a certificate scope.

In other words, whatever test subject complies with current v1 will also comply with the updated v1.

I think we may even extend the yaml file, because no CSP is using os_original yet, so no breaking of compliance is to be expected.

Definition of Done:

  • Confirm that selecting images using the os_X properties is readily possible with Glance.
  • Write a blogpost docs-page article explaining how this image selection works for end users.
  • Extend the standard.
  • Also extend standard to make sure future versions of operating systems are already captured (so long as they follow the current schema, i.e., Ubuntu 26.04, Ubuntu 28.04, Debian 13, Debian 14, etc.).
  • Adapt the check script.
  • Change relevant YAML file so names are no longer enforced for stock OS images.

Activity

  1. self-assigned this
    on May 22, 2025
  2. moved this from Backlog to Doing in Sovereign Cloud Stackon Sep 16, 2025
  3. reopened this on Jan 27, 2026
  4. fkr commented on Jan 27, 2026

    @fkr
    Member

    re-opened because it was automatically closed - since #989 was merged.
    Since the definition of done is not complete, this shall not be closed yet. Raised by @depressiveRobot

  5. garloff commented on Jan 27, 2026

    @garloff
    Member

    Just in case anyone wonders how to find the right image without fixed names: https://docs.scs.community/user-docs/usage-hints/find-image/
    (merged with SovereignCloudStack/docs#326.)
    TL;DR: If everyone implements os_purpose, it's fairly simple (except with heat) - in a mixture of new (with os_purpose) and old (without), only the python SDK solution remains simple.

  6. mbuechse commented on Jan 27, 2026

    @mbuechse
    ContributorAuthor

    @garloff Thanks for the reminder! I had another look and I'm really grateful that we have this!

  7. fkr commented on Jan 27, 2026

    @fkr
    Member

    indeed, I can only chime in with @mbuechse!

  8. mbuechse commented on Jan 27, 2026

    @mbuechse
    ContributorAuthor

    Regarding the tests, I see the following new testcases:

    • scs-0104-source-debian checks image source for all public images with os_purpose=generic and os_distro=debian
    • scs-0104-source-ubuntu checks image source for all public images with os_purpose=generic and os_distro=ubuntu
    • scs-0104-source-capi checks image source and os_purpose for images whose name matches the capi regex,
    • scs-0104-image-ubuntu-latest checks presence of public image with os_purpose=generic, os_distro=ubuntu, and os_version latest LTS (2404 tolerable until 2026-04-30, then it must be 2604)
    • scs-0104-image-ubuntu-previous similarly for the previous LTS (2204 until 2026-04-30, then 2404)
    • scs-0104-image-debian-latest and scs-0104-debian-previous similarly.

    These have to be implemented and then referenced in the YAML (together with v2 of the standard, of course).

  9. moved this from Backlog to Doing in Sovereign Cloud Stackon Mar 17, 2026
  10. linked a pull request that will close this issueAdd testcases for scs-0104-v2 #1276on Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

SCS is standardizedgood first issue

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions