Bug 854369 - PRD33 - [RHEVM-SHELL] : Add option to retrieve system summary
Summary: PRD33 - [RHEVM-SHELL] : Add option to retrieve system summary
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Juan Hernández
QA Contact: Ilia Meerovich
URL:
Whiteboard: infra
Depends On:
Blocks: 976618
TreeView+ depends on / blocked
 
Reported: 2012-09-04 19:03 UTC by Oded Ramraz
Modified: 2016-09-12 09:01 UTC (History)
10 users (show)

Fixed In Version: is3
Doc Type: Enhancement
Doc Text:
The "summary" option can now be used to retrieve a system summary reporting the status of hosts, storage, users, and virtual machines.
Clone Of:
: 976618 (view as bug list)
Environment:
Last Closed: 2014-01-21 15:53:06 UTC
oVirt Team: Infra
Target Upstream Version:
dyasny: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0076 0 normal SHIPPED_LIVE rhevm-cli enhancement update 2014-01-21 20:14:43 UTC
oVirt gerrit 12964 0 None None None Never

Description Oded Ramraz 2012-09-04 19:03:41 UTC
Description of problem:

It would be nice to have the option to retrieve system summary using engine-cli. 
We have this option in Rest API as well. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

<summary>
<vms><total>5</total><active>3</active></vms>
<hosts><total>2</total><active>2</active></hosts><
users><total>2</total><active>1</active></users>
<storage_domains><total>2</total><active>2</active></storage_domains>
</summary>

Comment 1 Michael Pasternak 2013-03-12 10:35:15 UTC
[oVirt shell (connected)]# summary

hosts-active          : 0
hosts-total           : 4
storage_domains-active: 3
storage_domains-total : 4
users-active          : 1
users-total           : 3
vms-active            : 0
vms-total             : 7

Comment 2 Ilia Meerovich 2013-07-03 12:02:44 UTC
Build: IS4
[imeerovi@imeerovi storage_api]$ /usr/bin/rhevm-shell -c --url=https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I

 ==========================================
 >>> connected to RHEVM manager 3.3.0.0 <<<
 ==========================================


        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (connected)]# summary

hosts-active          : 0
hosts-total           : 0
storage_domains-active: 0
storage_domains-total : 1
users-active          : 1
users-total           : 2
vms-active            : 0
vms-total             : 1

[RHEVM shell (connected)]#

Comment 4 errata-xmlrpc 2014-01-21 15:53:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0076.html

Comment 5 Jakub Hrozek 2016-09-11 20:21:55 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2711

Comment 6 Juan Hernández 2016-09-12 08:40:28 UTC
Jakub, you may have used an incorrect bug number.

Comment 7 Jakub Hrozek 2016-09-12 09:01:35 UTC
(In reply to Juan Hernández from comment #6)
> Jakub, you may have used an incorrect bug number.

Of course I did, sorry about that


Note You need to log in before you can comment on or make changes to this bug.