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

[Linux] Update GOSC testing support status for Miracle Linux #555

Merged
merged 12 commits into from
Mar 8, 2024

Conversation

ZouYuhua
Copy link
Collaborator

@ZouYuhua ZouYuhua commented Mar 4, 2024

Task:
Add the GOSC support matrix based on the following info:

  1. If VM's config_guest_id = 'asianux8_64Guest' on 7.0.x, both perl and cloud-init GOSC should be skipped with reason 'Not Supported'.

  2. On 8.0.x, perl GOSC for Miracle Linux 8.4 and later, 9.x are not supported on 8.0.2 or earlier.

  3. It needs to update the version of cloud-init to 22.1 to support miraclelinux.

  4. KB https://ikb.vmware.com/s/article/88600: Guest OS Customization for Miracle Linux 8 is not fully supported in vSphere 6.7 and 7.0 (88600)

Test result:
Testing is on-going.

Copy link
Contributor

@keirazhang keirazhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed guest_id checking

linux/guest_customization/gosc_support_matrix.yml Outdated Show resolved Hide resolved
linux/guest_customization/gosc_support_matrix.yml Outdated Show resolved Hide resolved
@keirazhang keirazhang changed the title [miracle] Fix miracle gosc matrix [Linux] Update GOSC testing support status for Miracle Linux Mar 4, 2024
@ZouYuhua

This comment was marked as off-topic.

@ZouYuhua
Copy link
Collaborator Author

ZouYuhua commented Mar 6, 2024

Pass to test the code change of correcting guest_os_ansible_distribution_ver and guest_os_ansible_distribution_minor_ver for miracle linux 8.x

ok: [localhost] => {
"msg": [
"Guest OS: MIRACLE",
"Guest OS type: Linux",
"Guest OS arch: x86_64",
"Guest OS bit: 64-bit",
"Guest OS major version: 8",
"Guest OS minor version: 8",
"Guest OS version: 8.8",
"Guest OS kernel: 4.18.0-477.10.1.el8_8.x86_64",
"Guest OS release: Peony",
"Guest OS edition: ",
"Guest OS family: RedHat",
"Guest OS with desktop environment: True",
"Guest OS display manager: gdm"
]
}

@ZouYuhua
Copy link
Collaborator Author

ZouYuhua commented Mar 7, 2024

@keirazhang

Test result in vCenter 8.0.2 after code review:
ID | Name | Status | Exec Time |
+-------------------------------------------------------+
| 1 | gosc_perl_dhcp | * Not Supported | 00:01:12 |
| 2 | gosc_perl_staticip | * Not Supported | 00:00:51 |

"ansible_facts": {
"guest_os_ansible_distribution_minor_ver": "8",
"guest_os_ansible_distribution_ver": "8.8"
},

Note:
The previous test results in main and 7.0.3 are expected. No need to test again in main & 7.0.3

@keirazhang keirazhang closed this Mar 7, 2024
@keirazhang keirazhang reopened this Mar 7, 2024
@ZouYuhua
Copy link
Collaborator Author

ZouYuhua commented Mar 7, 2024

more test results:

  1. miracle linux 8.8 in main branch (run 25)
    Test Results (Total: 5, Passed: 5, Elapsed Time: 01:07:40)
    +-------------------------------------------------------------+
    | ID | Name | Status | Exec Time |
    +-------------------------------------------------------------+
    | 1 | deploy_vm_efi_paravirtual_vmxnet3 | Passed | 00:38:49 |
    | 2 | gosc_perl_dhcp | Passed | 00:06:11 |
    | 3 | gosc_perl_staticip | Passed | 00:06:36 |
    | 4 | gosc_cloudinit_dhcp | Passed | 00:07:47 |
    | 5 | gosc_cloudinit_staticip | Passed | 00:07:23 |
    +-------------------------------------------------------------+

  2. miracle linux 9.2 in 7.0u3 (run 16)
    Test Results (Total: 5, Passed: 1, Skipped: 4, Elapsed Time: 00:21:26)
    +----------------------------------------------------------------------+
    | ID | Name | Status | Exec Time |
    +----------------------------------------------------------------------+
    | 1 | deploy_vm_efi_paravirtual_vmxnet3 | Passed | 00:18:45 |
    | 2 | gosc_perl_dhcp | * Not Supported | 00:00:51 |
    | 3 | gosc_perl_staticip | * Not Supported | 00:00:36 |
    | 4 | gosc_cloudinit_dhcp | * Not Supported | 00:00:25 |
    | 5 | gosc_cloudinit_staticip | * Not Supported | 00:00:32 |
    +----------------------------------------------------------------------+

  3. miracle linux 9.2 in 80u2 (run 15)
    st Results (Total: 5, Passed: 3, Skipped: 2, Elapsed Time: 00:39:01)
    +----------------------------------------------------------------------+
    | ID | Name | Status | Exec Time |
    +----------------------------------------------------------------------+
    | 1 | deploy_vm_efi_paravirtual_vmxnet3 | Passed | 00:19:12 |
    | 2 | gosc_perl_dhcp | * Not Supported | 00:00:54 |
    | 3 | gosc_perl_staticip | * Not Supported | 00:00:58 |
    | 4 | gosc_cloudinit_dhcp | Passed | 00:06:58 |
    | 5 | gosc_cloudinit_staticip | Passed | 00:09:55 |
    +----------------------------------------------------------------------+

  4. miracle linux 9.2 in main (run 13 and rerun failure in 24)
    Test Results (Total: 5, Passed: 4, Failed: 1, Elapsed Time: 01:43:09)
    +---------------------------------------------------------------+
    | ID | Name | Status | Exec Time |
    +---------------------------------------------------------------+
    | 1 | deploy_vm_efi_paravirtual_vmxnet3 | Passed | 01:04:01 |
    | 2 | gosc_perl_dhcp | Passed | 00:09:06 |
    | 3 | gosc_perl_staticip | * Failed | 00:02:54 |
    | 4 | gosc_cloudinit_dhcp | Passed | 00:08:55 |
    | 5 | gosc_cloudinit_staticip | Passed | 00:15:42 |
    +---------------------------------------------------------------+

Test Results (Total: 1, Passed: 1, Elapsed Time: 00:17:21)
+----------------------------------------------+
| ID | Name | Status | Exec Time |
+----------------------------------------------+
| 1 | gosc_perl_staticip | Passed | 00:14:40 |
+----------------------------------------------+

@ZouYuhua
Copy link
Collaborator Author

ZouYuhua commented Mar 7, 2024

@keirazhang

Test summary:
All the testing are expected for miracle linux 8.8 and 9.2

Copy link
Contributor

@keirazhang keirazhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@ZouYuhua ZouYuhua merged commit 289c2fc into vmware:main Mar 8, 2024
@ZouYuhua ZouYuhua deleted the fix_zouy_miracle_gosc_matrix branch March 8, 2024 02:32
@keirazhang keirazhang added this to the 3.2 milestone Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants