Multirack: Commission path ignores network.rack_subnet and rack1 gets a random /48
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- networking
調査の方向性
Start at voxel/src/commission.rs:197, where rack_subnet_address is set to None, and trace how network.rack_subnet is parsed for multirack join. The report links a proposed fix branch and shows the expected configured subnet and successful join; check whether that change addresses the mismatch, then verify rack1's subnet and cross-rack join behavior.
索引モデルが issue の本文から書いたものです。
説明
voxel/src/commission.rs:197 hardcodes: rack_subnet_address: None
wicketd then picks a random ULA prefix for rack1, multirack join for rack2 uses the configured subnet, and racks end up in different /48s. I believe that goes against RFD 63's "an AZ is a /48" and how it's interpreted in RFD 680.
On my voxel 2x3 launch (omicron fd9dabe46):
- rack1:
fd0d:85c:1553:100::/56(random) - rack2:
fd00:17:1:e00::/56(configured) voxel network showreportsfd00:17:1:d00::/56for rack1 (clearly and egregiously wrong)
Since control plane zones only route their own /48 (illumos-utils/src/running_zone.rs:396), rack1 zones therefore cannot reach rack2:
root@oxz_nexus:~# curl -m 10 http://[fd00:17:1:e01::1]:12345/multirack-join-service-status
curl: (7) Failed to connect to fd00:17:1:e01::1 port 12345 after 0 ms
Proposed fix: https://github.com/oxidecomputer/voxel/tree/skaram/commission-rack-subnet
rack_subnet_address: Some(
n.rack_subnet
.parse::<oxnet::Ipv6Net>()
.context("rack_subnet")?
.addr(),
),
With the fix, a rack1 Nexus zone reaches rack2's sled-agent and PUT /multirack-join-complete returns 204:
rack1 gets the configured subnet (yay):
$ voxel host exec -c "ipadm show-addr | grep sled6" g0
underlay0/sled6 static ok fd00:17:1:d01::1/64
The rack1 Nexus zone's AZ route covers rack2!
root@oxz_nexus_bbd12dea:~# netstat -rn -f inet6 | grep /48
fd00:17:1::/48 fd00:17:1:d01::1 UG 77 27095 oxControlService22
The zone reaches rack2's sled-agent (in Nexus!) and completes the join (oh gosh how nice):
root@oxz_nexus_bbd12dea:~# curl -sS -i -m 10 -X PUT -H 'api-version: 63.0.0'
http://[fd00:17:1:e01::1]:12345/multirack-join-complete
HTTP/1.1 204 No Content
$ voxel tp exec -c "curl -s -H 'api-version: 6.0.0' http://[::1]:12234/rack-setup" rack2/switch0
{"rack_state":"initialized","operation":{"kind":"multirack-join","id":"8f1ab089-7573-4721-9cf6-fe49238ce8bc","state":{"state":"completed"}}}
- 主要言語
- Rust
- スター
- 25
- フォーク
- 3
- 平均マージ
- 5日 8時間
- マージ済み PR(30日)
- 20
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oxidecomputer/voxel のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
oxidecomputer/voxel#95 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
oxidecomputer/voxel#81 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
oxidecomputer/voxel#80 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
oxidecomputer/voxel#71 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Sensible defaults for system suitability and QoL再び着手できるかも @hermanol が 117 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
oxidecomputer/voxel#18 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
oxidecomputer/voxel の issue をすべて見る
似ている issue
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedオープンunconfirmed possible issue
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jerney-nexus/epikrise#364 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Yeachan-Heo/gajae-code#8058 ·
メンテナーはふだん 1 日以内に返信
-
bug daemon
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信