You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Suresh Kumar Anaparti (Jira)" <ji...@apache.org> on 2021/03/19 06:29:00 UTC

[jira] [Created] (CLOUDSTACK-10430) CloudStack GSoC 2021 - Clone a Virtual Machine (with all the data disks)

Suresh Kumar Anaparti created CLOUDSTACK-10430:
--------------------------------------------------

             Summary: CloudStack GSoC 2021 - Clone a Virtual Machine (with all the data disks)
                 Key: CLOUDSTACK-10430
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10430
             Project: CloudStack
          Issue Type: Improvement
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API
            Reporter: Suresh Kumar Anaparti


Hi there,

Here is the background of the proposed improvement in the CloudStack.

Currently, there is no straight way to clone / create a copy of the VM (with all the data disks) in CloudStack. Operator/Admin requires a series of steps/API cmds to be followed to achieve that in CloudStack, and also it takes considerable time (to wait and check each cmd response before proceeding to next step). Some hypervisors (Eg. VMware) already supports clone VM operation, and CloudStack can leverage that.

The support for this new functionality, can be integrated by introducing a new (admin-only) API to clone the VM, something like _cloneVirtualMachine_ , which facilitates direct way to clone / create a copy of the VM (with all the data disks) can be . CloudStack internally performs all the required operations to create the copy of the VM (leverages the relevant hypervisor(s) operations if necessary), and returns the VM as response when success, otherwise throws the relevant error message.

This improvement will be a good addition to the VM operations supported in the CloudStack. It requires some virtualization/cloud domain knowledge & usage.

More details here: https://github.com/apache/cloudstack/issues/4818

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)