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 test scope and handle known issues with workaround #608

Merged
merged 16 commits into from
Jul 16, 2024

Conversation

keirazhang
Copy link
Contributor

  1. Amazon Linux 2 and 2023 is not officially supported by vSphere. So here excluded it from GOSC supporting list. When it is officially supported, we can then enable its GOSC testing and ask for GOSC team to fix its failures.
  2. For RHEL family OS like AlmaLinux, Rocky Linux, Oracle Linux and CentOS, their GOSC support status is as same as RHEL since release 9.0. To reduce redundant settings in linux/guest_customization/gosc_support_matrix.yml, these OS will follow RHEL's GOSC support matrix.
  3. MIRACLE LINUX is a bit different. Its GOSC was supported since 8.0.3 release. So it has different support matrix.
  4. VMware KB links will be redirected to Broadcom KB links. So this fix also replaced VMware KB links with Broadcom links. For VMware KB links in other test cases, I will create a new PR to change them.
  5. For known issues with workaround, they are handled in linux/guest_customization/handle_gosc_known_issues.yml. Currently 3 known issues were handled:
  6. From CentOS 10 and RHEL 10 , they don't have /etc/sysconfig/network-scripts, which will lead to GOSC failure on vSphere 8.0.x. In vSphere 8.0.3, an workaround fix was provided, which is to manually create this directory. Then GOSC scripts can create network config file under it.
  7. From Ubuntu 23.10 release, it doesn't have hwclock by default, which leads to perl GOSC fail on 8.0.2 and earlier releases. The workaround is to install the package. 8.0.3 has fixed it, so it won't need to install the package since 8.0.3.
  8. Oracle Linux 8.7 & 9.1 built-in cloud-init has bugs, which led to cloud-init GOSC failure. The workaround is to upgrade cloud-init.

Signed-off-by: Qi Zhang <[email protected]>
Signed-off-by: Qi Zhang <[email protected]>
Copy link
Member

@Tomorrow9 Tomorrow9 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!

@keirazhang keirazhang merged commit db6f448 into vmware:main Jul 16, 2024
@keirazhang keirazhang deleted the fix_centos10_gosc branch August 12, 2024 03:19
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