`microcloud status` will end up in context deadline if member disappeared

オープン
#845 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
api, cli

調査の方向性

Issue に記載されている microcloud status コマンドと Microcluster の GET /core/1.0/cluster エンドポイントから始めてください。変更を加える前に、canonical/microcluster#412 とリンク先のコンテキストを確認してください。クラスタメンバーがオフラインの場合に、status が 30 秒の期限まで待機しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Incomplete Jira

In case any of the MicroCloud cluster members goes out of services (maintenance or disaster), running the microcloud status command will hit a deadline after 30s trying to contact the offline member's MicroCloud (Microcluster).

This is due to a faulty GET /core/1.0/cluster endpoint on Microcluster which tries to contact cluster members even if they are offline.

There already is an open PR with suggestions on how to fix this https://github.com/canonical/microcluster/pull/412.
Some more context https://chat.canonical.com/canonical/pl/dncia5m757ytujm54etu64u7pe.

主要言語
Go
スター
552
フォーク
96
平均マージ
4日 10時間
マージ済み PR(30日)
21

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

canonical/microcloud のほかの issue

canonical/microcloud の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。