OCPBUGS-90638: Add sourcedir /run/chrony-dhcp to generated chrony.conf#10488
Conversation
When DHCP provides NTP servers, a NetworkManager dispatcher script writes them to /run/chrony-dhcp/<interface>.sources and triggers chronyc reload sources. However, chrony only reads that directory if chrony.conf contains `sourcedir /run/chrony-dhcp`. The chrony.conf generated by assisted-service does not include this directive, so DHCP-provided NTP servers are silently ignored. Add `sourcedir /run/chrony-dhcp` to defaultChronyConf.
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-90638, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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 openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/jira refresh |
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-90638, which is invalid:
Comment 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/jira refresh |
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-90638, which is valid. The bug has been moved to the POST state. 7 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: bkopilov. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
|
/retest |
1 similar comment
|
/retest |
|
e2e-agent-compact-ipv4-iso-no-registry job is broken, it would pass once openshift/agent-installer-utils#310 lands. |
|
/retest |
|
/retest ci/prow/e2e-agent-compact-ipv4-iso-no-registry |
|
/retest |
|
@yoavsc0302: 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. |
|
The infra issue noted in the previous comment was resolved after merge of openshift/agent-installer-utils#310. The test now fails on another infra issue, unrelated to our change. Since the test is not required, we will continue. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jhernand, yoavsc0302 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 |
|
/label backport-risk-assessed |
|
@jhernand: The label(s) 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. |
|
@yoavsc0302: This pull request references Jira Issue OCPBUGS-90638, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: 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 openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: bkopilov. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
|
/label backport-risk-assessed |
|
@yoavsc0302: The label(s) 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. |
|
/label backport-risk-assessed |
|
/verified later @bkopilov |
|
@yoavsc0302: This PR has been marked to be verified later by 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 openshift-eng/jira-lifecycle-plugin repository. |
abe26e3
into
openshift:release-4.22
|
@yoavsc0302: Jira Issue OCPBUGS-90638: All pull requests linked via external trackers have merged: This pull request has the 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/cherry-pick release-4.21 release-4.20 release-4.19 |
|
@yoavsc0302: new pull request created: #10510 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. |
|
Fix included in release 4.22.0-0.nightly-2026-06-25-210812 |
This is a manual cherry-pick of #10479
When DHCP provides NTP servers, a NetworkManager dispatcher script writes them to /run/chrony-dhcp/.sources and triggers chronyc reload sources. However, chrony only reads that directory if chrony.conf contains
sourcedir /run/chrony-dhcp. The chrony.conf generated by assisted-service does not include this directive, so DHCP-provided NTP servers are silently ignored.Add
sourcedir /run/chrony-dhcpto defaultChronyConf.List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Checklist
docs, README, etc)Reviewers Checklist