Bug 1817352

Summary: Libvirt service is running failed so that the wizard of hosted engine start fail in manual testing.
Product: [oVirt] vdsm Reporter: Wei Wang <weiwang>
Component: GeneralAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, cshao, eslutsky, mavital, michal.skrivanek, mtessun, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.4.0Keywords: TestBlocker
Target Release: ---Flags: sbonazzo: ovirt-4.4?
sbonazzo: blocker?
sbonazzo: planning_ack?
sbonazzo: devel_ack?
weiwang: testing_ack+
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: 2020-04-07 07:46:19 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: 1818554    
Bug Blocks:    
Attachments:
Description Flags
libvirtd_failed
none
var log files none

Description Wei Wang 2020-03-26 08:33:18 UTC
Created attachment 1673717 [details]
libvirtd_failed

Description of problem:
Libvirt service is running failed so that the wizard of hosted engine start fail in manual testing.

When clicking the start button to start hosted engine wizard in cockpit, error message "libvirt is not running! Please ensure it is running before starting the wizard, so system capabilities can be queried." is prompted (Refer to picture "libvirtd_failed"). And the libvirt service is failed as:

[root@hp-dlxxx-xxx var]# systemctl status libvirtd
● libvirtd.service - Virtualization daemon
   Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/libvirtd.service.d
           └─unlimited-core.conf
   Active: failed (Result: exit-code) since Thu 2020-03-26 15:11:54 CST; 7min ago
     Docs: man:libvirtd(8)
           https://libvirt.org
  Process: 10673 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=6)
 Main PID: 10673 (code=exited, status=6)

Mar 26 15:11:54 hp-dl388g9-05.lab.eng.pek2.redhat.com systemd[1]: libvirtd.service: Service RestartSec=100ms expired, scheduling restart.
Mar 26 15:11:54 hp-dl388g9-05.lab.eng.pek2.redhat.com systemd[1]: libvirtd.service: Scheduled restart job, restart counter is at 5.
Mar 26 15:11:54 hp-dl388g9-05.lab.eng.pek2.redhat.com systemd[1]: Stopped Virtualization daemon.
Mar 26 15:11:54 hp-dl388g9-05.lab.eng.pek2.redhat.com systemd[1]: libvirtd.service: Start request repeated too quickly.
Mar 26 15:11:54 hp-dl388g9-05.lab.eng.pek2.redhat.com systemd[1]: libvirtd.service: Failed with result 'exit-code'.
Mar 26 15:11:54 hp-dl388g9-05.lab.eng.pek2.redhat.com systemd[1]: Failed to start Virtualization daemon.


Version-Release number of selected component (if applicable):
RHVH-4.4-20200325.0-RHVH-x86_64-dvd1.iso
cockpit-system-211.3-1.el8.noarch
cockpit-ws-211.3-1.el8.x86_64
cockpit-ovirt-dashboard-0.14.3-1.el8ev.noarch
cockpit-211.3-1.el8.x86_64
cockpit-bridge-211.3-1.el8.x86_64
cockpit-dashboard-211.3-1.el8.noarch
cockpit-storaged-211.3-1.el8.noarch
ovirt-hosted-engine-ha-2.4.2-1.el8ev.noarch
ovirt-hosted-engine-setup-2.4.3-2.el8ev.noarch
rhvm-appliance-4.4-20200325.0.el8ev.x86_64
firefox-66.0.4-1.fc28.x86_64
google-chrome-stable-68.0.3440.106-1.x86_64

How reproducible:
occur twice after trying 2 times

Steps to Reproduce:
1.Clean install RHVH-4.4-20200325.0-RHVH-x86_64-dvd1.iso
2.Yum install rhvm-appliance-4.4-20200325.0.el8ev.x86_64
3. Click "start" button under Hosted Engine in cockpit.

Actual results:
The wizard of hosted engine start fail since libvirtd service is running failed.

Expected results:
The wizard of hosted engine start successful and libvirtd service is active.

Additional info:
1. This issue occurs with Firefox and chrome browser.
2. This issue is detected by manual testing.

Comment 1 Wei Wang 2020-03-26 08:37:42 UTC
Created attachment 1673720 [details]
var log files

Comment 4 Wei Wang 2020-04-07 02:53:49 UTC
Test with rhvh-4.4.0.16-0.20200401.0, Libvirt service is running failed so that the wizard of hosted engine start fail, no matter by manual or by automation. This bug now blocks hosted engine testing via cockpit UI.

Comment 5 Yuval Turgeman 2020-04-07 07:09:39 UTC
Should be fixed on the next build, but it shouldn't block you, try to run `vdsm-tool configure --force` before running the wizard

Comment 6 Sandro Bonazzola 2020-04-07 07:45:56 UTC
Fixed by Marcin in vdsm

Comment 7 Sandro Bonazzola 2020-04-07 07:46:19 UTC

*** This bug has been marked as a duplicate of bug 1818554 ***