Skip to content

[wicketd] Add periodic check for sled agent bootstrap addrs#3327

Merged
jgallagher merged 1 commit into
mainfrom
wicketd-bootstrap-addrs
Jun 20, 2023
Merged

[wicketd] Add periodic check for sled agent bootstrap addrs#3327
jgallagher merged 1 commit into
mainfrom
wicketd-bootstrap-addrs

Conversation

@jgallagher

@jgallagher jgallagher commented Jun 9, 2023

Copy link
Copy Markdown
Contributor

RSS wants to know the bootstrap addresses of the sleds to include; this PR teaches wicketd how to find them. It also updates the wicket TOML config introduced in #3326 to include the sled's bootstrap address (if known) in a comment in the sled list; I'm unsure if this is something we'll want to keep once customers are running RSS, but it seems handy for debugging for now.

Builds on #3326.

@andrewjstone andrewjstone left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great!


let ddm_client = make_ddm_admin_client(&log).await;

// We only share `sleds` with the `BootstrapPeers` that created us, and it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

ddm_client: &DdmAdminClient,
log: &Logger,
) -> impl Iterator<Item = Ipv6Addr> {
// TODO: Should we use `backoff` here instead of a loop/sleep? We're talking

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think we should use a backoff here.

@jgallagher jgallagher force-pushed the wicketd-rss-config branch from 7582ccc to b2fee2f Compare June 15, 2023 16:15
Base automatically changed from wicketd-rss-config to main June 16, 2023 17:47
@jgallagher jgallagher force-pushed the wicketd-bootstrap-addrs branch from fdda10a to 8a87413 Compare June 16, 2023 17:53
@jgallagher jgallagher force-pushed the wicketd-bootstrap-addrs branch from 8a87413 to 2dcd5df Compare June 20, 2023 19:26
@jgallagher jgallagher merged commit 9b85b61 into main Jun 20, 2023
@jgallagher jgallagher deleted the wicketd-bootstrap-addrs branch June 20, 2023 21:14
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