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

Sangeetha Hariharan commented on CLOUDSTACK-5831:
-------------------------------------------------

Tested with latest build from 4.3

When creating a snapshot , UI does not call listStoragePools API anymore. User 
is not presented with any error message.

Also List volume as regular user succeeds:

http://10.223.49.6:8080/client/api?command=listVolumes&response=json&sessionkey=T2RBWXHgiDkl293uELGaFR7GcPU%3D&listAll=true&page=1&pagesize=20&_=1389652851235

{"id":"2c1b14cd-b599-4ba4-9006-92371be54066","name":"ROOT-41","zoneid":"0667c5fe-7a71-4b29-8ef4-3eb09969f989","zonename":"Adv-Xen-Zone1","type":"ROOT","deviceid":0,"virtualmachineid":"cdc29bf6-9166-430a-a07c-01466846ef17","vmname":"testnew","vmdisplayname":"testnew","vmstate":"Running","size":8589934592,"created":"2014-01-13T17:30:32-0500","state":"Ready","account":"test-TestParallelVolumeSnasohots-35AGDF","domainid":"88105046-78af-11e3-a5ee-4adf980f9414","domain":"ROOT","storagetype":"shared","destroyed":false,"serviceofferingid":"e7a31af4-c69c-44fa-afe2-ba29016e779b","serviceofferingname":"tiny-host-0ps-0","serviceofferingdisplaytext":"tiny-host-0ps-0","isextractable":true,"tags":[],"displayvolume":true,"quiescevm":false}


> As regular user , when trying to take a snapshot , snapshot succeeds but user 
> is presented with "The given command does not exist or it is not available 
> for user" message.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5831
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5831
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: UI
>    Affects Versions: 4.3.0
>         Environment: Build from 4.3
>            Reporter: Sangeetha Hariharan
>            Assignee: Jessica Wang
>            Priority: Blocker
>             Fix For: 4.3.0
>
>         Attachments: snapshot.png, 
> the_checkin_that_causes_error_TheGivinCommandDoesNotExistOrItIsNotAvailableForUser.PNG
>
>
> As regular user , when trying to take a snapshot , snapshot succeeds but user 
> is presented with "The given command does not exist or it is not available 
> for user" message.
> As a regular user ,  deploy a VM.
> From storage list view , select ROOT volume and create a snapshot.
> On "Take Snapshot" notification pop up , click on "OK".
> Notice that you are presented withe following message:
> "The given command does not exist or it is not available for user" 
> Following api call was made by the UI:
> http://10.223.49.5:8080/client/api?command=listStoragePools&id=undefined&response=json&sessionkey=4vcnR7sxOFnZcx6pUcyfnj%2BrN3o%3D&_=1389134167406
> { "errorresponse" : 
> {"uuidList":[],"errorcode":432,"cserrorcode":9999,"errortext":"The given 
> command does not exist or it is not available for user"} }
> This issue is not seen when testing as "Admin" user and happens only with 
> regular users.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to