Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1048818

Summary: Default monitor socket timeout is 3 seconds, which is way too short
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, crobinso
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-08 15:50:16 UTC Type: Bug
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:    
Bug Blocks: 910269    

Description Richard W.M. Jones 2014-01-06 11:44:41 UTC
Description of problem:

Check out the number of hits for:
https://www.google.co.uk/search?q="monitor+socket+did+not+show+up"

In the code (src/qemu/qemu_monitor.c) it looks as if the
default timeout is 3 seconds.  I'm not clear if that is 3 seconds
after the fork, 3 seconds after some other qemu event, or what,
but given the number of people who hit this timeout it looks like
this is much too short.

libguestfs hits this bug under load (bug 892273).

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

libvirt from git

How reproducible:

100%

Steps to Reproduce:

  $ cat > /tmp/qemu.wrapper
  #!/bin/sh                                                                     
  sleep 20
  exec qemu-kvm "$@"
  
  $ chmod +x /tmp/qemu.wrapper
  
  $ LIBGUESTFS_QEMU=/tmp/qemu.wrapper libguestfs-test-tool
  [...]
  Original error from libvirt: monitor socket did not show up: No such file or d
irectory [code=38 domain=10]

Comment 1 Cole Robinson 2014-01-08 15:50:16 UTC

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