Skip to content

baremetal: Validate VIPs are in MachineCIDR#2140

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
bcrochet:validate-vip
Aug 8, 2019
Merged

baremetal: Validate VIPs are in MachineCIDR#2140
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
bcrochet:validate-vip

Conversation

@bcrochet
Copy link
Copy Markdown
Member

@bcrochet bcrochet commented Aug 1, 2019

The API, DNS, and Ingress virtual IPs (VIPs) should be contained within
the MachineCIDR, but not ClusterNetworks, or ServiceNetworks. This adds those
validations for the baremetal platform.

Closes: #2006

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 1, 2019
Comment thread pkg/validate/validate.go Outdated
Comment thread pkg/validate/validate.go Outdated
@bcrochet
Copy link
Copy Markdown
Member Author

bcrochet commented Aug 2, 2019

/retest

bcrochet added a commit to bcrochet/dev-scripts that referenced this pull request Aug 5, 2019
openshift/installer#2140 adds validation that the VIPs are a) in the
MachineCIDR and b) not in ClusterNetworks or ServiceNetworks.

This patch defines the MachineCIDR to EXTERNAL_SUBNET in order to
satisfy the first requirement.
Comment thread pkg/types/baremetal/validation/platform.go Outdated
Comment thread pkg/types/baremetal/validation/platform.go Outdated
Comment thread pkg/types/baremetal/validation/platform.go Outdated
Comment thread pkg/types/baremetal/validation/platform.go Outdated
@stbenjam
Copy link
Copy Markdown
Member

stbenjam commented Aug 8, 2019

/test e2e-aws

The API, DNS, and Ingress virtual IPs (VIPs) should be contained within
the MachineCIDR, but not ClusterNetworks, or ServiceNetworks. This adds those
validations for the baremetal platform.

Closes: openshift#2006
@bcrochet bcrochet changed the title baremetal: Validate VIPs are not in given networks baremetal: Validate VIPs are in MachineCIDR Aug 8, 2019
@bcrochet
Copy link
Copy Markdown
Member Author

bcrochet commented Aug 8, 2019

Updated the commit message, and the title of the PR.

@abhinavdahiya
Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 8, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, bcrochet

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 8, 2019
@openshift-bot
Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@bcrochet
Copy link
Copy Markdown
Member Author

bcrochet commented Aug 8, 2019

/label platform/baremetal

@openshift-ci-robot openshift-ci-robot added the platform/baremetal IPI bare metal hosts platform label Aug 8, 2019
@bcrochet
Copy link
Copy Markdown
Member Author

bcrochet commented Aug 8, 2019

/test e2e-aws-scaleup-rhel7

@openshift-merge-robot openshift-merge-robot merged commit bd6956b into openshift:master Aug 8, 2019
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@bcrochet: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-scaleup-rhel7 38e8df8 link /test e2e-aws-scaleup-rhel7

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@metal3ci
Copy link
Copy Markdown

metal3ci commented Aug 8, 2019

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/1017/

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: Need additional validation on apiVIP and ingressVIP

7 participants