Created
May 5, 2015 17:25
-
-
Save TonyLovesDevOps/54bdf423f5cedfb742fe to your computer and use it in GitHub Desktop.
virt-copy-in as sudo (failure)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Output from command: sudo LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=0 virt-copy-in -a vmbuilder2.sea1.qcow2 hosts /etc/ &>/tmp/virt-copy-as-sudo | |
libguestfs: create: flags = 0, handle = 0x253e6f0 | |
libguestfs: launch: attach-method=appliance | |
libguestfs: launch: tmpdir=/tmp/libguestfsN2FJRG | |
libguestfs: launch: umask=0022 | |
libguestfs: launch: euid=0 | |
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-431.el6.x86_64 is a directory | |
picked vmlinuz-2.6.32-431.el6.x86_64 because modpath /lib/modules/2.6.32-431.el6.x86_64 exists | |
checking modpath /lib/modules/2.6.32-431.20.3.el6.x86_64 is a directory | |
picked vmlinuz-2.6.32-431.20.3.el6.x86_64 because modpath /lib/modules/2.6.32-431.20.3.el6.x86_64 exists | |
checking modpath /lib/modules/2.6.32-504.8.1.el6.x86_64 is a directory | |
picked vmlinuz-2.6.32-504.8.1.el6.x86_64 because modpath /lib/modules/2.6.32-504.8.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 [00013ms] visiting /usr/lib64/guestfs/supermin.d/init.img | |
supermin helper [00013ms] visiting /usr/lib64/guestfs/supermin.d/udev-rules.img | |
supermin helper [00013ms] adding kernel modules | |
supermin helper [00033ms] finished creating appliance | |
libguestfs: checksum of existing appliance: b0dfa736b9e4855e7925e2ee9c4960fbca14105e564dbdab63412234b9d6a065 | |
libguestfs: [00035ms] 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: [00140ms] finished testing qemu features | |
libguestfs: accept_from_daemon: 0x253e6f0 g->state = 1 | |
[00141ms] /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-0/kernel.49046 \ | |
-initrd /var/tmp/.guestfs-0/initrd.49046 \ | |
-device virtio-scsi-pci,id=scsi \ | |
-drive file=vmbuilder2.sea1.qcow2,cache=none,id=hd0,if=none \ | |
-device scsi-hd,drive=hd0 \ | |
-drive file=/var/tmp/.guestfs-0/root.49046,snapshot=on,id=appliance,if=none,cache=unsafe \ | |
-device scsi-hd,drive=appliance \ | |
-device virtio-serial \ | |
-serial stdio \ | |
-device sga \ | |
-chardev socket,path=/tmp/libguestfsN2FJRG/guestfsd.sock,id=channel0 \ | |
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \ | |
-append 'panic=1 console=ttyS0 udevtimeout=6000 no_timer_check acpi=off printk.time=1 cgroup_disable=memory root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=screen' | |
qemu-kvm: -drive file=vmbuilder2.sea1.qcow2,cache=none,id=hd0,if=none: could not open disk image vmbuilder2.sea1.qcow2: Invalid argument | |
libguestfs: child_cleanup: 0x253e6f0: child process died | |
libguestfs: sending SIGTERM to process 49060 | |
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: closing guestfs handle 0x253e6f0 (state 0) | |
libguestfs: command: run: rm | |
libguestfs: command: run: \ -rf /tmp/libguestfsN2FJRG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment