4.20.1 UI Dashboard Local storage total capacity is incorrect
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 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。报告未指明任何文件、测试或入口点,因此调查必须先定位计算并呈现这两个 Dashboard 值的代码。在所描述的存储更改后 Local Storage Total 仍保持准确,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- cloud, infrastructure
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100