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 16967200BDB for ; Mon, 12 Dec 2016 12:25:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 1525D160B22; Mon, 12 Dec 2016 11:25: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 602E7160B0D for ; Mon, 12 Dec 2016 12:24:59 +0100 (CET) Received: (qmail 29387 invoked by uid 500); 12 Dec 2016 11:24: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 29378 invoked by uid 500); 12 Dec 2016 11:24:58 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 29375 invoked by uid 99); 12 Dec 2016 11:24: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 11:24:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 561362C03DD for ; Mon, 12 Dec 2016 11:24:58 +0000 (UTC) Date: Mon, 12 Dec 2016 11:24:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8857) 'listProjects' doesn't return tags 'vmstopped' or 'vmrunning' when their value is zero MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 12 Dec 2016 11:25:00 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8857?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15741670#comment-15741670 ]=20 ASF GitHub Bot commented on CLOUDSTACK-8857: -------------------------------------------- Github user blueorangutan commented on the issue: https://github.com/apache/cloudstack/pull/838 =20 Packaging result: =E2=9C=94centos6 =E2=9C=94centos7 =E2=9C=94debian. JI= D-391 > 'listProjects' doesn't return tags 'vmstopped' or 'vmrunning' when their= value is zero > -------------------------------------------------------------------------= -------------- > > Key: CLOUDSTACK-8857 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-885= 7 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Reporter: Bharat Kumar > Assignee: Bharat Kumar > > 'listProjects' doesn't return tags 'vmstopped' or 'vmrunning' when their= value is zero. > Eg: > API result when 1 vm is stopped and 0 vms are running: > curl -s 'http://127.0.0.1:8096/api?command=3DlistProjects&account=3Dadmin= &domainid=3D10513804-76ec-11e4-924f-065db2000097' 2>/dev/null | xmllint --f= ormat - -o=20 > =20 > =20 > 1=20 > =20 > a811d7e1-3ec7-4dda-92c4-4792200f38cf=20 > abc=20 > abc=20 > 10513804-76ec-11e4-924f-065db2000097=20 > ROOT=20 > admin=20 > Active=20 > 20=20 > 1=20 > 19=20 > 20=20 > 0=20 > 20=20 > 40=20 > 1=20 > 39=20 > 40960=20 > 512=20 > 40448=20 > 200=20 > 2=20 > 198=20 > 400=20 > 0=20 > 400=20 > 20=20 > 1=20 > 19=20 > 20=20 > 1=20 > 4=20 > 20=20 > 1=20 > 19=20 > 20=20 > 0=20 > 20=20 > 20=20 > 1=20 > 19=20 > 1=20 > =20 > > The above response should have a tag 0, which is m= issing, similar when the zero vms are stopped, vmstopped would be missing. = When there are no VMs in the project neither of these tags are in the respo= nse. -- This message was sent by Atlassian JIRA (v6.3.4#6332)