Bug 1318416

Summary: [RFE] [Cockpit] Add the number of running VMs to dashboard
Product: [oVirt] ovirt-node Reporter: Ryan Barry <rbarry>
Component: RFEsAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: high Docs Contact:
Priority: high    
Version: ---CC: bugs, cshao, fdeutsch, rbarry, ycui
Target Milestone: ovirt-4.0.0-betaKeywords: FutureFeature
Target Release: 4.0Flags: fdeutsch: ovirt-4.0.0?
ycui: testing_plan_complete?
rule-engine: planning_ack?
fdeutsch: devel_ack+
ycui: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-ng-installer-master-2016051906.iso Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:43:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1304617, 1352435    

Description Ryan Barry 2016-03-16 19:52:19 UTC
Description of problem:

The next-gen node Cockpit dashboard should include a list of running VMs, with drillable VM statistics.

Comment 1 Red Hat Bugzilla Rules Engine 2016-03-17 01:28:09 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Red Hat Bugzilla Rules Engine 2016-03-17 22:54:46 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 3 Ryan Barry 2016-04-07 22:47:09 UTC
Without a dbus interface to libvirt, I'll start with a simple list from machined.

Also investigate integrating mlibra's plugin into the dashboard to provide more "full-fledged" information, though it may require significant changes to the codebase.

Comment 4 Ryan Barry 2016-04-08 18:15:34 UTC
mlibra's existing work has been moved to an iframe inside the dashboard, which will show a lot of statistics (if enabled).

The normal dashboard page will get a simple expandable list of VMs.

Something like:

Running VMs: 2

On click:
... expands to a list which shows names in a table

VM statistics pending reusable work, or enough development time to poll libvirt through a cockpit channel. Probably not landing for the tech preview.

Comment 5 Ryan Barry 2016-05-19 12:03:53 UTC
This is 50% complete...

We have a list of running VMs, but no statistics yet.

Comment 6 Fabian Deutsch 2016-05-19 12:06:54 UTC
Right. i think that is what we had in the vintage RHEV-H TUI.
Thus I think this bug can be moved to ON_QA:
The statistics part can be covered in a separate RFE if needed.

Comment 7 wanghui 2016-06-02 05:30:41 UTC
Test version:
rhev-hypervisor7-ng-4.0-20160527.0
cockpit-ovirt-dashboard-0.10.1-0.0.1.el7ev.noarch

Test steps:
1. Install rhev-hypervisor7-ng-4.0-20160527.0
2. Enter cockpit
3. Enter oVirt page
4. Check the Dashboard page
5. Check the Virtual Machines page

Test result:
1. After step4, the dashboard page can show "Virtual Machines $nums Running"
2. After step5, the Virtual Machines page shown the statistics of VM's status.

Hi Ryan,

Could you please help to review is the above items is enough for this RFE?

Thanks!

Comment 8 Ryan Barry 2016-06-02 11:51:18 UTC
This is enough for me.

Comment 9 wanghui 2016-06-03 03:20:54 UTC
verify this issue according to comment#7&8.

Comment 11 Sandro Bonazzola 2016-07-05 07:43:43 UTC
oVirt 4.0.0 has been released, closing current release.