apache / apache/cloudstack

Implement Progress Bar + Estimated Time Remaining + Cancel Button for Volume Snapshots

未關閉
#9,269 3 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
component:api component:UI status:needs-functional-definition type:new-feature
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
7 天 14 小時
30 天內合併 PR
31

描述

##### 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:
![Screenshot 2024-06-18 at 11 11 35 pm](https://github.com/apache/cloudstack/assets/147712084/b2c10cc4-e567-43ee-a055-a5f455c95e76)
![Screenshot 2024-06-18 at 11 10 25 pm](https://github.com/apache/cloudstack/assets/147712084/0664d06a-6ae3-42c1-9632-f4d623b81679)
![Screenshot 2024-06-18 at 11 12 00 pm](https://github.com/apache/cloudstack/assets/147712084/f2a388a4-ff93-4511-b8a8-65db02e88bb0)

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
~~~

貢獻指南

開啟貢獻指南

研究方向

先檢視連結的螢幕截圖中顯示的 Volume Snapshots UI,以及現有的 snapshot 操作流程。定義進度、預估時間和取消在 NFS、Object Storage、Ceph 與 Linstor 上應如何運作;完成表示使用者可以監控和取消 snapshot,而不需要儲存體特定的行為。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
backend, cloud, frontend, infrastructure
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。