Closed zaneb closed 7 months ago
/cc @danwinship @bfournie
"Fixes #1613"
But https://github.com/openshift/release/pull/46286 and https://github.com/openshift/release/pull/46338 should probably merge before this, to ensure that no CI jobs unexpectedly switch network types when the default changes.
@danwinship Fixed the control flow, hopefully this actually works for the agent as well.
But https://github.com/openshift/release/pull/46286 and https://github.com/openshift/release/pull/46338 should probably merge before this, to ensure that no CI jobs unexpectedly switch network types when the default changes.
Can't we merge this and abandon all of https://github.com/openshift/release/pull/46563, https://github.com/openshift/release/pull/46286, and https://github.com/openshift/release/pull/46338?
From my reading of the commit messages, there's a bunch of jobs that don't have -sdn- in the title where we don't actually care what network type they have. With this change they'll carry on as they always have on existing release branches, but switch to ovnk on new ones. It seems to me that that's what we want, and it avoids renaming everything in the world (multiple times).
In some cases it definitely makes sense to convert the SDN job to OVN-K (eg, the "virtualmedia" jobs, https://github.com/openshift/release/pull/46338).
But there are some places where there are two jobs that are completely identical except that one of them is sdn and one is ovn, so the right fix is to drop the sdn job. (I'm not sure if that case applies to any dev-scripts-based jobs though.)
The trickier case is where there are two jobs that are nearly identical, like e2e-metal-ipi-sdn
(-ipv4) vs e2e-metal-ipi-ovn-ipv6
, where it's not clear if we still care about testing both IPv4 and IPv6 if we're not also testing both network plugins. And that seemed like a decision that was better to leave up to the individual repo owners to figure out.
and it avoids renaming everything in the world (multiple times).
https://github.com/openshift/release/pull/46563 and https://github.com/openshift/release/pull/46286 don't rename any jobs; they just change job configs to make it clearer when a job ends up using sdn.
(https://github.com/openshift/release/pull/46338 does rename jobs, but that's because it's actually flipping jobs from sdn to ovn.)
And that seemed like a decision that was better to leave up to the individual repo owners to figure out.
(of course, you are "the individual repo owners" for some of these jobs, so if you want to figure that now, go ahead...)
/test e2e-agent-compact-ipv4
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bfournie
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/cc @andfasano
/hold
Currently there are two separate issues (but somehow related) requiring to be addressed:
openshift_version
function is not defined in network.sh
and so it's not foundBut openshift/release#46286 and openshift/release#46338 should probably merge before this, to ensure that no CI jobs unexpectedly switch network types when the default changes.
done
"Fixes #1613"
(as in, "you should add that to the initial comment so it closes that issue when this merges")
/test e2e-agent-compact-ipv4
/hold cancel
Now the agent job is failing as expected
The dependencies here are much nastier than I realised, and I'm almost ready to give up on this change. This whole pile of bash is completely unmaintainable :cry:
/lgtm
OpenShiftSDN is being deprecated in 4.15, so switch the default to OVNKubernetes in the IPv4-only case (OVNk is already required for IPv6/dual-stack) to avoid installer failures.
This follows up on 8537fdd1e01fa07caa7f09ed03c6beafdacb9378, which sets OpenShiftSDN in the manifests (but not the install-config) iff it is explicitly requested.