Skip to content

baremetal: Add validation for provisioning network IPs - #2320

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
hardys:issues/2210
Oct 1, 2019
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
hardys:issues/2210

Conversation

@hardys

@hardys hardys commented Sep 5, 2019

Copy link
Copy Markdown

As mentioned in #2079 we should validate these IPs as they must
be on a different subnet than the machine CIDR, these IPs are used
to configure a dedicated network for provisioning machines via pxe.

This also adds some tests for the existing validation as a pre-requisite to adding tests for the new validation.

Closes: #2210

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Sep 5, 2019
@hardys

hardys commented Sep 5, 2019

Copy link
Copy Markdown
Author

/label platform/baremetal

@openshift-ci-robot openshift-ci-robot added the platform/baremetal IPI bare metal hosts platform label Sep 5, 2019
@metal3ci

metal3ci commented Sep 5, 2019

Copy link
Copy Markdown

@metal3ci

Copy link
Copy Markdown

@hardys

hardys commented Sep 26, 2019

Copy link
Copy Markdown
Author

/test e2e-aws-upgrade

@hardys

hardys commented Sep 27, 2019

Copy link
Copy Markdown
Author

/assign @wking

@wking

wking commented Sep 27, 2019

Copy link
Copy Markdown
Member

docs/user/metal/customization.md would be nice too.

@hardys

hardys commented Sep 27, 2019

Copy link
Copy Markdown
Author

docs/user/metal/customization.md would be nice too.

Ack - until I fix #2091 we probably don't want to encourage customization of these values, so if you don't mind can I provide docs as a follow-up and/or as part of the PR to address that issue?

@wking

wking commented Sep 27, 2019

Copy link
Copy Markdown
Member

Follow-up PR for customization.md is fine.

@metal3ci

Copy link
Copy Markdown

@metal3ci

Copy link
Copy Markdown

@hardys
hardys requested a review from wking October 1, 2019 06:54
@wking

wking commented Oct 1, 2019

Copy link
Copy Markdown
Member

/lgtm
/hold

Pull the hold if you don't want to address the currently explicit zero values; I'm fine either way.

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Oct 1, 2019
Steven Hardy added 2 commits October 1, 2019 16:34
Adds initial test for existing validation code

Related: openshift#2210
As mentioned in openshift#2079 we should validate these IPs as they must
be on a different subnet than the machine CIDR, these IPs are used
to configure a dedicated network for provisioning machines via pxe.

Closes: openshift#2210
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Oct 1, 2019
@wking

wking commented Oct 1, 2019

Copy link
Copy Markdown
Member

/lgtm
/hold cancel

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Oct 1, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hardys, wking

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

@metal3ci

metal3ci commented Oct 1, 2019

Copy link
Copy Markdown

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. platform/baremetal IPI bare metal hosts platform size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

baremetal: add validation of Provisioning network values

5 participants