Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align IaaS Image metadata between SCS and Gaia-X #66

Closed
anjastrunk opened this issue Oct 24, 2023 · 4 comments
Closed

Align IaaS Image metadata between SCS and Gaia-X #66

anjastrunk opened this issue Oct 24, 2023 · 4 comments
Assignees
Labels
SCS is standardized SCS is standardized SCS-VP10 Related to tender lot SCS-VP10

Comments

@anjastrunk
Copy link
Contributor

SCS describes images with a set of meta data, which are defined in Image Metadata Standards.

As a provider, I want to publish my image properties within a Gaia-X Credential. Gaia-X Credential schema has to offer appropriate vocabulary to describe image metadata from Image Metadata Standards.

@anjastrunk anjastrunk added the SCS-VP10 Related to tender lot SCS-VP10 label Oct 24, 2023
@anjastrunk anjastrunk moved this from Backlog to Doing in Sovereign Cloud Stack Oct 24, 2023
@anjastrunk
Copy link
Contributor Author

anjastrunk commented Oct 24, 2023

Technical requirements and features

Gaia-X provides dedicated classed, called VM_Image and PXI_Image for virtual and bare metal images. The attributes of these classes to describe technical requirements and features are limited to requirements for CPU and RAM. Gaia-X Credential Schema has to be updated by properties proposed by https://docs.openstack.org/glance/latest//admin/useful-image-properties. I did this in MR !190.

Mapping SCS to Gaia-X

SCS Image metadata attribute of Gaia-X class VM_Image comments
architecture cpuReq.cpuArchitecture Gaia-X supports x86_32, x86_64, AArch-32, AArch-64, and, RISC-V, only. The mapping is as follows:
- i686: x86_32
- x86_64, ia64: x86_64
- aarch6: AArch-32
- alpha, armv7l, lm32, openrisc, parisc, parisc64, unicore32: RISC-V
All other architecture types in image properties are mapped to others
min_ram ramReq.Memory.value
min_disk_size rootDiskReq.Disk.value
os_version operatingSystem.version
os_distro operatingSystem.distribution
hw_rng_model hwRngType
hw_disk_bus rootDiskReq.diskBusType
os_secure_boot secureBoot
hw_firmware_type firmwareType
hw_watchdog_action watchDogAction
hw_mem_encryption ramReq.hardwareEncryption
hw_pmu vPMU
hw_video_ram videoRamSize
hw_vif_multiqueue_enabled multiQueues

@anjastrunk
Copy link
Contributor Author

anjastrunk commented Oct 24, 2023

Image handling aspects

Image updating

Gaia-X does not provide any attributes to describe providers frequency on updating images. These capabilities have to be added to Gaia-X Credential Schema, see MR !190.

Image Origin

SCS dictates two mandatory attributes. image_source point to the URL to download the image, which is a technical properties with no need to include this information into Gaia-X Credentials. image_description contains further information with release notes and other human readable data about the image. This metadata can be mapped to Gaia-X optional attribute description, which is part of each Gaia-X entity. SCS's optional attribute managed_by_VENDOR can be mapped as part of Gaia-X attribute description

Image build info

Gaia-X does not provide possibilities to describe image's build information. Gaia-X Credential Schema have to be extended, see !190.

Details on image's check sum are already support by Gaia-X via special class CheckSum

Licensing / Maintenance subscription / Support

Gaia-X models VM images as Software Resources. According to Gaia-X [Trust Framework](https://docs.gaia-x.eu/policy-rules-committee/trust-framework/latest/, a Software Resources requires the definition of the license and the copyright owner. Other attributes with respect to licensing, maintenance subscription and support are not provided by Gaia-X and have to be added, see MR !190.

Mapping SCS to Gaia-X

SCS Image metadata attribute of Gaia-X class VM_Image Comments
replace_frequency updateStrategy.replaceFrequency
hotfix_hours updateStrategy.hotfixHours
uuid_validity updateStrategy.validUntil
provided_until updateStrategy.providedUntil
image_source none technical property required at runtime and not relevant for Gaia-X Credentials.
image_description description
managed_by_VENDOR description
image_build_date buildDate
image_original_user none technical property required at runtime and not relevant for Gaia-X Credentials.
patchlevel patchLevel
os_hash_algo checkSum.algo
os_hash_value checkSum.value
license_required license License MUST point to SPDX identifiers or URL to document. Based license and the value of attribute licenseIncluded, customers can deduce if they have to bring their own license or not. Content of license as defined by Gaia-X attribute license, is currently not support by SCS, see SovereignCloudStack/standards#369
subscription_included subscription_included
licenseIncluded licenseIncluded
maintained_until maintained_until
l1_support_contact none technical property required at runtime and not relevant for Gaia-X Credentials.

@anjastrunk anjastrunk self-assigned this Oct 26, 2023
@anjastrunk anjastrunk added SCS is standardized SCS is standardized IaaS Issues or pull requests relevant for Team1: IaaS and removed IaaS Issues or pull requests relevant for Team1: IaaS labels Oct 26, 2023
@anjastrunk
Copy link
Contributor Author

Update SCS Gaia-X Credential Generator in #67

@anjastrunk
Copy link
Contributor Author

Closed with PR #67

@github-project-automation github-project-automation bot moved this from Doing to Done in Sovereign Cloud Stack Mar 26, 2024
@anjastrunk anjastrunk changed the title Align Image metadata between SCS and Gaia-X Align IaaS Image metadata between SCS and Gaia-X Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SCS is standardized SCS is standardized SCS-VP10 Related to tender lot SCS-VP10
Projects
Status: Done
Development

No branches or pull requests

1 participant