Bug 1152690

Summary: Watchdog not triggering action on ppc arch
Product: Red Hat Enterprise Virtualization Manager Reporter: Lukas Svaty <lsvaty>
Component: ovirt-engineAssignee: Martin Polednik <mpoledni>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.4.1-1CC: dfediuck, dgibson, gklein, hannsj_uhl, istein, lpeer, lsurette, lsvaty, mavital, michal.skrivanek, oourfali, rbalakri, Rhev-m-bugs, sherold, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: TestOnly
Target Release: 3.6.0   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:38:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1198936    
Bug Blocks: 1122979, 1201513    

Description Lukas Svaty 2014-10-14 17:45:02 UTC
Description of problem:
Watchdog is successfully added to VM on ppc arch but does not trigger any action.

Version-Release number of selected component (if applicable):
av12.2

How reproducible:
100%

Steps to Reproduce:
1. Have VM with rhel6.5
2. Edit VM -> Add Watchdog model->i6300esb action->reset (or any other)
5. edit /etc/watchdog.conf to enable watchdog device
6. yum install watchdog
7. service watchdog start
8. trigger watchdog `killall -9 watchdog`
9. wait for 5 minutes

Actual results:
No action triggered by watchdog.

Expected results:
Action set in watchdog action field should be triggered.

Additional info:
logs

Comment 2 Doron Fediuck 2014-10-19 06:17:48 UTC
Can you please provide the guest logs as well (mainly the watchdog ones)?

Comment 3 Michal Skrivanek 2014-10-21 11:26:33 UTC
I don't think guest-side watchdog is supported yet

Comment 4 Lukas Svaty 2014-10-21 12:13:55 UTC
Can you confirm this information?
If watchdog is not supported this should be put as RFE. And watchdog removed from engine.

Comment 5 Michal Skrivanek 2014-10-21 14:49:54 UTC
there are already patches for blocking watchdog. Vitor will update

Comment 6 Michal Skrivanek 2014-10-22 10:20:49 UTC
need a rel note that watchdog should not be used

Comment 7 Eyal Edri 2015-02-25 08:40:16 UTC
3.5.1 is already full with bugs (over 80), and since none of these bugs were added as urgent for 3.5.1 release in the tracker bug, moving to 3.5.2

Comment 8 David Gibson 2015-03-17 00:02:22 UTC
At present the i6300esb doesn't work on ppc at the qemu level.  Adding a dep to bug 1198936 which covers this.

Leaving this open for now, in case there are also fixes needed in the intervening layers once we fix the qemu bug.

Comment 9 David Gibson 2015-03-24 22:41:48 UTC
The qemu level i6300esb bug noted in bug 1198936 now has a fix upstream.  We'll be porting it downstream once it is merged.

Note, however, that bug 1198936 had the effect that the watchdog would immediately trigger, rather than never triggering.  Since you're not seeing any watchdog action at the ovirt level, this suggests there is a different bug.

Have you verified that the ovirt watchdog configuration is making it into the libvirt xml, into the qemu command line and into the guest (as viewed with lspci).

Comment 11 Michal Skrivanek 2015-08-04 13:43:03 UTC
AFAIU it should work work, can you please retest

Comment 12 Martin Polednik 2015-08-05 13:13:55 UTC
Seems to work as expected (with 7.2 packages).

Comment 13 Shira Maximov 2015-09-09 12:20:37 UTC
Verified on :
Build (3.6.0-11)
VDS(vdsm-4.17.5-1.el7ev.noarch)

link to auotmation test: 
https://rhev-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/3.6_Dev/job/3.6-GE-compute/251/