Skip to content
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

bootstrap: switch to chrony for ignition config #436

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

hardys
Copy link
Contributor

@hardys hardys commented Sep 11, 2024

Leap/SLEMicro don't include ntpd so the current approach doesn't work

kind/bug

What this PR does / why we need it:
Currently the ntp.servers API provided e.g by RKE2ControlPlane does not work for Leap/SLEMicro, because chrony is used not ntpd as currently configured.

Fixes #430

Checklist:

  • squashed commits into logical changes
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

Leap/SLEMicro don't include ntpd so the current approach doesn't work
@hardys hardys requested a review from a team as a code owner September 11, 2024 16:50
@hardys
Copy link
Contributor Author

hardys commented Sep 11, 2024

While making these changes I also noticed that the ntp.enabled flag doesn't seem to work (for the cloud-init and ignition cases) - I didn't try to fix that here as the flag seems largely redundant, but it may warrant a follow up issue?

Copy link
Member

@alexander-demicev alexander-demicev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@furkatgofurov7
Copy link
Contributor

While making these changes I also noticed that the ntp.enabled flag doesn't seem to work (for the cloud-init and ignition cases) - I didn't try to fix that here as the flag seems largely redundant, but it may warrant a follow up issue?

Yes please, thanks!

Copy link
Contributor

@Danil-Grigorev Danil-Grigorev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hardys, thanks for the fix! Would you be fine to rebase on main? We suspect the failures in CI are not related to this PR and it should fix it.

@furkatgofurov7 furkatgofurov7 added the kind/bug Something isn't working label Sep 17, 2024
@furkatgofurov7 furkatgofurov7 merged commit c3f809e into rancher:main Sep 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Development

Successfully merging this pull request may close these issues.

NTP API broken for Leap/SLEMicro
4 participants