dpd wedges during bring-up, Unhandled FIFO 36 error, API never binds
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- rust
- 領域
- api, networking
調査の方向性
issue ではソースファイルもテストも特定されていません。まず添付された pstack と log を読み、次に pipe_mgr_drv_completion_cb assertion の周辺と、:12224 API が bind されるべき箇所を中心に dpd の SDE bring-up を追跡してください。完了条件は、dpd が初期化を完了し、API が :12224 で listen し、swadm が接続し、FIFO 36 assertion なしで BGP セッションが確立されることです。
索引モデルが issue の本文から書いたものです。
説明
After a rack reboot (power outage on Madrid), dpd on sled 16's switch zone comes up but never finishes initialization: the dropshot API (:12224) is never bound, so swadm gets connection-refused and BGP establish fails. On svcadm restart, dpd gets further into SDE bring-up and then hits a bf-sde assertion in pipe_mgr_drv_completion_cb ("Unhandled FIFO 36"), and the API still never binds. The peer switch (oxz_switch0) came back from the same reboot healthy.
Symptom 1: initial wedge (post-reboot, before any restart)
- svcs shows svc:/oxide/dendrite:default online, dpd PID alive.
- No listener on :12224 (netstat shows dpd owns only AF_UNIX sockets + the SMF log fd
- All tokio runtime workers parked
- SMF log /var/svc/log/oxide-dendrite:default.log was 0 bytes
- swadm Connection refused (os error 146) on localhost:12224.
- All BGP sessions on this switch stuck in Connect/Peer ASN: None
/opt/oxide/dendrite/bin/swadm switch-port transceiver monitors qsfp15
Error: failed to get transceiver monitors
Caused by:
0: Communication Error: error sending request for url (http://localhost:12224/ports/qsfp15/transceiver/monitors)
1: error sending request for url (http://localhost:12224/ports/qsfp15/transceiver/monitors)
2: client error (Connect)
3: tcp connect error
4: Connection refused (os error 146)
Symptom 2: after svcadm restart svc:/oxide/dendrite:default
dpd now logs and progresses through SDE bring-up, but then:
Unhandled FIFO 36/opType 0 MsgId 0x0 at pipe_mgr_drv_completion_cb:3983.
ASSERTION FAILED: "0" (0) from pipe_mgr_drv_completion_cb:3984
The :12224 API still never binds after the restart.
pstack summary:
- bf-sde threads (
bf_dma, bf_interrupt,bf_port_fsm, bf_switchd_process_async_*) alive in their normal poll/usleep loops. - Every tokio-runtime-worker parked in
park_condvar. - dpd holds no TCP listeners; only AF_UNIX sockets + the log fd.
(full pstack + log attached)
- 主要言語
- Rust
- スター
- 22
- フォーク
- 3
- 平均マージ
- 4日 9時間
- マージ済み PR(30日)
- 7
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oxidecomputer/dendrite のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
oxidecomputer/dendrite#404 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
oxidecomputer/dendrite#402 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
oxidecomputer/dendrite#384 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
oxidecomputer/dendrite#375 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
oxidecomputer/dendrite#369 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
oxidecomputer/dendrite の issue をすべて見る
似ている issue
-
bug easy good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
lacs-project/sysknife#659 ·
メンテナーはふだん 2 日以内に返信
-
E_FIT_INPUT_MISSING (mixture overrides): the message says ferx-r bundles lack mixture_overridesオープンP3
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
registrystack/registry-stack#2431 ·
メンテナーはふだん 1 日以内に返信
-
contribution
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
farion1231/cc-switch#8863 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信