Bug 1426474

Summary: There is 1 vm running after installing cockpit-ovirt with Fedora24
Product: [oVirt] cockpit-ovirt Reporter: Wei Wang <weiwang>
Component: NodeAssignee: Ryan Barry <rbarry>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Wang <weiwang>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.10.7-0.0.10CC: bugs, cshao, huzhao, leiwang, qiyuan, rbarry, yaniwang, ycui
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
cshao: testing_ack+
Target Release: 0.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:08:34 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1460625    
Attachments:
Description Flags
log files
none
running vms in dashboard
none
running vms in virtual machine page none

Description Wei Wang 2017-02-24 01:56:48 UTC
Created attachment 1257107 [details]
log files

Description of problem:
There is 1 vm running after installing cockpit-ovirt with Fedora24

Version-Release number of selected component (if applicable):
Fedora-Server-dvd-x86_64-24-1.2.iso
cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch
cockpit-0.103-1.fc24.x86_64
vdsm-4.19.6-1.fc24.x86_64
kernel-4.5.5-300.fc24.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Clean install Fedora-Server-dvd-x86_64-24-1.2.iso
2. Install cockpit-ovirt repo
   #dnf install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release41-pre.rpm
3. Install cockpit-ovirt-dashboard package
   #dnf install cockpit-ovirt-dashboard-0.10.7-0.0.11.fc24.noarch.rpm
4. Login to cockpit webUI with root account
5. Go to the "Virtualization"--> "Dashboard"
6. Check the running vm count



Actual results:
There is 1 vm running after installing cockpit-ovirt with Fedora24


Expected results:
VM count should be displayed as 0 running vm on dashboard after installing cockpit-ovirt with Fedora24



Additional info:
Check the "Virtual Machines" running VMs, the host has not been added to cluster.

Comment 1 Wei Wang 2017-02-24 01:57:39 UTC
Created attachment 1257108 [details]
running vms in dashboard

Comment 2 Wei Wang 2017-02-24 02:00:58 UTC
Created attachment 1257109 [details]
running vms in virtual machine page

Comment 3 Ryan Barry 2017-02-24 02:09:23 UTC
Can you please check machinectl list?

Comment 4 Ryan Barry 2017-02-24 02:23:53 UTC
Actually, this appears to be a change in machined on Fedora.

F24:

# dbus-send --system --print-reply --type=method_call --dest=org.freedesktop.machine1 /org/freedesktop/machine1 org.freedesktop.machine1.Manager.ListMachines                                                      
method return time=1487902929.306194 sender=:1.84 -> destination=:1.91 serial=10 reply_serial=2
   array [
      struct {
         string ".host"
         string "host"
         string ""
         object path "/org/freedesktop/machine1/machine/_2ehost"
      }
   ]


EL7:

$ dbus-send --system --print-reply --type=method_call --dest=org.freedesktop.machine1 /org/freedesktop/machine1 org.freedesktop.machine1.Manager.ListMachines 
method return sender=:1.61 -> dest=:1.60 reply_serial=2
   array [
   ]

Comment 5 cshao 2017-07-17 03:08:28 UTC
There is no 4.2 build deliver to QE for testing, so move this bug to MODIFIED status.

Comment 9 Wei Wang 2017-07-27 05:59:15 UTC
Test Version
Fedora-Server-dvd-x86_64-24-1.2.iso
cockpit-ws-0.103-1.fc24.x86_64
cockpit-ovirt-dashboard-0.11.0-0.0.2.fc25.noarch
cockpit-0.103-1.fc24.x86_64
kernel-4.5.5-300.fc24.x86_64

Steps:
1. Clean install Fedora-Server-dvd-x86_64-24-1.2.iso
2. Install cockpit-ovirt repo
   #dnf install -y http://xxxx/yum-repo/ovirt-release41-pre.rpm
3. Install cockpit-ovirt-dashboard-0.11.0-0.0.2.fc25.noarch.rpm
4. Login to cockpit WebUI with root account
5. Go to the "Virtualization"--> "Dashboard"
6. Check the running vm count

Result:
VM count displays as 0 running VM on the dashboard.

The bug is fixed, change the status to VERIFIED.

Comment 10 Sandro Bonazzola 2017-12-20 11:08:34 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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