CentOS 9 Stream and RHEL 9.3 Guest Customization fails
search cancel

CentOS 9 Stream and RHEL 9.3 Guest Customization fails

book

Article ID: 381124

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Automation workflows on CentOS 9 Stream and RHEL 9.3 have started to fail after upgrading vCenter to 8.0U3B

Environment

VMware introduced the support of RHEL NetworkManager keyfile format in vCenter 8.0u3 (https://docs.vmware.com/en/VMware-vSphere/8.0/rn/vsphere-vcenter-server-803-release-notes/index.html).

Cause

When using guest customization on CentOS 9 Stream and RHEL 9.3 after upgrading to vCenter 8.0U3B /etc/NetworkManager/system-connections/VMware-customization-eth0.nmconnection is being populated with an ipv6 DNS server in the ipv4 field and when the VM tries to come online the rest of their automation failed because of broken dns configuration.

[ethernet]
 mac-address=xx:xx:xx:xx:xx:xx

[ipv4]
 address1=x.x.x.x /24
 method=manual
 gateway=x.x.x.x
 dns=xxx:xxx:xxxx::xx
 dns-search=domain.com

[ipv6]
 address1=xxx:xxx:xxxx::xx::xxxx/xx
 method=manual
 gateway= xxx:xxx:xxxx:xx::x

 
The line  dns=xxx:xxx:xxxx::xx should be under ipv6

Resolution


1. VMware by Broadcom engineering/support is aware of the issue 

The Perl customization automation needs to be updated in /usr/lib/vmware-vpx/imgcust/linux/imgcust-scripts/ to hanble both ipv4 and ipv6


2. if this is urgent, please open a support ticket and request a internal workaround

The fix will be incorporated in upcoming version of patches 8.0.3 P05