Skip to content

Collect internal DNS generation in inventory #8643

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 18, 2025

Fixes #8544

Copy link
Contributor

@jgallagher jgallagher left a comment

Choose a reason for hiding this comment

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

Can we also update the inventory display implementation? Should be easy now that #8613 has landed.

Comment on lines +259 to +262
// TODO(https://github.com/oxidecomputer/omicron/issues/8602):
// If we could look up all DNS services, we could skip
// this port hard-coding.
addr.set_port(omicron_common::address::DNS_HTTP_PORT);
Copy link
Contributor

Choose a reason for hiding this comment

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

The DNS OmicronZoneType variants already do store two separate addresses; I think maybe we're already getting back DNS_HTTP_PORT here:

self.service_backend_zone(service, &zone, http_address.port())?;

@smklein smklein force-pushed the inventory-collect-timesync branch 3 times, most recently from c16686f to bea6e02 Compare July 21, 2025 19:15
@smklein smklein force-pushed the inventory-collect-dns branch from a7dca86 to e7f1843 Compare July 21, 2025 19:43
@smklein smklein force-pushed the inventory-collect-timesync branch from bea6e02 to 5f2c4dd Compare July 21, 2025 21:39
@smklein smklein force-pushed the inventory-collect-dns branch 2 times, most recently from 93db211 to 1fc3373 Compare July 21, 2025 22:43
@smklein smklein force-pushed the inventory-collect-dns branch from 1fc3373 to 9fda2da Compare July 22, 2025 00:53
@smklein
Copy link
Collaborator Author

smklein commented Jul 22, 2025

Can we also update the inventory display implementation? Should be easy now that #8613 has landed.

Updated nexus/types/src/inventory/display.rs to include this

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