-
Notifications
You must be signed in to change notification settings - Fork 595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[UI][FEATURE] Support volume cloning using UI #8741
Comments
Based on above ideas, UI requirements are
@PhanLe1010 create volume from
|
@a110605 A volume can set both:
So can we keep the
Yes, this one looks good!
Yes, this one looks good |
Sure, let's keep original backing image field and add another data source field with two dropdowns to choose volume or snapshot. Could you also provide the API spec for above three UI changes that I can know how to call API? |
Surely, you can use this volumeCreate API https:/longhorn/longhorn-manager/blob/6d936dc7e190110a8c9b216e0b4455e730456467/api/router.go#L70-L71 and pass in the parameter volume.DataSource https:/longhorn/longhorn-manager/blob/6d936dc7e190110a8c9b216e0b4455e730456467/api/model.go#L38-L39 . This is an example of how Longhorn CSI plugin use the API:
|
@PhanLe1010 , double confirm to clone volume or create volume from snapshot, just pass snapshot name or volume name in
|
Hi @a110605
|
Pre Ready-For-Testing Checklist
Single Volume clone
Single snapshot volume clone
Bulk volume clone
Note. above three actions should lock (disable) data engine field. Create volume from snapshot or volume
|
@a110605 Please update |
This ticket currently is blocked by #3692 for some clone action failure need to be solved first then verify UI. |
Thanks @chriscchien . FIxed. We can resume testing |
Verified pass on longhorn master(longhorn-ui Following test steps, did not encounter any problems on volume cloning through UI, in addition, below colne path on attathed and detached source volume worked well too.
|
This is a part of the ticket [FEATURE] Volume cloning enhancement #2907
Some ideas:
cc @a110605
The text was updated successfully, but these errors were encountered: