Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1A9A1200BDB for ; Mon, 12 Dec 2016 09:08:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 192C7160B22; Mon, 12 Dec 2016 08:08:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5F91A160B0D for ; Mon, 12 Dec 2016 09:07:59 +0100 (CET) Received: (qmail 16745 invoked by uid 500); 12 Dec 2016 08:07:58 -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 16736 invoked by uid 500); 12 Dec 2016 08:07:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 16733 invoked by uid 99); 12 Dec 2016 08:07:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2016 08:07:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 559ED2C03DD for ; Mon, 12 Dec 2016 08:07:58 +0000 (UTC) Date: Mon, 12 Dec 2016 08:07:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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 archived-at: Mon, 12 Dec 2016 08:08:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741277#comment-15741277 ] ASF GitHub Bot commented on CLOUDSTACK-8856: -------------------------------------------- Github user bvbharatk commented on the issue: https://github.com/apache/cloudstack/pull/865 Rebased with 4.9 > 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)