Bug 1426474 - There is 1 vm running after installing cockpit-ovirt with Fedora24
Summary: There is 1 vm running after installing cockpit-ovirt with Fedora24
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Node
Version: 0.10.7-0.0.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: 0.11.0
Assignee: Ryan Barry
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks: oVirt_on_Fedora
TreeView+ depends on / blocked
 
Reported: 2017-02-24 01:56 UTC by Wei Wang
Modified: 2017-12-20 11:08 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:08:34 UTC
oVirt Team: Node
Embargoed:
rule-engine: ovirt-4.2+
cshao: testing_ack+


Attachments (Terms of Use)
log files (1.38 MB, application/x-gzip)
2017-02-24 01:56 UTC, Wei Wang
no flags Details
running vms in dashboard (40.23 KB, image/png)
2017-02-24 01:57 UTC, Wei Wang
no flags Details
running vms in virtual machine page (55.83 KB, image/png)
2017-02-24 02:00 UTC, Wei Wang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 73013 0 master MERGED dashboard: filter org.freedesktop.machine1 .host entries 2017-03-30 12:13:08 UTC

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.


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