Bug 1523314

Summary: Error 'internal error: End of file from qemu monitor" is received after shutting down the VM
Product: Red Hat Enterprise Virtualization Manager Reporter: Koutuk Shukla <kshukla>
Component: vdsmAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED ERRATA QA Contact: Israel Pinto <ipinto>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.7CC: bburmest, klaas, kshukla, lsurette, mavital, michal.skrivanek, pveiga, rbalakri, Rhev-m-bugs, srevivo, ycui, ykaul, ylavi
Target Milestone: ovirt-4.2.2Keywords: TestOnly
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Libvirt no longer logs an incorrect error when a virtual machine is shut down correctly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-15 17:52:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Koutuk Shukla 2017-12-07 17:24:48 UTC
Description of problem:

On vm shutdown (systemctl poweroff from inside the vm or shutdown via rhvm) Following error is received in /var/log/messages of the hypervisor

error : qemuMonitorIO:697 : internal error: End of file from qemu monitor

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

rhevm-4.1.7
vdsm-4.19.31-1.el7ev.x86_64


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

Below error is seen on Host after vm shutdown

error : qemuMonitorIO:697 : internal error: End of file from qemu monitor


Expected results:

VM should shutdown without any errors.

Additional info:

Comment 3 Klaas Demter 2017-12-08 07:35:38 UTC
I think this bug should be in product rhel 7 component libvirt (upstream fix should be https://libvirt.org/git/?p=libvirt.git;a=commit;h=aeda1b8c56dc58b0a413acc61bbea938b40499e1)

Comment 4 Michal Skrivanek 2017-12-08 09:21:06 UTC
should be fixed in libvirt newer than 3.4.0, on RHEL/CentOS that would be fixed in 7.5, RHV 4.2
Keeping open for verification

Comment 8 Sandro Bonazzola 2018-02-22 11:28:56 UTC
Can this move to QE for verification now?

Comment 9 Michal Skrivanek 2018-02-22 11:50:30 UTC
yeah, sure.

Comment 10 Israel Pinto 2018-02-26 11:51:47 UTC
Verify with:
Engine version:4.2.2.1-0.1.el7
Host:
OS Version:RHEL - 7.5 - 6.el7
Kernel Version:3.10.0 - 855.el7.x86_64
KVM Version:2.10.0 - 21.el7
LIBVIRT Version:libvirt-3.9.0-13.el7
VDSM Version:vdsm-4.20.19-1.el7ev

Steps:
Run VM and check all the following cases, check in /var/log/messages and libvirtd.log
   - shutdown from the engine
   - power off from the engine
   - systemctl poweroff from the guest
   - shutdown from the guest
Results:
Did not found the error message record in the logs.

Comment 13 Israel Pinto 2018-04-23 12:48:27 UTC
Moving back to verify bot problem

Comment 16 errata-xmlrpc 2018-05-15 17:52:46 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.

https://access.redhat.com/errata/RHEA-2018:1489

Comment 17 Franta Kust 2019-05-16 13:05:44 UTC
BZ<2>Jira Resync