[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15594577#comment-15594577
 ] 

subhash yedugundla commented on CLOUDSTACK-9557:
------------------------------------------------

Deploying vm from snapshot and the deploy vm from template takes the same code 
path and that is restricting the deployment as the we should not allow 
deployment from private templates. So changing this when the vmsnapshot is part 
of parameters for deployvm command. 

> Deploy from VMsnapshot fails with exception if source template is removed or 
> made private
> -----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9557
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9557
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Template
>    Affects Versions: 4.8.0
>         Environment: Any Hypervisor
>            Reporter: subhash yedugundla
>             Fix For: 4.8.1
>
>
> Steps to reproduce the issue
> i) Upload a template as admin user and make sure "public" is selected when 
> uploading it.
> ii) Now login as a user to CloudPlatform and deploy a VM with the template 
> created in step i).
> iii) Create a VM snapshot as the user for the VM in step ii). Once created 
> deploy a VM from the snapshot ( this will work as expected)
> iv) Now login as admin again , edit the template created in step i) and 
> Uncheck "public". This is make the template as private ( or else delete the 
> template from UI)
> v) Login as same user as in step ii) and try to create a VM from the same 
> snapshot ( created in step iii)). This will fail now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to