Project

General

Profile

Actions

action #112664

closed

[sle][migration][sle15sp5][HA] Publish the "supportserver", "node01" and "node02" qcow2 in O.S.D (based on sle15sp4, x86_64)

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-17
Due date:
% Done:

100%

Estimated time:
40.00 h
Difficulty:

Description

Publish the "supportserver", "node01" and "node02" qcow2 in O.S.D

== step-1. Chose a openQA job group for debug: Development / Migration: HA
https://openqa.suse.de/group_overview/184

== step-2. Chose a product to publish: sle12sp3 the oldest product in HA job group

== step-3. Prepare the yaml schedule file
https://openqa.suse.de/admin/job_templates/184?
Here is the draft one (deleted some Settings in case of security info leak):

# Testing purpose
defaults:
  x86_64:
    machine: 64bit
    priority: 10
    settings:
      TIMEOUT_SCALE: '4'
      VIDEOMODE: text
products:
  sle-12-SP3-Server-DVD-HA-x86_64_mig:
    distri: sle
    flavor: Server-DVD-HA
    version: 12-SP3
  sle-15-SP4-Full-x86_64:
    distri: sle
    flavor: Full
    version: 15-SP4
scenarios:
  x86_64:
    # Publish qcow2 (textmodehdd, supprotserver, node01, node02) tests: added postfix '_mig' for qcows
    sle-12-SP3-Server-DVD-HA-x86_64_mig:
    - create_hdd_ha_textmode_publish_mig:
...
    - ha_alpha_node01_publish_mig:
...
    - ha_alpha_node02_publish_mig: 
 ...
    - ha_supportserver_publish_mig:       
...
    ##########sle-15-SP4-Full-x86_64##########
    sle-15-SP4-Full-x86_64:
    ########## common settings ##########
    # MIGRATION OFFLINE DVD: common settings (!!! do not triger these 3 cases)
    # !!! Do not triger this case
    - ha_migration_offline_dvd_common_mig:
...
    # !!! Do not triger this case
    - ha_migration_offline_dvd_verify_common_mig:
...
    # !!! Do not triger this case
    - ha_supportserver_offline_dvd_sle15-SP3_mig:
        testsuite: null
        settings: &ha_supportserver_offline_dvd_common_mig
...
    ########## migration ##########
    # MIGRATION OFFLINE DVD 12 SP3 LTSS
    - migration_offline_dvd_sle12sp3_ltss_ha_alpha_node01_mig:
...
    ########## verify ##########
    # MIGRATION OFFLINE DVD verify 12 SP3 LTSS
    - migration_offline_dvd_verify_sle12sp3_ltss_ha_alpha_node01_mig:
        testsuite: null
        settings:
          <<: *ha_migration_offline_dvd_verify_common_mig
          HOSTNAME: '%CLUSTER_NAME%-node01'
          ORIGIN_SYSTEM_VERSION: '12-SP3'
          START_AFTER_TEST: 'migration_offline_dvd_sle12sp3_ltss_ha_alpha_node01_mig'
    - migration_offline_dvd_verify_sle12sp3_ltss_ha_alpha_node02_mig:
        testsuite: null
        settings:
          <<: *ha_migration_offline_dvd_verify_common_mig
          HOSTNAME: '%CLUSTER_NAME%-node02'
          ORIGIN_SYSTEM_VERSION: '12-SP3'
          START_AFTER_TEST: 'migration_offline_dvd_sle12sp3_ltss_ha_alpha_node02_mig'
    - ha_supportserver_offline_dvd_sle12-SP3_mig:
        testsuite: null
        settings:
          <<: *ha_supportserver_offline_dvd_common_mig
          ORIGIN_SYSTEM_VERSION: '12-SP3'

== step-4. trigger the jobs
4.1. how to trigger job group [using your branch just in case]

/usr/share/openqa/script/client isos post --host http://openqa.nue.suse.com --apikey $key --apisecret $secret _GROUP_ID=184 DISTRI=sle VERSION=12-SP3 FLAVOR=Server-DVD-HA ARCH=x86_64 CASEDIR=https://github.com/lilyeyes/os-autoinst-distri-opensuse.git#ha

4.2. how to trigger publish qcow2 cases <"createhdd", "supportserver", "node01" and "node02" must be triggered together>

That is:
TEST=\
create_hdd_ha_textmode_publish_mig,\
ha_alpha_node01_publish_mig,\
ha_alpha_node02_publish_mig,\
ha_supportserver_publish_mig

/usr/share/openqa/script/client isos post --host http://openqa.nue.suse.com --apikey $key --apisecret $secret _GROUP_ID=184 DISTRI=sle VERSION=15-SP4 FLAVOR=Full ARCH=x86_64 TEST=$TEST BUILD=151.1 ISO=SLE-15-SP4-Full-x86_64-Build151.1-Media1.iso MIRROR_FTP=ftp://openqa.suse.de/SLE-15-SP4-Full-x86_64-Build151.1-Media1 MIRROR_HTTP=http://openqa.suse.de/assets/repo/SLE-15-SP4-Full-x86_64-Build151.1-Media1 REPO_0=SLE-15-SP4-Full-x86_64-Build151.1-Media1

Actions

Also available in: Atom PDF