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 F009C17AB0 for ; Tue, 15 Sep 2015 10:25:50 +0000 (UTC) Received: (qmail 91346 invoked by uid 500); 15 Sep 2015 10:25:45 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 91307 invoked by uid 500); 15 Sep 2015 10:25:45 -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 91298 invoked by uid 500); 15 Sep 2015 10:25:45 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 91294 invoked by uid 99); 15 Sep 2015 10:25:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Sep 2015 10:25:45 +0000 Date: Tue, 15 Sep 2015 10:25:45 +0000 (UTC) From: "Bharat Kumar (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CLOUDSTACK-8856) Primary Storage Used(type tag with value 2) related tag is not showing in listCapacity api response MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bharat Kumar created CLOUDSTACK-8856: ---------------------------------------- Summary: Primary Storage Used(type tag with value 2) related tag is not showing in listCapacity api response Key: CLOUDSTACK-8856 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8856 Project: CloudStack Issue Type: Bug Security Level: Public (Anyone can view this level - this is the default.) Reporter: Bharat Kumar Assignee: Bharat Kumar Actual behavior: Primary Storage Used(type tag with value 2) related tag is showing in listCapacity api response when 'sortby=Usage' parameter is removed in listCapacity api. Expected behavior: Primary Storage Used(type tag with value 2) related tag should be shown in listCapacity api response when 'sortby=Usage' parameter is included in listCapacity api. Steps to reproduce: 1.Login cloudstack as admin and launch one vm successfully. 2.Make sure that firebug tool is enable and navigate to Dashboard. 3.Right click on 'listCapacity' api and select 'Copy Location'. 4.Remove 'response=json' parameter from above copied url and paste the modified url in new tab. 5.Check for 'type tag with value 2' in 'listCapcity' api xml response. listCapacity API Command: http://10.81.29.87/client/api?command=listCapacity&sessionkey=Qp0XOEUVLrZHBZrQp7ame96IzXE%3D&fetchLatest=true&sortBy=usage&_=1417697306264 Response: - 9 - 5 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 3 5 60 - 4 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 3 15 20 - 7 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 1 5 20 - 6 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 227751755776 4395909513216 5.18 - 0 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 2952790016 124470096896 2.37 - 1 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 2000 100800 1.98 - 3 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 29339156480 8791819026432 0.33 - 9 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 8388608 981911732224 0 - 19 25cb4986-c286-4937-a0ec-b290307eaa4f XenRT-Zone-0 0 0 0 -- This message was sent by Atlassian JIRA (v6.3.4#6332)