MicroCloud should validate API/Schema versions before clustering

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

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

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

評価

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

調査の方向性

microcloud init のエントリーポイントから開始し、クラスタリング中に mdns 応答がどのように生成され、利用されるかを追跡します。サービスの API バージョンとスキーマバージョンを応答に含める方法と、バージョンが一致しないノードを syslog メッセージとともにスキップする方法を確認します。一致しないサービスがクラスタ形成前に拒否されれば完了です。

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

説明

Feature

Attempting to set up MicroCloud with services (LXD, MicroCeph, MicroOVN) that have mismatched API/Schema versions, the setup will happily move along and then fail during those services' own version validation when forming the cluster with the error or one like it:

Error: Peer "n2" failed to join the cluster: Failed to update cluster status of services: Failed to join "LXD" cluster: Failed to configure cluster: Failed request to add member: The joining server version doesn't match (expected 5.18 with API count 360)

MicroCloud should instead incorporate the API versions of each service into the mdns response so that the system doing the lookup (calling microcloud init) can properly ignore them with a syslog message reporting that the node was skipped due to a version mismatch.

主要言語
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 を短くまとめたダイジェスト。