Project

General

Profile

Actions

action #112091

closed

[sle][migration][sle15sp5][HA] figure out how to publish the "supportserver", "node01" and "node02" qcow2

Added by llzhao almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Spike/Research
Target version:
-
Start date:
2022-06-07
Due date:
% Done:

100%

Estimated time:
40.00 h
Difficulty:
Actions #1

Updated by llzhao almost 2 years ago

1. Checked almost all supportserver test cases in openQA:

It seems all (migration related) supportserver test cases are using one qcow2 and the product version is SLES12-SP3.
That is all these cases on all products (sle12+ and sle15+) only need to create 2 supportserver qcow2s as following:
     "- create_hdd_ha_textmode_publish" (parent) -> "- ha_supportserver_publish" (child)

2. Also checked ha_supportserver_* in https://gitlab.suse.de/qa-css/openqa_ha_sap/-/blob/master/openQA/yaml_job_groups/ha/sle15_sp4_ha.yml

e.g.,
        - ha_supportserver_online_sle15-SP3:
            testsuite: null
            settings: &ha_supportserver_online_common
              ORIGIN_SYSTEM_VERSION: '15-SP3'
              HDD_1: ha_supportserver_upgrade_sle_%ORIGIN_SYSTEM_VERSION%_%ARCH%.qcow2
              HDD_2: ha_supportserver_upgrade_sle_%ORIGIN_SYSTEM_VERSION%_%ARCH%_luns.qcow2
              UEFI_PFLASH_VARS: openqa_support_server_sles12sp3.%ARCH%-uefi-vars.qcow2
              HDDMODEL: 'scsi-hd'
              NUMDISKS: '2'
              CLUSTER_INFOS: 'alpha:2:5'
              WORKER_CLASS: tap
              NICTYPE: tap
              SUPPORT_SERVER_ROLES: 'dhcp,dns,ntp,ssh'
              YAML_SCHEDULE: schedule/ha/bv/ha_supportserver.yaml

e.g.,
        - ha_supportserver_offline_scc_sle15-SP3:
            testsuite: null
            settings: &ha_supportserver_offline_scc_common
              ORIGIN_SYSTEM_VERSION: '15-SP3'
              HDD_1: ha_supportserver_upgrade_sle_%ORIGIN_SYSTEM_VERSION%_%ARCH%.qcow2
              HDD_2: ha_supportserver_upgrade_sle_%ORIGIN_SYSTEM_VERSION%_%ARCH%_luns.qcow2
              UEFI_PFLASH_VARS: openqa_support_server_sles12sp3.%ARCH%-uefi-vars.qcow2
              HDDMODEL: 'scsi-hd'
              NUMDISKS: '2'
              CLUSTER_INFOS: 'alpha:2:5'
              WORKER_CLASS: tap
              NICTYPE: tap
              SUPPORT_SERVER_ROLES: 'dhcp,dns,ntp,ssh'
              YAML_SCHEDULE: schedule/ha/bv/ha_supportserver.yaml

e.g.,
        - ha_supportserver_offline_dvd_sle15-SP3:
            testsuite: null
            settings: &ha_supportserver_offline_dvd_common
              ORIGIN_SYSTEM_VERSION: '15-SP3'
              HDD_1: ha_supportserver_upgrade_sle_%ORIGIN_SYSTEM_VERSION%_%ARCH%.qcow2
              HDD_2: ha_supportserver_upgrade_sle_%ORIGIN_SYSTEM_VERSION%_%ARCH%_luns.qcow2
              UEFI_PFLASH_VARS: openqa_support_server_sles12sp3.%ARCH%-uefi-vars.qcow2
              HDDMODEL: 'scsi-hd'
              NUMDISKS: '2'
              CLUSTER_INFOS: 'alpha:2:5'
              WORKER_CLASS: tap
              NICTYPE: tap
              SUPPORT_SERVER_ROLES: 'dhcp,dns,ntp,ssh'
              YAML_SCHEDULE: schedule/ha/bv/ha_supportserver.yaml

**It seems all the Settings are the same.**

**NOTE-1**: Need to create HDD_1 and HDD_2 in one job.
**NOTE-2**: But the qcow2 of node01 and node02 need to create separate qcows for specific products.

3. Checked https://gitlab.suse.de/qa-css/openqa_ha_sap/-/blob/master/openQA/yaml_job_groups/ha/development.yml

Found the publish jobs:
e.g.,
        sle-15-SP2-Online-x86_64:
        - create_hdd_ha_textmode_publish
        - ha_alpha_node01_publish
        - ha_alpha_node02_publish
        - ha_supportserver_publish

4. Checked https://openqa.suse.de/admin/test_suites

Search "ha_supportserver_upgrade_sle" fyi:

**Start after relationship**

First: create_hdd_ha_textmode_publish:
    INSTALLONLY=1
    PUBLISH_HDD_1=%DISTRI%-%VERSION%-%ARCH%-Build%BUILD%-HA-BV.qcow2
    PUBLISH_PFLASH_VARS=%DISTRI%-%VERSION%-%ARCH%-Build%BUILD%-HA-BV-uefi-vars.qcow2

Second: create_hdd_ha_textmode_publish (parent) -> ha_supportserver_publish (child):
    HDD_1=openqa_support_server_sles12sp3.%ARCH%.qcow2
    HDDVERSION=12-SP3
    PUBLISH_HDD_1=ha_supportserver_upgrade_%DISTRI%_%VERSION%_%ARCH%.qcow2
    PUBLISH_HDD_2=ha_supportserver_upgrade_%DISTRI%_%VERSION%_%ARCH%_luns.qcow2
    START_AFTER_TEST=create_hdd_ha_textmode_publish 

Search "ha_supportserver_publish" fyi:

**Parallel relationship:**

    ha_alpha_node01_publish
    HA_CLUSTER_INIT=yes
    HDD_1=%DISTRI%-%VERSION%-%ARCH%-Build%BUILD%-HA-BV.qcow2
    PARALLEL_WITH=ha_supportserver_publish
    PUBLISH_HDD_1=%DISTRI%-%VERSION%-%ARCH%-ha-%CLUSTER_NAME%-%HOSTNAME%.qcow2

    ha_alpha_node02_publish
    HA_CLUSTER_JOIN=%CLUSTER_NAME%-node01
    HDD_1=%DISTRI%-%VERSION%-%ARCH%-Build%BUILD%-HA-BV.qcow2
    HOSTNAME=%CLUSTER_NAME%-node02
    PARALLEL_WITH=ha_supportserver_publish
    PUBLISH_HDD_1=%DISTRI%-%VERSION%-%ARCH%-ha-%CLUSTER_NAME%-%HOSTNAME%.qcow2

    ha_supportserver_publish    +VERSION=12-SP3
    HDDVERSION=12-SP3
    HDD_1=openqa_support_server_sles12sp3.%ARCH%.qcow2
    PUBLISH_HDD_1=ha_supportserver_upgrade_%DISTRI%_%VERSION%_%ARCH%.qcow2
    PUBLISH_HDD_2=ha_supportserver_upgrade_%DISTRI%_%VERSION%_%ARCH%_luns.qcow2
    START_AFTER_TEST=create_hdd_ha_textmode_publish
Actions #2

Updated by llzhao almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by llzhao almost 2 years ago

In short:
It seems all supportserver test cases are using/based one qcow2 and the product version is SLES12-SP3.
There are also "PARALLEL_WITH" and "START_AFTER_TEST" need to be handle.
There are also "HDD_1" and "HDD_2" need to be handle.
See more info above.

Actions #4

Updated by llzhao almost 2 years ago

  • Subject changed from [sle][migration][sle15sp5][HA] figure out how to create the ha_supportserver_*.qcow2 to [sle][migration][sle15sp5][HA] figure out how to pulbish the "supportserver", "node01" and "node02" qcow2
Actions #5

Updated by llzhao almost 2 years ago

  • Subject changed from [sle][migration][sle15sp5][HA] figure out how to pulbish the "supportserver", "node01" and "node02" qcow2 to [sle][migration][sle15sp5][HA] figure out how to publish the "supportserver", "node01" and "node02" qcow2
Actions #6

Updated by coolgw over 1 year ago

  • Estimated time set to 40.00 h
Actions

Also available in: Atom PDF