Set the Ceph OSD PGs based on actual cluster size

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞

調査の方向性

remote と remote-fs のストレージプールを作成するコードを追跡し、クラスターの形成時にデプロイ済み Ceph OSD の数をどのように取得できるかを確認してください。リンク先の Ceph placement-group ガイドを使用して期待される計算方法を定義します。実際のクラスターサイズで別の値が必要な場合に、プールが常に 32 を使用しなくなれば完了です。

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

説明

Jira

When MicroCloud creates the remote and remote-fs storage pools, LXD by default sets ceph.osd.pg_num=32 as the default value for the number of placement groups.

However the upstream guide is using the following formula to compute the right value:

Image

Meaning the default of 32 only seems to be valid when running a Ceph cluster with a single OSD and replication factor 3 (1*100/3=33, rounded to nearest power of 2: 32).

Instead we should pick a number which accommodates the number of actual OSDs deployed when forming the cluster with MicroCloud.

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