Skip to content

Use timesync status to decide when to upgrade boundary NTP zones #8616

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

Open
wants to merge 1 commit into
base: inventory-collect-timesync
Choose a base branch
from

Conversation

smklein
Copy link
Collaborator

@smklein smklein commented Jul 16, 2025

Depends on #8603

Prevent the planner from tearing down boundary NTP zones when we are not at expected "BOUNDARY_NTP_REDUNDANCY" synchronized zones.

Adds a test which demonstrates that we'll only drop "one zone" below redundancy during an upgrade, and never
further than that.

Fixes #8547

@smklein smklein force-pushed the inventory-collect-timesync branch from 75b39c7 to 30a86a1 Compare July 17, 2025 19:49
@smklein smklein force-pushed the planner-ntp-upgrade branch from 6bbc962 to 0873e92 Compare July 17, 2025 19:56
@plotnick plotnick mentioned this pull request Jul 17, 2025
5 tasks
@smklein smklein force-pushed the inventory-collect-timesync branch from 30a86a1 to 2ded09d Compare July 17, 2025 22:27
@smklein smklein force-pushed the planner-ntp-upgrade branch from 0873e92 to 322598b Compare July 17, 2025 22:28
@smklein smklein force-pushed the inventory-collect-timesync branch from 2ded09d to e784b52 Compare July 17, 2025 23:05
@smklein smklein force-pushed the planner-ntp-upgrade branch from 322598b to bfe4c7a Compare July 17, 2025 23:05
@smklein smklein force-pushed the inventory-collect-timesync branch from e784b52 to 568a4db Compare July 18, 2025 00:08
@smklein smklein force-pushed the planner-ntp-upgrade branch from bfe4c7a to 84fbbe8 Compare July 18, 2025 00:08
@smklein smklein marked this pull request as ready for review July 18, 2025 15:47
@smklein smklein force-pushed the inventory-collect-timesync branch from 568a4db to 71e2738 Compare July 18, 2025 15:49
@smklein smklein force-pushed the planner-ntp-upgrade branch from 84fbbe8 to e176df8 Compare July 18, 2025 15:53
@smklein smklein force-pushed the inventory-collect-timesync branch from 71e2738 to 91d9377 Compare July 18, 2025 20:05
@smklein smklein force-pushed the planner-ntp-upgrade branch from e176df8 to d4d98cd Compare July 18, 2025 20:12
Copy link
Contributor

@andrewjstone andrewjstone left a comment

Choose a reason for hiding this comment

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

Great testing. Easy to read :)

hash: fake_hash,
};
let artifacts = vec![
// Omit `BoundaryNtp` because it has the same artifact name as
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there an issue or anything describing this? Is it something that we need to fix?

@@ -1595,6 +1596,48 @@ impl<'a> Planner<'a> {
}
true
}
ZoneKind::BoundaryNtp => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I love how straightforward this logic is.

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.

2 participants