Repository navigation
Labels
Description
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
blogpostdocs-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.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fkr commentedon Jan 27, 2026
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
garloff commentedon Jan 27, 2026
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 (withos_purpose) and old (without), only the python SDK solution remains simple.mbuechse commentedon Jan 27, 2026
@garloff Thanks for the reminder! I had another look and I'm really grateful that we have this!
fkr commentedon Jan 27, 2026
indeed, I can only chime in with @mbuechse!
mbuechse commentedon Jan 27, 2026
Regarding the tests, I see the following new testcases:
scs-0104-source-debianchecks image source for all public images withos_purpose=genericandos_distro=debianscs-0104-source-ubuntuchecks image source for all public images withos_purpose=genericandos_distro=ubuntuscs-0104-source-capichecks image source and os_purpose for images whose name matches the capi regex,scs-0104-image-ubuntu-latestchecks presence of public image withos_purpose=generic,os_distro=ubuntu, andos_versionlatest LTS (2404 tolerable until 2026-04-30, then it must be 2604)scs-0104-image-ubuntu-previoussimilarly for the previous LTS (2204 until 2026-04-30, then 2404)scs-0104-image-debian-latestandscs-0104-debian-previoussimilarly.These have to be implemented and then referenced in the YAML (together with v2 of the standard, of course).