-
Notifications
You must be signed in to change notification settings - Fork 419
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
OCPBUGS-48469: Fix CoreDNS static pod bring-up on cloud platforms #4830
base: main
Are you sure you want to change the base?
Conversation
71cc2fd
to
34e381d
Compare
@sadasu: This pull request references Jira Issue OCPBUGS-48469, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In 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 openshift-eng/jira-lifecycle-plugin repository. |
513164e
to
1bb98dc
Compare
/label acknowledge-critical-fixes-only |
/retest |
// If this is a cloud platform with DNSType set to `ClusterHosted` with | ||
// LB IPs provided, include path for their CoreDNS files | ||
if cloudPlatformLoadBalancerIPState(*config) == availableLBIPState { | ||
platformBasedPaths = append(platformBasedPaths, cloudPlatformAltDNS) |
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.
Before this, was anything processing the templates in cloud-platform-alt-dns
? Was is being done in bootstrap only?
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.
It was being done on the Bootstrap node successfully and while debugging for the CoreDNS pod not starting on the master nodes, I found this issue.
/retest-required |
|
1bb98dc
to
3a4599e
Compare
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.
One new comment for the changed invocation of runtimecfg.
Plus a test will be good. MCO has all what's needed to test if the rendered config looks good.
e8004f2
to
f8223aa
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mkowalski, sadasu, yuqi-zhang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest-required |
/hold Revision 8faf96e was retested 3 times: holding |
/hold cancel |
/retest-required ci/prow/e2e-gcp-op-single-node has passed earlier and no code changes were made after that. |
/hold |
8faf96e
to
b44669a
Compare
New changes are detected. LGTM label has been removed. |
/hold cancel |
b44669a
to
ace725e
Compare
Provide path to resolv.conf file on the master node. cluster-config.yaml file is not present on the master nodes. So, explicitly pass in platformType to baremetal-runtimecfg containers in the cloud platform CoreDNS pod.
ace725e
to
0a425b0
Compare
/test e2e-hypershift |
@sadasu: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Results of pre-merge testing with openshift/baremetal-runtimecfg#345.
|
|
Fixes: OCPBUGS-48469
- What I did
- How to verify it
Set
UserProvisionedDNS
toEnabled
for GCP via install-config and start installation- Description for the changelog
Fixed issues with CoreDNS Corefile and template path for cloud platforms when UserProvisionedDNS is enabled.
Added test_data for GCP with all the UserProvisionedDNS configuration to better test this path.