-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Milestone
Description
a4x2's default config is now passing a different rack_subnet to RSS, and #9501 (slated for R18) will expose this in wicket for new customer setups. However, omdb hardcodes our traditional default rack subnet, causing it to fail if the rack has anything else. From a4x2, failure by default due to the wrong DNS server address:
root@oxz_switch:~# omdb db sleds
note: database URL not specified. Will search DNS.
note: (override with --db-url or OMDB_DB_URL)
note: using DNS server for subnet fd00:1122:3344::/48
note: (if this is not right, use --dns-server to specify an alternate DNS server)
Error: looking up Cockroach in DNS
Caused by:
proto error: request timed out
but success if we pass the DNS server explicitly:
root@oxz_switch:~# omdb --dns-server [fd00:17:1:1::1]:53 db sleds
note: database URL not specified. Will search DNS.
note: (override with --db-url or OMDB_DB_URL)
note: using database URL postgresql://root@[fd00:17:1:d02::4]:32221,[fd00:17:1:d02::3]:32221,[fd00:17:1:d01::3]:32221,[fd00:17:1:d01::4]:32221,[fd00:17:1:d03::3]:32221/omicron?sslmode=disable
note: database schema version matches expected (217.0.0)
note: listing all commissioned sleds (use -F to filter, e.g. -F in-service)
SERIAL IP ROLE POLICY STATE ID
00000000003 [fd00:17:1:d03::1]:12345 scrimlet in service active 0781a338-0544-4f4b-9c3a-ebec076d29e7
00000000000 [fd00:17:1:d01::1]:12345 scrimlet in service active ba25c03b-d1c5-412b-a04b-bb2c2adb2b10
00000000001 [fd00:17:1:d02::1]:12345 - in service active d8a2fe63-f0d5-4115-9060-92e4a9276414
We should probably fix this either as a part of or closely behind #9501, or omdb will be much more annoying to use in practice.
Metadata
Metadata
Assignees
Labels
No labels