Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4B5C109DC for ; Sat, 11 Jan 2014 00:28:50 +0000 (UTC) Received: (qmail 79538 invoked by uid 500); 11 Jan 2014 00:28:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 79492 invoked by uid 500); 11 Jan 2014 00:28:50 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 79320 invoked by uid 500); 11 Jan 2014 00:28:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 79283 invoked by uid 99); 11 Jan 2014 00:28:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jan 2014 00:28:50 +0000 Date: Sat, 11 Jan 2014 00:28:50 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5831) 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. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868524#comment-13868524 ] ASF subversion and git services commented on CLOUDSTACK-5831: ------------------------------------------------------------- Commit 5adc778d88dd00c00f777de9fcf1506890934137 in branch refs/heads/master from [~jessicawang] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5adc778 ] CLOUDSTACK-5831: UI > Volumes > take snapshot > get "quiescevm" property from listVolumes API instead of listStoragePools API since regular-user/domain-admin don't have access to listStoragePools API. > 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: edison su > 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)