Skip to content

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

Closed

Description

@anjastrunk

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

Activity

  1. added
    question
    on Dec 19, 2023
  2. 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)[/+] on Dec 19, 2023
  3. added
    SCS-VP10
    and removed
    question
    on Dec 19, 2023
  4. cah-hbaum commented on Apr 5, 2024

    @cah-hbaum
    Contributor

    Cost estimation for this standard can be found here.

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

  5. cah-hbaum commented on Apr 10, 2024

    @cah-hbaum
    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
    
  6. cah-hbaum commented on Apr 10, 2024

    @cah-hbaum
    Contributor

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

  7. cah-hbaum commented on May 8, 2024

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

  8. cah-hbaum commented on May 8, 2024

    @cah-hbaum
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCS-VP10

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions