Skip to content

migration: add ntp refclock and chrony access settings - #4894

Draft
nwjsmith wants to merge 1 commit into
bottlerocket-os:developfrom
nwjsmith:ntp-refclock-and-access-settings
Draft

migration: add ntp refclock and chrony access settings#4894
nwjsmith wants to merge 1 commit into
bottlerocket-os:developfrom
nwjsmith:ntp-refclock-and-access-settings

Conversation

@nwjsmith

@nwjsmith nwjsmith commented Jul 22, 2026

Copy link
Copy Markdown

Issue number:

Addresses #4407 and #4473

Description of changes:
Adds the settings migration for the new settings.ntp keys (refclocks, allow, cmdallow, bindcmdaddress) so they are cleanly removed from the datastore on downgrade to versions that don't understand them, and registers it in the in-development 1.64.0 migration edge in Release.toml (alongside the other 1.64.0 migrations, e.g. hugepages and container-runtime-endpoint).

Also documents the Amazon Time Sync Service PTP hardware clock setup in the EKS quickstart (QUICKSTART-EKS.md) and the settings reference in README.md.

Depends on the bottlerocket-settings-models bump that introduces these fields (separate chore PR, as in #4887) and the core-kit chrony template/udev change.

Testing done:

  • cargo check, cargo clippy, and cargo fmt -- --check on the new migration crate — clean.
  • Verified the migration is registered on the (1.63.0, 1.64.0) edge in Release.toml.

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.


Blocked by bottlerocket-os/bottlerocket-settings-sdk#143

Add the v1.64.0 settings migration for the new settings.ntp keys
(refclocks, allow, cmdallow, bindcmdaddress) so they are removed from the
datastore on downgrade to versions that don't understand them, and
register it in Release.toml.

Also document the Amazon Time Sync Service PTP hardware clock setup in
the EKS quickstart and the settings reference in the README.

Addresses bottlerocket-os#4407 and bottlerocket-os#4473.

Signed-off-by: Nate Smith <nate@theinternate.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant