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 13190181EB for ; Tue, 29 Sep 2015 04:59:06 +0000 (UTC) Received: (qmail 9697 invoked by uid 500); 29 Sep 2015 04:59:05 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 9448 invoked by uid 500); 29 Sep 2015 04:59:05 -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 9410 invoked by uid 500); 29 Sep 2015 04:59:05 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 9206 invoked by uid 99); 29 Sep 2015 04:59:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 04:59:05 +0000 Date: Tue, 29 Sep 2015 04:59:05 +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 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934619#comment-14934619 ] ASF GitHub Bot commented on CLOUDSTACK-8856: -------------------------------------------- Github user bvbharatk commented on the pull request: https://github.com/apache/cloudstack/pull/865#issuecomment-143944642 The above travis error is because of a failure to do git pull below are the relevant logs. system_info Build system information Build language: java Build image provisioning date and time Wed Feb 4 18:22:50 UTC 2015 Operating System Details Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise Linux Version 2.6.32-042stab090.5 Cookbooks Version 23bb455 https://github.com/travis-ci/travis-cookbooks/tree/23bb455 GCC version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. LLVM version clang version 3.4 (tags/RELEASE_34/final) Target: x86_64-unknown-linux-gnu Thread model: posix Pre-installed Ruby versions ruby-1.9.3-p551 Pre-installed Node.js versions v0.10.36 Pre-installed Go versions 1.4.1 Redis version redis-server 2.8.19 riak version 2.0.2 MongoDB version MongoDB 2.4.12 CouchDB version couchdb 1.6.1 Neo4j version 1.9.4 Cassandra version 2.0.9 RabbitMQ Version 3.4.3 ElasticSearch version 1.4.0 Installed Sphinx versions 2.0.10 2.1.9 2.2.6 Default Sphinx version 2.2.6 Installed Firefox version firefox 31.0esr PhantomJS version 1.9.8 ant -version Apache Ant(TM) version 1.8.2 compiled on December 3 2011 mvn -version Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00) Maven home: /usr/local/maven Java version: 1.7.0_76, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-7-oracle/jre Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "2.6.32-042stab090.5", arch: "amd64", family: "unix" 75.16s$ git clone --depth=50 https://github.com/apache/cloudstack.git apache/cloudstack Cloning into 'apache/cloudstack'... fatal: unable to access 'https://github.com/apache/cloudstack.git/': Couldn't resolve host 'github.com' The command "eval git clone --depth=50 https://github.com/apache/cloudstack.git apache/cloudstack" failed. Retrying, 2 of 3. Cloning into 'apache/cloudstack'... fatal: unable to access 'https://github.com/apache/cloudstack.git/': Couldn't resolve host 'github.com' The command "eval git clone --depth=50 https://github.com/apache/cloudstack.git apache/cloudstack" failed. Retrying, 3 of 3. Cloning into 'apache/cloudstack'... fatal: unable to access 'https://github.com/apache/cloudstack.git/': Couldn't resolve host 'github.com' The command "eval git clone --depth=50 https://github.com/apache/cloudstack.git apache/cloudstack" failed 3 times. The command "git clone --depth=50 https://github.com/apache/cloudstack.git apache/cloudstack" failed and exited with 128 during . Your build has been stopped. > 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)