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 1430273 - virt-install fails with error: unable to execute QEMU command 'query-iothreads'
Summary: virt-install fails with error: unable to execute QEMU command 'query-iothreads'
Keywords:
Status: CLOSED DUPLICATE of bug 1430258
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: virt-mgr-maint
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-08 09:23 UTC by Matus Marhefka
Modified: 2017-06-21 09:40 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-08 09:53:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matus Marhefka 2017-03-08 09:23:31 UTC
Description of problem:
When installing VM using virt-install, installation fails with the following error:
ERROR    internal error: unable to execute QEMU command 'query-iothreads': The command query-iothreads has not been found


Version-Release number of selected component (if applicable):
virt-install-1.4.0-2.el7.noarch
virt-manager-1.4.0-2.el7
qemu-kvm-1.5.3-132.el7.x86_64
qemu-img-1.5.3-132.el7.x86_64
libvirt-3.1.0-1.el7.x86_64
libvirt-client-3.1.0-1.el7.x86_64


How reproducible:
Reproduced with kickstart installation and also when importing an empty qcow2 image.


Steps to Reproduce:
1. Create an empty image:
# export IMAGE=/var/lib/libvirt/images/test.qcow2
# qemu-img create -f qcow2 $IMAGE 5M

2. Run virt-install:
# virt-install --hvm --connect qemu:///system --name=test --os-type linux --os-variant=rhel7 --disk path=$IMAGE,device=disk,format=qcow2 --graphics none --ram 128 --vcpus=1 --network network=default --import

Starting install...
ERROR    internal error: unable to execute QEMU command 'query-iothreads': The command query-iothreads has not been found
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start test
otherwise, please restart your installation.

# systemctl status -l libvirtd.service
Mar 08 08:50:19 hostname libvirtd[18810]: 2017-03-08 13:50:19.682+0000: 18812: error : qemuMonitorJSONCheckError:387 : internal error: unable to execute QEMU command 'query-iothreads': The command query-iothreads has not been found

# cat /var/log/libvirt/qemu/test.log
starting up libvirt version: 3.1.0, package: 1.el7 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2017-03-03-09:03:32, qemu version: 1.5.3 (qemu-kvm-1.5.3-132.el7), hostname: hostname
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name test -S -machine pc-i440fx-rhel7.0.0,accel=kvm,usb=off,dump-guest-core=off -cpu Westmere -m 128 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 4ddd366d-a879-4db1-b33e-432152aec437 -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-3-test/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x4.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x4 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x4.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x4.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive file=/var/lib/libvirt/images/test.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=27 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:ba:93:8a,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-3-test/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
2017-03-08 13:52:07.999+0000: shutting down, reason=failed
qemu: terminating on signal 15 from pid 18810


Actual results:
virt-install fails with internal error.


Expected results:
virt-install completes installation/import without errors.

Comment 1 Pavel Hrdina 2017-03-08 09:53:47 UTC

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


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