Bug 1528818 - If libvirtd is down, we allow only AMD CPUs
Summary: If libvirtd is down, we allow only AMD CPUs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: Hosted Engine
Version: 0.11.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.2
: 0.11.12
Assignee: Phillip Bailey
QA Contact: Yihui Zhao
URL:
Whiteboard:
: 1543082 (view as bug list)
Depends On:
Blocks: 1522712
TreeView+ depends on / blocked
 
Reported: 2017-12-24 11:57 UTC by Yedidyah Bar David
Modified: 2018-03-29 11:05 UTC (History)
11 users (show)

Fixed In Version: cockpit-ovirt-0.11.12-0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-29 11:05:40 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
ycui: testing_plan_complete?
sbonazzo: devel_ack+
yzhao: testing_ack+


Attachments (Terms of Use)
libvirtd_running_cpu (35.78 KB, image/png)
2018-01-08 11:38 UTC, Yihui Zhao
no flags Details
libvirtd_stop_cpu (33.38 KB, image/png)
2018-01-08 11:39 UTC, Yihui Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 87293 0 ovirt-4.2 MERGED wizard: Don't let the wizard start if libvirt is down 2018-02-20 17:10:45 UTC
oVirt gerrit 87975 0 ovirt-4.2 MERGED wizard: Don't let the wizard start if libvirt is down 2018-02-20 17:10:49 UTC

Description Yedidyah Bar David 2017-12-24 11:57:00 UTC
Description of problem:

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

Current master

How reproducible:
Not sure, I think always

Steps to Reproduce:
1. Stop libvirtd (or perhaps also break it. For actual flow see bug 1528813).
2. Start deploy
3.

Actual results:

CPU type drop-down has only AMD CPUs.

Expected results:

Not sure - either both Intel and AMD or show a message "Failed to get list of CPUs from libvirtd, please check"

Additional info:

Comment 1 Yihui Zhao 2018-01-08 11:38:09 UTC
Created attachment 1378485 [details]
libvirtd_running_cpu

Comment 2 Yihui Zhao 2018-01-08 11:39:11 UTC
Created attachment 1378486 [details]
libvirtd_stop_cpu

Comment 3 Yihui Zhao 2018-01-08 11:42:34 UTC
Can reproduce.


Test version:
cockpit-ovirt-dashboard-0.11.3-0.1.el7ev.noarch
rhvh-4.2.0.6-0.20180104.0+1

Test steps:
1. Install the latest rhvh4.2
2. Check the libvirtd status, deploy SHE via cockpit, then check the cpu type
3. Stop the libvirtd service, deploy SHE via cockpit, then check the cpu type

Test results:

With libvirtd running:
https://bugzilla.redhat.com/attachment.cgi?id=1378485


With libvirtd stop:
https://bugzilla.redhat.com/attachment.cgi?id=1378486

Comment 4 Ryan Barry 2018-02-07 18:07:45 UTC
I actually can't reproduce this.

With libvirt stopped, the wizard fails to load (problems on the JS console).

Either way, we can do better. I'll write a patch.

Comment 5 Ryan Barry 2018-02-08 12:14:16 UTC
*** Bug 1543082 has been marked as a duplicate of this bug. ***

Comment 6 Simone Tiraboschi 2018-02-21 18:32:47 UTC
Can we move this to modified?

Comment 7 Nikolai Sednev 2018-02-22 18:00:24 UTC
Works for me on these components:
cockpit-ovirt-dashboard-0.11.12-0.1.el7ev.noarch
rhvm-appliance-4.2-20180202.0.el7.noarch
ovirt-hosted-engine-ha-2.2.6-1.el7ev.noarch
ovirt-hosted-engine-setup-2.2.11-1.el7ev.noarch
Linux alma03.qa.lab.tlv.redhat.com 3.10.0-855.el7.x86_64 #1 SMP Tue Feb 20 06:46:45 EST 2018 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.5 Beta (Maipo)

I've turned off libvirtd service and checked that it was stopped on host, then started UI NGN on host and received proper CPU Intel family.

Then checked on host and seen that libvirtd service was running.

Moving to verified.

Comment 8 Sandro Bonazzola 2018-03-29 11:05:40 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, 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.