4.20.1 UI Dashboard Local storage total capacity is incorrect
- 主要言語
- Java
- スター
- 3.1k
- フォーク
- 1.4k
- 平均マージ
- 6日 19時間
- マージ済み PR(30日)
- 32
説明
### problem
**I have two KVM nodes, both using local storage:**
After adding multiple disks to the KVM node server, I repeatedly added and deleted local storage directories in the Primary Storage menu(The deletions resulted from poor directory layout planning). Now, the UI Dashboard shows incorrect Storage Total values.
**However, I’ve verified that:**
The **Primary Storage Total** in the UI Dashboard is correct.
The **Local Storage Total** is incorrect.
How can I fix this discrepancy? can I manually correct the data in MySQL to resolve this issue?

### versions
CS version: 4.20.1
mgmt OS: rocky-9.6
kvm OS:rocky-9.6
qemu version: 9.1.0
### The steps to reproduce the bug
1. Cluster everythings be ok - only local storage capacity display is inaccurate in UI
2.
3.
...
### What to do about it?
_No response_
コントリビューションガイド
調査の方向性
まず、ローカルストレージディレクトリを追加および削除した後、説明されている KVM セットアップを使用して Dashboard の不一致を再現し、Local Storage Total と Primary Storage Total を比較します。レポートにはファイル、テスト、エントリーポイントが記載されていないため、調査ではまず、これら 2 つの Dashboard の値を計算して表示するコードを特定する必要があります。説明されているストレージ変更後も Local Storage Total が正確なままであれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- cloud, infrastructure
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100