[
https://issues.apache.org/jira/browse/CLOUDSTACK-8676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964207#comment-15964207
]
ASF GitHub Bot commented on CLOUDSTACK-8676:
--------------------------------------------
Github user yvsubhash commented on the issue:
https://github.com/apache/cloudstack/pull/1664
@sateesh-chodapuneedi Please take care of the code change in the following
PR as well as i am closing
https://github.com/apache/cloudstack/pull/1721
The change is as follows
server/src/com/cloud/vm/UserVmManagerImpl.java
@@ -3242,8 +3242,9 @@ protected UserVm createVirtualMachine(DataCenter
zone, ServiceOffering serviceOf
throw new InvalidParameterValueException("Installing from ISO
requires an ISO that is bootable: " + template.getId());
}
- // Check templates permissions
- _accountMgr.checkAccess(owner, AccessType.UseEntry, false,
template);
+ // Check templates permissions when the create vm is not from
snapshot
+ if(vmSnapshot == null)
+ _accountMgr.checkAccess(owner, AccessType.UseEntry, false,
template);
// check if the user data is correct
validateUserData(userData, httpmethod);
> Deploy user instance from vm snapshot for VMware hypervisor
> -----------------------------------------------------------
>
> Key: CLOUDSTACK-8676
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8676
> Project: CloudStack
> Issue Type: New Feature
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server, VMware
> Reporter: Sateesh Chodapuneedi
> Assignee: Sateesh Chodapuneedi
> Fix For: Future
>
>
> Currently, ACS provides the ability to deploy a VM from a template or ISO.
> However, ACS does not provide the ability to deploy a VM(s) directly from a
> VM snapshot.
> VM snapshots are stored in the primary storage and have a hierarchical or
> parent/child relationship. The requirement would be to provide the ability to
> deploy user instances from selected VM snapshots. Additionally, any VM
> snapshot in the hierarchy can be deployed concurrently.
> Even though this can be supported and applicable to all hypervisors, to
> start with this feature is supported only for VMware hypervisor.
> Feature specification is at
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Deploy+instance+from+VM+snapshot
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)