-
Notifications
You must be signed in to change notification settings - Fork 54
Add public_vlan validation for controlplane_network private subnet #759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/test ? |
|
@akrzos: The following commands are available to trigger required jobs: DetailsIn response to this:
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-sigs/prow repository. |
|
/test deploy-mno |
1 similar comment
|
/test deploy-mno |
|
@mcornea: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs some work
| msg: "public_vlan is enabled but controlplane_network uses the default private range. Comment out controlplane_network and controlplane_network_prefix in all.yml to use public VLAN auto-configuration." | ||
| when: | ||
| - public_vlan | default(false) | ||
| - "'198.18.0.0/16' in controlplane_network" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to check if controlplane_network is defined first. However even worse is that it seems somehow the default in the following role in the networks.yml vars file is populated before it is used thus the value remains assigned when I was debugging the CI failure. Even if we then remove that definition, a later validation for controlplane_network to be a list will also fail. We should also move from fail to assert tasks as those better match the goal of validate vars perhaps before adding more validations.
No description provided.