Skip to content

OpenStack: Dual stack support with BYON#6797

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
shiftstack:dualstack-support
Jul 16, 2023
Merged

OpenStack: Dual stack support with BYON#6797
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
shiftstack:dualstack-support

Conversation

@MaysaMacedo
Copy link
Contributor

@MaysaMacedo MaysaMacedo commented Jan 24, 2023

This commit adds dual stack support with bring your own network
for OpenStack platform. The new ControlPlanePort field accepts IPv4/IPv6
subnets and the network in the install config, while the machinesSubnet
that only supports IPv4 Subnets is deprecated.

Partially implements: openshift/enhancements#1365

@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 Jan 24, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 24, 2023

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 23, 2023
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 23, 2023
@MaysaMacedo MaysaMacedo force-pushed the dualstack-support branch 2 times, most recently from 8f53871 to 48035ce Compare March 10, 2023 12:38
@MaysaMacedo MaysaMacedo marked this pull request as ready for review March 10, 2023 12:39
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Mar 10, 2023
@openshift-ci openshift-ci bot requested review from EmilienM and dulek March 10, 2023 12:41
@MaysaMacedo MaysaMacedo force-pushed the dualstack-support branch 2 times, most recently from 37ed291 to 0b88531 Compare March 10, 2023 13:43
@MaysaMacedo MaysaMacedo force-pushed the dualstack-support branch 5 times, most recently from 386c284 to e2fb040 Compare April 18, 2023 16:17
@MaysaMacedo MaysaMacedo force-pushed the dualstack-support branch 3 times, most recently from 12a7fcf to 7f99510 Compare April 26, 2023 11:02
@MaysaMacedo MaysaMacedo force-pushed the dualstack-support branch 2 times, most recently from dc62708 to 6bd7d53 Compare May 17, 2023 14:30
@MaysaMacedo
Copy link
Contributor Author

/retest

@MaysaMacedo MaysaMacedo force-pushed the dualstack-support branch 2 times, most recently from e2593b5 to 737100f Compare May 19, 2023 12:46
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the network required here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, because machinesSubnet only contains info about the subnet and that would be the only info added to controlPlanePort during conversion.

This commit adds dual stack support with bring your own network
for OpenStack platform. The new ControlPlanePort field accepts IPv4/IPv6
subnets and the network in the install config, while the machinesSubnet
only supports IPv4 Subnets and is deprecated.
}

// validateMachinesSubnet validates the machines subnet and enforces proper byo subnet usage and returns a list of all validation errors
func validateMachinesSubnet(p *openstack.Platform, n *types.Networking, ci *CloudInfo, fldPath *field.Path) (allErrs field.ErrorList) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This validation function is being removed because the machineSubnets config would be converted to controlPlanePort's network config before it is validated (i.e when the deprecated config is provided by the user and not the new config)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.
The conversion happens when loading the install-config, which happens before the platform validation.

@sadasu
Copy link
Contributor

sadasu commented Jul 12, 2023

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 12, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dulek, sadasu

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

The pull request process is described 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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 12, 2023
@dulek
Copy link
Contributor

dulek commented Jul 12, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 12, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD d3c563d and 2 for PR HEAD 6df11aa in total

@MaysaMacedo
Copy link
Contributor Author

/retest-required

@MaysaMacedo
Copy link
Contributor Author

/retest

1 similar comment
@MaysaMacedo
Copy link
Contributor Author

/retest

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 169ffbf and 1 for PR HEAD 6df11aa in total

@MaysaMacedo
Copy link
Contributor Author

/test okd-images
/test okd-scos-images

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 12030a6 and 0 for PR HEAD 6df11aa in total

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 6df11aa was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 15, 2023
@MaysaMacedo
Copy link
Contributor Author

/test okd-scos-images

@MaysaMacedo
Copy link
Contributor Author

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 15, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD ec459b1 and 2 for PR HEAD 6df11aa in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 16, 2023

@MaysaMacedo: 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-aws-ovn-public-subnets 0b8853112e4380cdeac7ba08fde6a441a1c13289 link false /test e2e-aws-ovn-public-subnets
ci/prow/okd-scos-e2e-aws-upgrade 386c2844901e850c4f3f163da552d53b83d78e5f link false /test okd-scos-e2e-aws-upgrade
ci/prow/e2e-agent-ha-dualstack 6df11aa link false /test e2e-agent-ha-dualstack
ci/prow/okd-scos-e2e-aws-ovn 6df11aa link false /test okd-scos-e2e-aws-ovn
ci/prow/okd-e2e-aws-ovn-upgrade 6df11aa link false /test okd-e2e-aws-ovn-upgrade

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.

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 79a013e and 1 for PR HEAD 6df11aa in total

@openshift-merge-robot openshift-merge-robot merged commit c2d7db9 into openshift:master Jul 16, 2023
@MaysaMacedo MaysaMacedo deleted the dualstack-support branch July 16, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants