-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CORS-2271: IBMCloud: Add DNS Service support - installconfig #6255
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
CORS-2271: IBMCloud: Add DNS Service support - installconfig #6255
Conversation
|
Skipping CI for Draft Pull Request. |
56fdc1b to
2114650
Compare
2114650 to
5c600eb
Compare
|
@cjschaef: The
The following commands are available to trigger optional jobs:
Use
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/test-infra repository. |
|
/test aro-unit |
|
/test golint |
5c600eb to
c0dad3f
Compare
|
/test gofmt |
|
/retitle CORS-2255: IBMCloud: Add DNS Service support - installconfig |
|
/retitle CORS-2271: IBMCloud: Add DNS Service support - installconfig |
|
/retitle CORS-2271: IBMCloud: Add DNS Service support - installconfig |
|
/test images |
|
The core linting tests all finally got kicked off properly and have passed. Will see about getting the remaining e2e tests to at least run now. /retest |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: patrickdillon 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 |
23471ae to
146ae30
Compare
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.
I left a few questions, overall looks good.
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.
| "github.com/openshift/installer/pkg/types" | |
| "github.com/pkg/errors" | |
| "github.com/pkg/errors" | |
| "github.com/openshift/installer/pkg/types" |
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
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.
could we make a new type here for instanceType and create constants for "DNS" and "CIS"?
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.
Sure, I can do 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.
Done
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.
| "github.com/openshift/installer/pkg/types" | |
| "github.com/pkg/errors" | |
| "github.com/pkg/errors" | |
| "github.com/openshift/installer/pkg/types" |
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
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.
| "github.com/IBM/go-sdk-core/v5/core" | |
| "github.com/openshift/installer/pkg/types" | |
| "github.com/IBM/go-sdk-core/v5/core" | |
| "github.com/openshift/installer/pkg/types" |
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
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.
Do we want to allow access of this variable outside the protection of the mutex?
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 that is acceptable, since if the value isn't set, it get locked by the mutex after this check, setting it, or waiting for another thread to set it and then rechecking if it is set.
I thought this method was potentially best given the last time I ran into this when fixing the deadlock bug, per this review comment
#6241 (review)
Not opposed to making a change, but just wasn't sure which path is safer/best.
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 the purpose of the mutex in DNSInstance to guard against concurrent modification of m.dnsInstance? if so, could this public function possibly negate that protection?
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 a good point, although the public function allows access to test the metadata functions, perhaps I can work out another method for performing the testing of the functions in metadata without having to have public "set" functions.
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 removed the SetDNSInstance function for now, will handle necessary changes in upcoming unit test PR for metadata.
146ae30 to
f52ee7c
Compare
|
/retest |
|
/retest-required Remaining retests: 2 against base HEAD 82dfb36 and 8 for PR HEAD f52ee7c73da4f8c19d4b89ddd82332338afa77c7 in total |
|
/retest |
|
/retest-required Remaining retests: 1 against base HEAD 82dfb36 and 7 for PR HEAD f52ee7c73da4f8c19d4b89ddd82332338afa77c7 in total |
|
/retest-required Remaining retests: 0 against base HEAD 82dfb36 and 6 for PR HEAD f52ee7c73da4f8c19d4b89ddd82332338afa77c7 in total |
|
/retest-required Remaining retests: 2 against base HEAD abf77d9 and 5 for PR HEAD f52ee7c73da4f8c19d4b89ddd82332338afa77c7 in total |
|
/retest-required Remaining retests: 1 against base HEAD abf77d9 and 4 for PR HEAD f52ee7c73da4f8c19d4b89ddd82332338afa77c7 in total |
|
/retest-required Remaining retests: 0 against base HEAD abf77d9 and 3 for PR HEAD f52ee7c73da4f8c19d4b89ddd82332338afa77c7 in total |
|
/retest |
|
/test golint |
1 similar comment
|
/test golint |
f52ee7c to
6af39b1
Compare
|
Pushed up fix to addressing missing comments for consts in |
|
/retest |
|
/hold I will have to rebase to resolve the conflict when I can. |
Add support for DNS Service on IBM Cloud in IPI. This allows lookup of resources based on PublishStrategy, CIS (External) vs. DNS (Internal). Handles service and zone lookup, and configuring DNS and Infrastructure. Partial: https://issues.redhat.com/browse/SPLAT-633
Update vendor packages for added IBM Cloud DNS Service support.
6af39b1 to
13a20a7
Compare
|
/unhold |
|
/lgtm |
|
@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. |
Add support for DNS Service on IBM Cloud in IPI. This allows lookup
of resources based on PublishStrategy, CIS (External) vs. DNS
(Internal). Handles service and zone lookup, and configuring DNS
and Infrastructure.