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

Fang Wang commented on CLOUDSTACK-4308:
---------------------------------------

Fix has 2 parts: API and UI.
1. Volume page (where "recurring snapshot" option and "take snapshot" option 
are) is available to regular user.
 However, regular user doesn't have access to listConfigurations API. 
So, regular user is unable to get "KVM.snapshot.enabled" through 
listConfigurations API.
 
API developer needs to extend listCapabilities API (which regular user has 
access to) to return "KVM.snapshot.enabled".
Extend the current API return to:

to: 
http://10.216.133.43:8080/client/api?command=listCapabilities&response=json&sessionkey=2mqGb2%2FZIiIIkC3oVK%2FkrgxgxZU%3D&_=1375225192771
 { 
    "listcapabilitiesresponse": { 
        "capability": { 
            "securitygroupsenabled": false, 
            "cloudstackversion": "4.2.0-SNAPSHOT", 
            "userpublictemplateenabled": true, 
            "supportELB": "false", 
            "projectinviterequired": false, 
            "allowusercreateprojects": true, 
            "customdiskofferingmaxsize": 1024, 
            "KVMsnapshotenabled": true/false <=== new property 
        } 
    } 
} 
 

                
> [Snapshot][KVM] UI - KVM.snapshot.enabled=FALSE UI should not allow setup 
> recurring snapshot 
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4308
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4308
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.2.0
>         Environment: 4.2 MS, hypervisor: KVM, 
>            Reporter: Fang Wang
>            Assignee: Fang Wang
>             Fix For: 4.2.0
>
>
> KVM:  the default snapshot setting for 4.2 MS has a global flag: 
> kvm.snapshot.enabled
> default value is set to FALSE.
> With this default setting, we should disable the recurring snapshot from UI. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to