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

[Other] Adapt C&H test cluster to SCS Standard Images (scs-0104) #419

Closed
3 tasks done
anjastrunk opened this issue Dec 19, 2023 · 6 comments
Closed
3 tasks done

[Other] Adapt C&H test cluster to SCS Standard Images (scs-0104) #419

anjastrunk opened this issue Dec 19, 2023 · 6 comments
Labels
SCS-VP10 Related to tender lot SCS-VP10

Comments

@anjastrunk
Copy link
Contributor

anjastrunk commented Dec 19, 2023

Adapt images to SCS Standard Images (scs-0104) and evaluate its costs.

Todos:

  • Make images in C&H test cluster SCS-compatible
  • Update standard documentation with costs/cost estimation
  • Write how to and/or adaption script
@anjastrunk anjastrunk added the question Further information is requested label Dec 19, 2023
@anjastrunk anjastrunk changed the title [Other] Adapt C&H test cluster's images to SCS Standard Images (scs-0104) [Other] Adapt C&H test cluster to SCS Standard Images (scs-0104) Dec 19, 2023
@anjastrunk anjastrunk added SCS-VP10 Related to tender lot SCS-VP10 and removed question Further information is requested labels Dec 19, 2023
@cah-hbaum
Copy link
Contributor

Cost estimation for this standard can be found here.

The how to and script can be found in here and here.

@cah-hbaum
Copy link
Contributor

Test script output confirming that the cluster complies to scs-0104-v1-standard-images:

    ./iaas/standard-images/images-openstack.py -c scs-test -d ./iaas/scs-0104-v1-images.yaml:
      rc: 0
      stdout: []
      stderr:
      - 'DEBUG: Fetching image list from cloud ''scs-test'''
      - 'DEBUG: Images present: Debian 10, Debian 11, Debian 12, Ubuntu 20.04, Ubuntu
        22.04, ubuntu-capi-image v1.29.3'
      - 'DEBUG: Checking 6 image specs against 6 images'
      - 'DEBUG: Total critical / error / warning: 0 / 0 / 0'
      info: 0
      warning: 0
      error: 0
      critical: 0
      result: 1

@cah-hbaum
Copy link
Contributor

Test cluster is up and compliant, so the issue will be closed.

@cah-hbaum
Copy link
Contributor

We had some irregularities with the standard images setup by the osism-image-manager. Seems like I set the min_ram and min_disk too high. This is fixed in the next commit in accordance with the osism-image-managers default values.

@berendt
Copy link
Member

berendt commented May 8, 2024

We set the min_ram & min_disk values in the image definitions itself. E.g. for Debian: https://github.com/osism/openstack-image-manager/blob/main/etc/images/debian.yml#L8-L9

Used here: https://github.com/osism/openstack-image-manager/blob/main/openstack_image_manager/main.py#L386-L394

Do we have to fix something in our image definitions?

@cah-hbaum
Copy link
Contributor

We set the min_ram & min_disk values in the image definitions itself. E.g. for Debian: https://github.com/osism/openstack-image-manager/blob/main/etc/images/debian.yml#L8-L9

Used here: https://github.com/osism/openstack-image-manager/blob/main/openstack_image_manager/main.py#L386-L394

Do we have to fix something in our image definitions?

No, don't worry. I only wrote this for documentation reasons.
I wrote my own images.yaml and set the values for min_disk and min_ram too high (according to internal discussions on our site).
I was told later that the osism_image_manager already sets default values for some distributions like e.g. Debian you pointed to https://github.com/osism/openstack-image-manager/blob/main/etc/images/debian.yml#L8-L9. So I took the values from there.

Sorry if that caused confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SCS-VP10 Related to tender lot SCS-VP10
Projects
None yet
Development

No branches or pull requests

3 participants