Skip to content

[WIP][DNM] ic install and upgrade -> OLD#1838

Closed
ricky-rav wants to merge 6 commits intoopenshift:masterfrom
ricky-rav:ICinstall
Closed

[WIP][DNM] ic install and upgrade -> OLD#1838
ricky-rav wants to merge 6 commits intoopenshift:masterfrom
ricky-rav:ICinstall

Conversation

@ricky-rav
Copy link
Contributor

@ricky-rav ricky-rav commented Jun 13, 2023

Old code for IC in standalone openshift only. Doesn't work with hypershift.

-> Current reference for IC support in CNO is #1874.

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 13, 2023
@openshift-ci openshift-ci bot requested review from danwinship and tssurya June 13, 2023 09:04
@ricky-rav ricky-rav force-pushed the ICinstall branch 4 times, most recently from ca1b3e4 to 4f821f7 Compare June 14, 2023 12:39
@ricky-rav ricky-rav force-pushed the ICinstall branch 5 times, most recently from 74f7c30 to c474fd1 Compare June 22, 2023 16:53
@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jun 22, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ricky-rav
Once this PR has been reviewed and has the lgtm label, please assign fepan for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ricky-rav
Once this PR has been reviewed and has the lgtm label, please assign fepan for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ricky-rav ricky-rav force-pushed the ICinstall branch 3 times, most recently from 53ec5d5 to 05ba374 Compare June 26, 2023 19:51
@ricky-rav ricky-rav changed the title [WIP][DNM] ic install [WIP][DNM] ic install and upgrade Jun 29, 2023
@ricky-rav ricky-rav force-pushed the ICinstall branch 3 times, most recently from 838e77b to cf2aaa2 Compare June 29, 2023 16:45
@tssurya
Copy link
Contributor

tssurya commented Jun 29, 2023

/retest-required

@ricky-rav ricky-rav force-pushed the ICinstall branch 2 times, most recently from 262bc4e to 685070f Compare July 3, 2023 12:57
@tssurya
Copy link
Contributor

tssurya commented Jul 3, 2023

/retest

@tssurya
Copy link
Contributor

tssurya commented Jul 6, 2023

/retest

@ricky-rav ricky-rav force-pushed the ICinstall branch 3 times, most recently from d062a1a to e7d0a85 Compare July 10, 2023 20:55
@ricky-rav ricky-rav force-pushed the ICinstall branch 2 times, most recently from da9ee61 to e1ce2f2 Compare July 20, 2023 08:43
@ricky-rav ricky-rav changed the title [WIP][DNM] ic install and upgrade [WIP][DNM] ic install and upgrade -> OLD Jul 20, 2023
ricky-rav and others added 6 commits July 21, 2023 17:30
- Determine OVN interconnect zone mode by inspecting an (optional) configMap; apply the desired zone mode.
- upgrade from non-IC to IC OVN-K by going through an intermediate step with 1-zone
- Switch from IC single zone to IC multizone (as in upgrades) and back (not fully supported yet, for internal use only)

Avoid clashes between single-zone ovnkube-master (using ports 9102, 9641, 9642, 29102) and multizone ovnkube-node (initially using ports 9103, 9105, 9102, 29102, 29103) during upgrade from 4.13 and avoid using ports reserved for the storage components, as described in https://github.com/openshift/enhancements/blob/master/dev-guide/host-port-registry.md  This caused the storage operator to never be available after installation of or upgrade to 4.14.

In multizone ovnkube-node let's now have:
- 9103, 9105, 29103 (which don't collide with single-zone ovnkube-master)
- 9112, 9112 9113, 29113 so as to not collide with single-zone ovnkube-master

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
In the very last step of the 2-phase upgrade to OVN interconnect, we remove the IC configmap.
At this point, SetFromPods from pod_status.go won't be called any more, because all changes to the daemonsets have been processed. Patch the ovnk master daemonset with a dummy annotation to trigger status recalculation.

TODO: find a better way to run SetFromPods instead of updating ovnk master annotations

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
Signed-off-by: Flavio Fernandes <flaviof@redhat.com>
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 26, 2023
@openshift-merge-robot
Copy link
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 26, 2023

@ricky-rav: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-vsphere-ovn-windows 5816049 link true /test e2e-vsphere-ovn-windows
ci/prow/e2e-aws-ovn-serial 5816049 link false /test e2e-aws-ovn-serial
ci/prow/e2e-azure-ovn 5816049 link false /test e2e-azure-ovn
ci/prow/e2e-aws-ovn-windows 5816049 link true /test e2e-aws-ovn-windows
ci/prow/e2e-vsphere-ovn 5816049 link false /test e2e-vsphere-ovn
ci/prow/e2e-ovn-step-registry 5816049 link false /test e2e-ovn-step-registry
ci/prow/e2e-gcp-ovn-upgrade 5816049 link false /test e2e-gcp-ovn-upgrade
ci/prow/e2e-metal-ipi-ovn-ipv6 5816049 link true /test e2e-metal-ipi-ovn-ipv6
ci/prow/e2e-network-mtu-migration-ovn-ipv6 5816049 link false /test e2e-network-mtu-migration-ovn-ipv6
ci/prow/e2e-openstack-sdn 5816049 link false /test e2e-openstack-sdn
ci/prow/e2e-aws-ovn-network-migration 5816049 link true /test e2e-aws-ovn-network-migration
ci/prow/e2e-ovn-ipsec-step-registry 5816049 link false /test e2e-ovn-ipsec-step-registry
ci/prow/e2e-vsphere-ovn-dualstack 5816049 link false /test e2e-vsphere-ovn-dualstack
ci/prow/e2e-network-mtu-migration-ovn-ipv4 5816049 link false /test e2e-network-mtu-migration-ovn-ipv4
ci/prow/e2e-openstack-ovn 5816049 link false /test e2e-openstack-ovn
ci/prow/e2e-metal-ipi-ovn-ipv6-ipsec 5816049 link false /test e2e-metal-ipi-ovn-ipv6-ipsec
ci/prow/e2e-gcp-ovn 5816049 link true /test e2e-gcp-ovn
ci/prow/4.15-upgrade-from-stable-4.14-images 5816049 link true /test 4.15-upgrade-from-stable-4.14-images

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ricky-rav ricky-rav closed this Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants