[Libguestfs] libguest-test-tool error report

Mark Husted (hustedm)
Thu, 21 Aug 2014 19:45:31 -0000

Hello,

I am trying to use virt-resize.  It does not work.  I set the debug environment
variables and ran libguestfs-test-tool.  The following is its output.  I am
running RHEL 6.5 desktop with kernel:
Linux hustedm-lnx4 2.6.32-431.5.1.el6.x86_64 #1 SMP Fri Jan 10 14:46:43 EST 2014
x86_64 x86_64 x86_64 GNU/Linux

Please let me know what I have missed.

Thanks,
Mark



bash-4.1$ libguestfs-test-tool
     ************************************************************
     *                    IMPORTANT NOTICE
     *
     * When reporting bugs, include the COMPLETE, UNEDITED
     * output below in your bug report.
     *
     ************************************************************
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
LIBGUESTFS_DEBUG=1
LIBGUESTFS_TRACE=1
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
SELinux: Disabled
libguestfs: trace: add_drive "/tmp/libguestfs-test-tool-sda-SLEdMd"
"format:raw"
libguestfs: trace: add_drive = 0
libguestfs: trace: version
libguestfs: trace: version = <struct guestfs_version *>
library version: 1.20.11rhel=6,release=2.el6
libguestfs: trace: get_append
libguestfs: trace: get_append = "NULL"
guestfs_get_append: (null)
libguestfs: trace: get_attach_method
libguestfs: trace: get_attach_method = "appliance"
guestfs_get_attach_method: appliance
libguestfs: trace: get_autosync
libguestfs: trace: get_autosync = 1
guestfs_get_autosync: 1
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
guestfs_get_cachedir: /var/tmp
libguestfs: trace: get_direct
libguestfs: trace: get_direct = 0
guestfs_get_direct: 0
libguestfs: trace: get_memsize
libguestfs: trace: get_memsize = 500
guestfs_get_memsize: 500
libguestfs: trace: get_network
libguestfs: trace: get_network = 0
guestfs_get_network: 0
libguestfs: trace: get_path
libguestfs: trace: get_path = "/usr/lib64/guestfs"
guestfs_get_path: /usr/lib64/guestfs
libguestfs: trace: get_pgroup
libguestfs: trace: get_pgroup = 0
guestfs_get_pgroup: 0
libguestfs: trace: get_qemu
libguestfs: trace: get_qemu = "/usr/libexec/qemu-kvm"
guestfs_get_qemu: /usr/libexec/qemu-kvm
libguestfs: trace: get_recovery_proc
libguestfs: trace: get_recovery_proc = 1
guestfs_get_recovery_proc: 1
libguestfs: trace: get_selinux
libguestfs: trace: get_selinux = 0
guestfs_get_selinux: 0
libguestfs: trace: get_smp
libguestfs: trace: get_smp = 1
guestfs_get_smp: 1
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
guestfs_get_tmpdir: /tmp
libguestfs: trace: get_trace
libguestfs: trace: get_trace = 1
guestfs_get_trace: 1
libguestfs: trace: get_verbose
libguestfs: trace: get_verbose = 1
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: trace: launch
libguestfs: trace: get_tmpdir
libguestfs: trace: get_tmpdir = "/tmp"
libguestfs: launch: attach-method=appliance
libguestfs: launch: tmpdir=/tmp/libguestfs98LK1f
libguestfs: launch: umask=0022
libguestfs: launch: euid=172990
libguestfs: command: run: febootstrap-supermin-helper
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ -f checksum
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
libguestfs: command: run: \ x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel
= (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/2.6.32-358.0.1.el6.x86_64 is a directory
picked vmlinuz-2.6.32-358.0.1.el6.x86_64 because modpath
/lib/modules/2.6.32-358.0.1.el6.x86_64 exists
checking modpath /lib/modules/2.6.32-279.el6.x86_64 is a directory
picked vmlinuz-2.6.32-279.el6.x86_64 because modpath
/lib/modules/2.6.32-279.el6.x86_64 exists
checking modpath /lib/modules/2.6.32-431.5.1.el6.x86_64 is a directory
picked vmlinuz-2.6.32-431.5.1.el6.x86_64 because modpath
/lib/modules/2.6.32-431.5.1.el6.x86_64 exists
supermin helper [00000ms] finished creating kernel
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00000ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [00019ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [00020ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img
supermin helper [00020ms] adding kernel modules
supermin helper [00045ms] finished creating appliance
libguestfs: checksum of existing appliance:
7b8750ee421097e06adfcd48c6a7fbefc3ab131ff84819e41c15d770fef8702b
libguestfs: trace: get_cachedir
libguestfs: trace: get_cachedir = "/var/tmp"
libguestfs: [00047ms] begin testing qemu features
libguestfs: command: run: /usr/libexec/qemu-kvm
libguestfs: command: run: \ -nographic
libguestfs: command: run: \ -help
libguestfs: command: run: /usr/libexec/qemu-kvm
libguestfs: command: run: \ -nographic
libguestfs: command: run: \ -version
libguestfs: qemu version 0.12
libguestfs: command: run: /usr/libexec/qemu-kvm
libguestfs: command: run: \ -nographic
libguestfs: command: run: \ -machine accel=kvm:tcg
libguestfs: command: run: \ -device ?
libguestfs: [00074ms] finished testing qemu features
libguestfs: accept_from_daemon: 0xdd3cf0 g->state = 1
[00075ms] /usr/libexec/qemu-kvm \
    -global virtio-blk-pci.scsi=off \
    -nodefconfig \
    -nodefaults \
    -nographic \
    -machine accel=kvm:tcg \
    -cpu host,+kvmclock \
    -m 500 \
    -no-reboot \
    -kernel /var/tmp/.guestfs-172990/kernel.9600 \
    -initrd /var/tmp/.guestfs-172990/initrd.9600 \
    -device virtio-scsi-pci,id=scsi \
    -drive
file=/tmp/libguestfs-test-tool-sda-SLEdMd,cache=none,format=raw,id=hd0,if=none \
    -device scsi-hd,drive=hd0 \
    -drive
file=/var/tmp/.guestfs-172990/root.9600,snapshot=on,id=appliance,if=none,cache=unsafe
\
    -device scsi-hd,drive=appliance \
    -device virtio-serial \
    -serial stdio \
    -device sga \
    -chardev socket,path=/tmp/libguestfs98LK1f/guestfsd.sock,id=channel0 \
    -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
    -append 'panic=1 console=ttyS0 udevtimeout=600 no_timer_check acpi=off
printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1
TERM=xterm'
kvm_create_vm: Device or resource busy
failed to initialize KVM: Operation not permitted
Back to tcg accelerator.
Unknown cpu model: host
Unable to support requested x86 CPU definition
libguestfs: child_cleanup: 0xdd3cf0: child process died
libguestfs: sending SIGTERM to process 9610
libguestfs: error: /usr/libexec/qemu-kvm exited with error status 1, see debug
messages above
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs-test-tool: failed to launch appliance
libguestfs: trace: close
libguestfs: closing guestfs handle 0xdd3cf0 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfs98LK1f
bash-4.1$





[http://www.cisco.com/web/europe/images/email/signature/logo05.jpg]

Mark Husted
ENGINEER.SOFTWARE ENGINEERING
Service Provider Video Technology Group
hustedm@cisco.com<mailto:hustedm@cisco.com>
Phone: +1 770 236 1242

Bldg 2.1.238
5030 Sugarloaf Parkway
Lawrenceville, GA 30044
United States
Cisco.com<http://www.cisco.com>



[Think before you print.]Think before you print.

This email may contain confidential and privileged material for the sole use of
the intended recipient. Any review, use, distribution or disclosure by others is
strictly prohibited. If you are not the intended recipient (or authorized to
receive for the recipient), please contact the sender by reply email and delete
all copies of this message.
For corporate legal information go to: