Bug 886101

Summary: vdsm: vdsm is stuck in recovery for almost an hour on NFS storage with running vm's when blocking storage from host
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Pallich <jpallich>
Component: qemu-kvmAssignee: Luiz Capitulino <lcapitulino>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: high    
Version: 6.3CC: abaron, acathrow, areis, bazulay, berrange, bsarathy, cpelland, dallan, dpaikov, dron, dyasny, dyuan, hateya, iheim, jdenemar, jlibosva, juzhang, lcapitulino, lpeer, michen, minovotn, mkenneth, mzhan, pm-eus, rwu, sluo, virt-maint, whuang, xfu, ykaul, zpeng
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.295.el6_3.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-18 08:19:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 881732    
Bug Blocks: 707622    

Description Jiri Pallich 2012-12-11 14:07:03 UTC
This bug has been copied from bug #881732 and has been proposed
to be backported to 6.3 z-stream (EUS).

Comment 7 FuXiangChun 2012-12-13 07:19:28 UTC
1.Tested this issue with qemu-kvm-0.12.1.2-2.295.el6_3.10.x86_64

Result:
{"execute": "qmp_capabilities"}
{"return": {}}
{"timestamp": {"seconds": 1355382052, "microseconds": 493990}, "event": "BALLOON_CHANGE", "data": {"actual": 2146435072}}
{"timestamp": {"seconds": 1355382053, "microseconds": 492123}, "event": "BALLOON_CHANGE", "data": {"actual": 418381824}}
{"timestamp": {"seconds": 1355382054, "microseconds": 369630}, "event": "BALLOON_CHANGE", "data": {"actual": 342376448}}
{"timestamp": {"seconds": 1355382055, "microseconds": 2281}, "event": "BALLOON_CHANGE", "data": {"actual": 332943360}}
{"timestamp": {"seconds": 1355382056, "microseconds": 623717}, "event": "BALLOON_CHANGE", "data": {"actual": 331894784}}
{"timestamp": {"seconds": 1355382056, "microseconds": 826134}, "event": "BALLOON_CHANGE", "data": {"actual": 331350016}}
{"timestamp": {"seconds": 1355382060, "microseconds": 848282}, "event": "BALLOON_CHANGE", "data": {"actual": 330571776}}
{"timestamp": {"seconds": 1355382061, "microseconds": 455158}, "event": "BALLOON_CHANGE", "data": {"actual": 329191424}}
{"timestamp": {"seconds": 1355382062, "microseconds": 663364}, "event": "BALLOON_CHANGE", "data": {"actual": 328261632}}
{"timestamp": {"seconds": 1355382063, "microseconds": 473142}, "event": "BALLOON_CHANGE", "data": {"actual": 326553600}}
{"timestamp": {"seconds": 1355382064, "microseconds": 690378}, "event": "BALLOON_CHANGE", "data": {"actual": 322379776}}
{"timestamp": {"seconds": 1355382065, "microseconds": 507037}, "event": "BALLOON_CHANGE", "data": {"actual": 318152704}}

{"execute": "query-events"}
{"return": [{"name": "BALLOON_CHANGE"}, {"name": "WAKEUP"}, {"name": "SUSPEND"}, {"name": "__com.redhat_SPICE_DISCONNECTED"}, {"name": "__com.redhat_SPICE_INITIALIZED"}, {"name": "BLOCK_JOB_CANCELLED"}, {"name": "BLOCK_JOB_COMPLETED"}, {"name": "DEVICE_TRAY_MOVED"}, {"name": "SPICE_DISCONNECTED"}, {"name": "SPICE_INITIALIZED"}, {"name": "SPICE_CONNECTED"}, {"name": "WATCHDOG"}, {"name": "RTC_CHANGE"}, {"name": "BLOCK_IO_ERROR"}, {"name": "VNC_DISCONNECTED"}, {"name": "VNC_INITIALIZED"}, {"name": "VNC_CONNECTED"}, {"name": "RESUME"}, {"name": "STOP"}, {"name": "POWERDOWN"}, {"name": "RESET"}, {"name": "SHUTDOWN"}]}

2.Tested this issue with qemu-kvm-rhev-0.12.1.2-2.295.el6_3.10.x86_64

result:
{"execute": "qmp_capabilities"}
{"return": {}}
{"timestamp": {"seconds": 1355382655, "microseconds": 702395}, "event": "BALLOON_CHANGE", "data": {"actual": 2146435072}}
{"timestamp": {"seconds": 1355382656, "microseconds": 701756}, "event": "BALLOON_CHANGE", "data": {"actual": 629145600}}
{"timestamp": {"seconds": 1355382657, "microseconds": 658372}, "event": "BALLOON_CHANGE", "data": {"actual": 360710144}}
{"timestamp": {"seconds": 1355382658, "microseconds": 542272}, "event": "BALLOON_CHANGE", "data": {"actual": 355663872}}
{"timestamp": {"seconds": 1355382659, "microseconds": 636981}, "event": "BALLOON_CHANGE", "data": {"actual": 347807744}}
{"timestamp": {"seconds": 1355382660, "microseconds": 701864}, "event": "BALLOON_CHANGE", "data": {"actual": 346927104}}
{"timestamp": {"seconds": 1355382661, "microseconds": 355575}, "event": "BALLOON_CHANGE", "data": {"actual": 339263488}}
{"timestamp": {"seconds": 1355382662, "microseconds": 627652}, "event": "BALLOON_CHANGE", "data": {"actual": 336060416}}
{"timestamp": {"seconds": 1355382663, "microseconds": 272747}, "event": "BALLOON_CHANGE", "data": {"actual": 327024640}}


{"execute": "query-events"}
{"return": [{"name": "BALLOON_CHANGE"}, {"name": "WAKEUP"}, {"name": "SUSPEND"}, {"name": "__com.redhat_SPICE_DISCONNECTED"}, {"name": "__com.redhat_SPICE_INITIALIZED"}, {"name": "BLOCK_JOB_CANCELLED"}, {"name": "BLOCK_JOB_COMPLETED"}, {"name": "DEVICE_TRAY_MOVED"}, {"name": "SPICE_DISCONNECTED"}, {"name": "SPICE_INITIALIZED"}, {"name": "SPICE_CONNECTED"}, {"name": "WATCHDOG"}, {"name": "RTC_CHANGE"}, {"name": "BLOCK_IO_ERROR"}, {"name": "VNC_DISCONNECTED"}, {"name": "VNC_INITIALIZED"}, {"name": "VNC_CONNECTED"}, {"name": "RESUME"}, {"name": "STOP"}, {"name": "POWERDOWN"}, {"name": "RESET"}, {"name": "SHUTDOWN"}]}

Base on this result above, I think it is fixed.

Comment 8 Dafna Ron 2012-12-16 15:55:46 UTC
verified by rhevm-qe on the following packages: 

vdsm-4.9.6-44.2.el6_3.x86_64
qemu-kvm-rhev-0.12.1.2-2.295.el6_3.10.x86_64
qemu-img-rhev-0.12.1.2-2.295.el6_3.10.x86_64
libvirt-0.9.10-21.el6_3.7.x86_64

with rhevm build: si25.1

Comment 11 errata-xmlrpc 2012-12-18 08:19:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2012-1582.html