microcloud remove unnecessarily changes default Ceph pool replication factor

Aperta
#1,705 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@roosterfish ci sta già lavorando.

Dal 1/12/2026.

  • #1706 di @roosterfish — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Start by tracing the microcloud remove <member> flow through the MicroCeph stage where it sets osd_pool_default_size; inspect the pool resizing logic and related tests. Reproduce with a five member cluster and five OSDs per member, then verify that removing a member preserves the configured default when the remaining cluster can satisfy it.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Bug

Environment

MicroCloud 3.4, five members with five MicroCeph OSDs each.

Steps to reproduce

Attempt to remove one member with microcloud remove .

Actual behavior

When no existing pool needs resizing, MicroCloud sets osd_pool_default_size to the number of remaining OSDs. In this cluster, it attempts to set the default to 20 and fails during the MicroCeph stage:
Error: Failed setting replication factor: failed to set pool size default: Failed to run: ceph config set global osd_pool_default_size 20: exit status 22 (Error EINVAL: error parsing value: Value '20' exceeds maximum 10)

Expected behavior

If the remaining cluster can satisfy the configured replication factor, member removal should preserve osd_pool_default_size.

Lingua principale
Go
Stelle
552
Fork
96
Merge medio
4g 10h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di canonical/microcloud

Tutte le issue di canonical/microcloud

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.