RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 731673 - virsh # start domain1 --console hang there at the third time
Summary: virsh # start domain1 --console hang there at the third time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 716393
TreeView+ depends on / blocked
 
Reported: 2011-08-18 10:17 UTC by yanbing du
Modified: 2011-12-06 11:27 UTC (History)
8 users (show)

Fixed In Version: libvirt-0.9.4-8.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 11:27:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1513 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-12-06 01:23:30 UTC

Description yanbing du 2011-08-18 10:17:41 UTC
Description of problem:
trying to reproduce bug 716393, when do the third time, virsh # start domain1 --console hang there, but cancel it or open an another terminal, and rerun the cmd, there's no problem.


Version-Release number of selected component (if applicable):
libvirt-0.9.4-4.el6.x86_64


How reproducible:
always

Steps to Reproduce:
1. virsh # start domain1 --console and leave it open.
2. On qemu guest vnc console, type halt as root.
3. rerun the above two steps.
  
Actual results:
at the third time, 
virsh # start domain1 --console
hang there

Expected results:
virsh # start domain1 --console
Domain domain1 started
Connected to domain domain1
Escape character is ^]

Additional info:
#cat /var/log/libvirt/libvirtd.log 
------
18:04:30.073: 3101: error : daemonStreamEvent:205 : stream had I/O failure
18:04:30.073: 3101: error : virNetSocketReadWire:910 : End of file while reading data: Input/output error
18:04:30.074: 3101: error : virStreamEventUpdateCallback:13844 : invalid connection pointer in virStreamEventUpdateCallback
18:04:30.074: 3101: error : qemuMonitorIO:577 : internal error End of file from monitor
18:05:18.434: 3101: error : daemonStreamEvent:205 : stream had I/O failure
18:05:18.434: 3101: error : virNetSocketReadWire:910 : End of file while reading data: Input/output error
18:05:18.435: 3101: error : virStreamEventUpdateCallback:13844 : invalid connection pointer in virStreamEventUpdateCallback
18:05:18.435: 3101: error : qemuMonitorIO:577 : internal error End of file from monitor
------

Comment 2 Daniel Berrangé 2011-09-01 19:28:38 UTC
There are multiple fixes in upstream GIT. We need all of the changes to daemon/ and src/rpc which impact streams, upto and including this final change:

commit b3fb288e52b7d0a0e58ab0e0bcac970436832d04
Author: Daniel P. Berrange <berrange>
Date:   Wed Aug 31 17:42:58 2011 +0100

    Fix tracking of RPC messages wrt streams

Comment 7 dyuan 2011-09-07 07:50:49 UTC
Reproduced this bug with libvirt-0.9.4-7.el6, "virsh # start domain1 --console" will hang at the 3rd time.
Verified PASS with libvirt-0.9.4-9.el6, "virsh # start domain1 --console" run normally for 5 times. But there are still some errors in libvirtd.log at the guest "power down":

15:48:44.185: 10072: error : daemonStreamEvent:208 : stream had I/O failure
15:48:44.186: 10072: error : virFDStreamUpdateCallback:111 : internal error stream is not open
15:48:44.186: 10072: error : qemuMonitorIO:577 : internal error End of file from monitor

Comment 8 errata-xmlrpc 2011-12-06 11:27:05 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-2011-1513.html


Note You need to log in before you can comment on or make changes to this bug.