Implement Progress Bar + Estimated Time Remaining + Cancel Button for Volume Snapshots
- 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ả
##### ISSUE TYPE
* Improvement Request
##### COMPONENT NAME
~~~
Volume Snapshots
~~~
##### CLOUDSTACK VERSION
~~~
4.19.0
~~~
##### CONFIGURATION
##### OS / ENVIRONMENT
##### SUMMARY
Currently when taking Volume Snapshots, users have no idea how long the operation takes.
Cloudstack will just show a circle loading animation, with no indication on progress or time left.
As a result, user does not know if there is a bug in the snapshot process, or its actually in progress.
This becomes even worse for large volumes (eg. 10TB) where it can take hours to complete.
And if the user waits too long, they will think the system hanged and would then attempt to create a new Volume Snapshot, resulting in 2 on going copies, which will slow down the entire system.
Volume Snapshot seems to be a very intensive operation. In this case, user should be allowed to cancel an ongoing volume snapshot if desired, to save system resources from an unmeaningful operation.
My suggestion is to add a progress bar to the following UI for better user experience:



This implementation should be neutral to the underlying storage, such as NFS, Object Storage, Ceph, Linstor etc
##### STEPS TO REPRODUCE
~~~
~~~
##### EXPECTED RESULTS
~~~
Better user experience for volume snapshots
~~~
##### ACTUAL RESULTS
~~~
- Cant tell if Volume Snapshot hanged, or is in progress (especially large Volumes)
- Cant monitor progress of snapshot
- Cant cancel Volume Snapshot
~~~
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xem lại Volume Snapshots UI được hiển thị trong các ảnh chụp màn hình được liên kết và luồng thao tác snapshot hiện có. Xác định tiến trình, thời gian ước tính và việc hủy sẽ hoạt động như thế nào trên NFS, Object Storage, Ceph và Linstor; hoàn tất có nghĩa là người dùng có thể theo dõi và hủy các snapshot mà không có hành vi riêng theo storage.
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
- backend, cloud, frontend, infrastructure
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100