Skip to content

Commit

Permalink
CNI live migration: add jobs to CNO and OVN-K (openshift#46805)
Browse files Browse the repository at this point in the history
For details of the CNI migration feature
see the feature enhancement PR [1].

Within o/origin, there is a suite for live migration.
The suite accepts one environment variable.
The value of this environment variable controls
which CNI we are migrating to and optionally, if we
want to trigger rollback. Rollback will only start
once live migration to the target CNI is complete.
If the environemnt variables value is blank, live
migration test will be skipped. For more info,
see the o/origin live migration PR [2].

Note: enabling of eip feature tests depends on fixing
a bug [3]. A bug to track this enabling has also been
created [4].

[1] openshift/enhancements#1064
[2] openshift/origin#28462
[3] https://issues.redhat.com/browse/OCPBUGS-26196
[4] https://issues.redhat.com/browse/NP-884

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
  • Loading branch information
martinkennelly authored and memodi committed Mar 14, 2024
1 parent dbac781 commit df61e93
Show file tree
Hide file tree
Showing 33 changed files with 3,273 additions and 0 deletions.
Expand Up @@ -206,6 +206,39 @@ tests:
NETWORK_TYPE: OVNKubernetes
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- as: e2e-aws-ovn-network-migration
steps:
cluster_profile: aws
Expand Down
Expand Up @@ -202,6 +202,39 @@ tests:
NETWORK_TYPE: OVNKubernetes
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- as: e2e-aws-ovn-network-migration
steps:
cluster_profile: aws
Expand Down
Expand Up @@ -207,6 +207,39 @@ tests:
NETWORK_TYPE: OVNKubernetes
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- as: e2e-aws-ovn-network-migration
steps:
cluster_profile: aws
Expand Down
Expand Up @@ -206,6 +206,39 @@ tests:
NETWORK_TYPE: OVNKubernetes
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- as: e2e-aws-ovn-network-migration
steps:
cluster_profile: aws
Expand Down
Expand Up @@ -270,6 +270,39 @@ tests:
- chain: create-infra-move-ingress-monitoring-registry
workflow: openshift-qe-node-density-cni
timeout: 5h0m0s
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- always_run: false
as: e2e-aws-ovn-network-migration
optional: true
Expand Down
Expand Up @@ -270,6 +270,39 @@ tests:
- chain: create-infra-move-ingress-monitoring-registry
workflow: openshift-qe-node-density-cni
timeout: 5h0m0s
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- always_run: false
as: e2e-aws-ovn-network-migration
optional: true
Expand Down
Expand Up @@ -271,6 +271,39 @@ tests:
- chain: create-infra-move-ingress-monitoring-registry
workflow: openshift-qe-node-density-cni
timeout: 5h0m0s
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- always_run: false
as: e2e-aws-ovn-network-migration
optional: true
Expand Down
Expand Up @@ -270,6 +270,39 @@ tests:
- chain: create-infra-move-ingress-monitoring-registry
workflow: openshift-qe-node-density-cni
timeout: 5h0m0s
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- always_run: false
as: e2e-aws-ovn-network-migration
optional: true
Expand Down
Expand Up @@ -205,6 +205,39 @@ tests:
NETWORK_TYPE: OVNKubernetes
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- as: e2e-aws-ovn-network-migration
steps:
cluster_profile: aws
Expand Down
Expand Up @@ -201,6 +201,39 @@ tests:
NETWORK_TYPE: OVNKubernetes
TEST_SUITE: openshift/conformance/parallel
workflow: openshift-e2e-openstack-ipi
- as: e2e-aws-live-migration-sdn-ovn
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 3h0m0s
- as: e2e-aws-live-migration-sdn-ovn-rollback
optional: true
steps:
cluster_profile: aws
env:
FEATURE_SET: TechPreviewNoUpgrade
OVERRIDE_OPENSHIFT_SDN_DEPRECATION: "true"
TEST_SDN_LIVE_MIGRATION_OPTIONS: target-cni=OVNKubernetes,rollback=true
TEST_SUITE: openshift/network/live-migration
test:
- ref: ovn-sdn-migration-feature-migration-config-egress-firewall
- ref: ovn-sdn-migration-feature-migration-config-multicast
- ref: openshift-e2e-test
- ref: ovn-sdn-migration-feature-migration-validate-egress-firewall
- ref: ovn-sdn-migration-feature-migration-validate-multicast
workflow: openshift-e2e-aws-sdn
timeout: 4h0m0s
- as: e2e-aws-ovn-network-migration
steps:
cluster_profile: aws
Expand Down

0 comments on commit df61e93

Please sign in to comment.