4.20.1 UI Dashboard Local storage total capacity is incorrect
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 32
Mô tả
### 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_
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện sai lệch của Dashboard bằng thiết lập KVM được mô tả sau khi thêm và xóa các thư mục lưu trữ cục bộ, rồi so sánh Local Storage Total với Primary Storage Total. Báo cáo không nêu tệp, bài kiểm thử hoặc điểm vào nào, vì vậy trước tiên việc điều tra phải xác định mã tính toán và hiển thị hai giá trị Dashboard này. Được xem là hoàn tất khi Local Storage Total vẫn chính xác sau các thay đổi lưu trữ được mô tả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- cloud, infrastructure
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100