-
Notifications
You must be signed in to change notification settings - Fork 1.5k
IBMCloud: BYON Enablement #6183
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
IBMCloud: BYON Enablement #6183
Conversation
3f3c05f to
f40e80e
Compare
|
/hold |
8a965fe to
ef14209
Compare
|
/test e2e-ibmcloud |
|
MAPI patch merged. Retesting |
|
API and CI appears to be a bit flaky Hoping a retrigger helps. /retest |
|
So far, I don't think the other failures (libvirt/openstack) are related to changes. So I think this is good for review now. |
|
/unhold |
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.
is any additional unit test coverage possible with the addition of these new parameters?
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.
Let me take a look quick
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.
I think we have some testing coverage for the subnets (these added parameters) as part of TestValidate.
And since neither of those parameters (control plane subnets and compute subnets) are used in the ValidatePreExitingPublicDNS code, I think it's okay to just default them to nil and basically ignore them.
I will see about adding a metadata_test.go suite in a future PR however, so we have more fine grained testing of the metadata.go functions. Perhaps something I can get done next week or so. If that's cool.
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.
does access to m.client need to be wrapped in a mutex here as done in ControlPlaneSubnets and ComputeSubnets?
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.
That's not a bad idea, I can add that.
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.
added
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.
what is the impact of results.ID being nil? does this imply an error or does this imply that a given subnet name wasnt found?
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.
Yeah, it's probably better raising an error like the other checks. I'll update.
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.
updated
rvanderp3
left a comment
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.
overall LGTM, i left a couple of comments/questions
Setup enablement for Bring Your Own Network support on IBM Cloud using IPI.
ef14209 to
486b5e5
Compare
|
/lgtm |
|
/retest |
|
@cjschaef: The following tests 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/test-infra repository. I understand the commands that are listed here. |
|
/assign |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jstuever The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Setup enablement for Bring Your Own Network support on IBM Cloud
using IPI.