Skip to content

Commit

Permalink
[test] Use IPv6 disabled template for Windows 2022
Browse files Browse the repository at this point in the history
Switch to using the IPv6 disabled template for Windows Server 2022 to
mitigate issues seen in CI when the job lands in IBM vCenter where the
DHCP server hands out IPv6 addresses causing `oc adm node-logs` test to
fail. To be consistent update the machineset.sh script to also use the
same template.
  • Loading branch information
aravindhp committed Apr 12, 2023
1 parent 08fd4ef commit e419d3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hack/machineset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ get_vsphere_ms() {

# set golden image template name
# TODO: read from parameter
template="windows-golden-images/windows-server-2022-template"
template="windows-golden-images/windows-server-2022-template-ipv6-disabled"

# TODO: Reduce the number of API calls, make just one call
# to `oc get machines` and pass the data around. This is the
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/providers/vsphere/vsphere.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func (p *Provider) newVSphereMachineProviderSpec() (*mapi.VSphereMachineProvider
// defined in the job spec.
vmTemplate := os.Getenv("VM_TEMPLATE")
if vmTemplate == "" {
vmTemplate = "windows-golden-images/windows-server-2022-template"
vmTemplate = "windows-golden-images/windows-server-2022-template-ipv6-disabled"
}

log.Printf("creating machineset based on template %s\n", vmTemplate)
Expand Down

0 comments on commit e419d3b

Please sign in to comment.