Hi, I have use kvm 、 virsh 、 virt for almost half year ,all things goes well 。 but recently, I use virt-copy-in found some problem , I have do nothing with my server ,but the problem appear . Here is the error message blow . I really appreciate your geneous help [root@gz-op-vmhost01 vmdata]# uname -r && cat /etc/redhat-release && virsh -V 4.19.8-1.el7.elrepo.x86_64 CentOS Linux release 7.2.1511 (Core) Virsh command line tool of libvirt 4.5.0 See web site at https://libvirt.org/ Compiled with support for: Hypervisors: QEMU/KVM LXC ESX Test Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM RBD Gluster Miscellaneous: Daemon Nodedev SELinux Secrets Debug DTrace Readline [root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Disabled libguestfs: trace: add_drive_scratch 104857600 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/scratch1.img" "raw" 104857600 libguestfs: trace: disk_create = 0 libguestfs: trace: add_drive "/tmp/libguestfsr2XJRP/scratch1.img" "format:raw" "cachemode:unsafe" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive_scratch = 0 libguestfs: trace: get_append libguestfs: trace: get_append = "NULL" guestfs_get_append: (null) libguestfs: trace: get_autosync libguestfs: trace: get_autosync = 1 guestfs_get_autosync: 1 libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" guestfs_get_backend: libvirt libguestfs: trace: get_backend_settings libguestfs: trace: get_backend_settings = [] guestfs_get_backend_settings: [] libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" guestfs_get_cachedir: /var/tmp libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" guestfs_get_hv: /usr/libexec/qemu-kvm 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_program libguestfs: trace: get_program = "libguestfs-test-tool" guestfs_get_program: libguestfs-test-tool libguestfs: trace: get_recovery_proc libguestfs: trace: get_recovery_proc = 1 guestfs_get_recovery_proc: 1 libguestfs: trace: get_smp libguestfs: trace: get_smp = 1 guestfs_get_smp: 1 libguestfs: trace: get_sockdir libguestfs: trace: get_sockdir = "/tmp" guestfs_get_sockdir: /tmp 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: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsr2XJRP libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-tv134tqwpax481b9 libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x564c2ce63ab0 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_label" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: build appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsr2XJRP/overlay2.qcow2 qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: Could not open '/var/tmp/.guestfs-0/appliance.d/root': No such file or directory Could not open backing image to determine size. libguestfs: error: qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above libguestfs: trace: disk_create = -1 (error) libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x564c2ce63000 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsr2XJRP [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/root ls: cannot access /var/tmp/.guestfs-0/appliance.d/root: No such file or directory [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/ total 10192 -rw-r--r-- 1 qemu qemu 3335680 Jan 3 13:36 initrd -rwxr-xr-x 1 qemu qemu 7095680 Jan 3 13:36 kernel [root@gz-op-vmhost01 vmdata]# mkdir /var/tmp/.guestfs-0/appliance.d/root [root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Disabled libguestfs: trace: add_drive_scratch 104857600 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/scratch1.img" "raw" 104857600 libguestfs: trace: disk_create = 0 libguestfs: trace: add_drive "/tmp/libguestfsn1zUMm/scratch1.img" "format:raw" "cachemode:unsafe" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive_scratch = 0 libguestfs: trace: get_append libguestfs: trace: get_append = "NULL" guestfs_get_append: (null) libguestfs: trace: get_autosync libguestfs: trace: get_autosync = 1 guestfs_get_autosync: 1 libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" guestfs_get_backend: libvirt libguestfs: trace: get_backend_settings libguestfs: trace: get_backend_settings = [] guestfs_get_backend_settings: [] libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" guestfs_get_cachedir: /var/tmp libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" guestfs_get_hv: /usr/libexec/qemu-kvm 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_program libguestfs: trace: get_program = "libguestfs-test-tool" guestfs_get_program: libguestfs-test-tool libguestfs: trace: get_recovery_proc libguestfs: trace: get_recovery_proc = 1 guestfs_get_recovery_proc: 1 libguestfs: trace: get_smp libguestfs: trace: get_smp = 1 guestfs_get_smp: 1 libguestfs: trace: get_sockdir libguestfs: trace: get_sockdir = "/tmp" guestfs_get_sockdir: /tmp 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: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsn1zUMm libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-6jipufmlo60389k4 libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x563ac943fab0 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_label" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: build appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsn1zUMm/overlay2.qcow2 qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: A regular file was expected by the 'file' driver, but something else was given Could not open backing image to determine size. libguestfs: error: qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above libguestfs: trace: disk_create = -1 (error) libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x563ac943f000 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsn1zUMm [root@gz-op-vmhost01 vmdata]# [root@gz-op-vmhost01 vmdata]# virt-copy-in /etc/resolv.conf -a 10.188.2.9.sys.img /etc/ libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: create: flags = 0, handle = 0x55f344b7f650, program = virt-copy-in libguestfs: trace: set_pgroup true libguestfs: trace: set_pgroup = 0 libguestfs: trace: add_drive "10.188.2.9.sys.img" libguestfs: trace: add_drive = 0 libguestfs: trace: is_config libguestfs: trace: is_config = 1 libguestfs: trace: launch libguestfs: trace: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" libguestfs: launch: program=virt-copy-in libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsHRQGUn libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-yxto5xhpuo3fwlvw libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x55f344b800c0 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_label" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: build appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: trace: disk_create "/tmp/libguestfsHRQGUn/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsHRQGUn/overlay1.qcow2 qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: A regular file was expected by the 'file' driver, but something else was given Could not open backing image to determine size. libguestfs: error: qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: qemu-img exited with error status 1, see debug messages above libguestfs: trace: disk_create = -1 (error) libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x55f344b7f650 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsHRQGUn
It seems that the appliance is broken. Try removing /var/tmp/.guestfs-0/ and run the test tool again. Tomas On Fri, 3 Jan 2020 13:53:10 +0800 "谢威" <249016681@qq.com> wrote:
Hi, I have use kvm 、 virsh 、 virt for almost half year ,all things goes well 。 but recently, I use virt-copy-in found some problem , I have do nothing with my server ,but the problem appear . Here is the error message blow . I really appreciate your geneous help
[root@gz-op-vmhost01 vmdata]# uname -r && cat /etc/redhat-release && virsh -V 4.19.8-1.el7.elrepo.x86_64 CentOS Linux release 7.2.1511 (Core) Virsh command line tool of libvirt 4.5.0 See web site at https://libvirt.org/
Compiled with support for: Hypervisors: QEMU/KVM LXC ESX Test Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM RBD Gluster Miscellaneous: Daemon Nodedev SELinux Secrets Debug DTrace Readline
[root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Disabled libguestfs: trace: add_drive_scratch 104857600 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/scratch1.img" "raw" 104857600 libguestfs: trace: disk_create = 0 libguestfs: trace: add_drive "/tmp/libguestfsr2XJRP/scratch1.img" "format:raw" "cachemode:unsafe" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive_scratch = 0 libguestfs: trace: get_append libguestfs: trace: get_append = "NULL" guestfs_get_append: (null) libguestfs: trace: get_autosync libguestfs: trace: get_autosync = 1 guestfs_get_autosync: 1 libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" guestfs_get_backend: libvirt libguestfs: trace: get_backend_settings libguestfs: trace: get_backend_settings = [] guestfs_get_backend_settings: [] libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" guestfs_get_cachedir: /var/tmp libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" guestfs_get_hv: /usr/libexec/qemu-kvm 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_program libguestfs: trace: get_program = "libguestfs-test-tool" guestfs_get_program: libguestfs-test-tool libguestfs: trace: get_recovery_proc libguestfs: trace: get_recovery_proc = 1 guestfs_get_recovery_proc: 1 libguestfs: trace: get_smp libguestfs: trace: get_smp = 1 guestfs_get_smp: 1 libguestfs: trace: get_sockdir libguestfs: trace: get_sockdir = "/tmp" guestfs_get_sockdir: /tmp 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: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsr2XJRP libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-tv134tqwpax481b9 libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x564c2ce63ab0 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_label" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: build appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsr2XJRP/overlay2.qcow2 qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: Could not open '/var/tmp/.guestfs-0/appliance.d/root': No such file or directory Could not open backing image to determine size. libguestfs: error: qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above libguestfs: trace: disk_create = -1 (error) libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x564c2ce63000 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsr2XJRP
[root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/root ls: cannot access /var/tmp/.guestfs-0/appliance.d/root: No such file or directory [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/ total 10192 -rw-r--r-- 1 qemu qemu 3335680 Jan 3 13:36 initrd -rwxr-xr-x 1 qemu qemu 7095680 Jan 3 13:36 kernel
[root@gz-op-vmhost01 vmdata]# mkdir /var/tmp/.guestfs-0/appliance.d/root
[root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Disabled libguestfs: trace: add_drive_scratch 104857600 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/scratch1.img" "raw" 104857600 libguestfs: trace: disk_create = 0 libguestfs: trace: add_drive "/tmp/libguestfsn1zUMm/scratch1.img" "format:raw" "cachemode:unsafe" libguestfs: trace: add_drive = 0 libguestfs: trace: add_drive_scratch = 0 libguestfs: trace: get_append libguestfs: trace: get_append = "NULL" guestfs_get_append: (null) libguestfs: trace: get_autosync libguestfs: trace: get_autosync = 1 guestfs_get_autosync: 1 libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" guestfs_get_backend: libvirt libguestfs: trace: get_backend_settings libguestfs: trace: get_backend_settings = [] guestfs_get_backend_settings: [] libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" guestfs_get_cachedir: /var/tmp libguestfs: trace: get_hv libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" guestfs_get_hv: /usr/libexec/qemu-kvm 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_program libguestfs: trace: get_program = "libguestfs-test-tool" guestfs_get_program: libguestfs-test-tool libguestfs: trace: get_recovery_proc libguestfs: trace: get_recovery_proc = 1 guestfs_get_recovery_proc: 1 libguestfs: trace: get_smp libguestfs: trace: get_smp = 1 guestfs_get_smp: 1 libguestfs: trace: get_sockdir libguestfs: trace: get_sockdir = "/tmp" guestfs_get_sockdir: /tmp 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: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsn1zUMm libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-6jipufmlo60389k4 libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x563ac943fab0 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_label" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: build appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsn1zUMm/overlay2.qcow2 qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: A regular file was expected by the 'file' driver, but something else was given Could not open backing image to determine size. libguestfs: error: qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above libguestfs: trace: disk_create = -1 (error) libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x563ac943f000 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsn1zUMm [root@gz-op-vmhost01 vmdata]#
[root@gz-op-vmhost01 vmdata]# virt-copy-in /etc/resolv.conf -a 10.188.2.9.sys.img /etc/ libguestfs: trace: set_verbose true libguestfs: trace: set_verbose = 0 libguestfs: create: flags = 0, handle = 0x55f344b7f650, program = virt-copy-in libguestfs: trace: set_pgroup true libguestfs: trace: set_pgroup = 0 libguestfs: trace: add_drive "10.188.2.9.sys.img" libguestfs: trace: add_drive = 0 libguestfs: trace: is_config libguestfs: trace: is_config = 1 libguestfs: trace: launch libguestfs: trace: max_disks libguestfs: trace: max_disks = 255 libguestfs: trace: get_tmpdir libguestfs: trace: get_tmpdir = "/tmp" libguestfs: trace: version libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > libguestfs: trace: get_backend libguestfs: trace: get_backend = "libvirt" libguestfs: launch: program=virt-copy-in libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfsHRQGUn libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-yxto5xhpuo3fwlvw libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x55f344b800c0 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: trace: get_backend_setting "force_tcg" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_label" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" libguestfs: trace: get_backend_setting = NULL (error) libguestfs: build appliance libguestfs: trace: get_cachedir libguestfs: trace: get_cachedir = "/var/tmp" libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: trace: disk_create "/tmp/libguestfsHRQGUn/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfsHRQGUn/overlay1.qcow2 qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: A regular file was expected by the 'file' driver, but something else was given Could not open backing image to determine size. libguestfs: error: qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: qemu-img exited with error status 1, see debug messages above libguestfs: trace: disk_create = -1 (error) libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: trace: launch = -1 (error) libguestfs: trace: close libguestfs: closing guestfs handle 0x55f344b7f650 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsHRQGUn
-- Tomáš Golembiovský <tgolembi@redhat.com>
Hi,Tomas: here is the test info: Thanks for your kind help . ************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ PATH=/usr/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Disabled guestfs_get_append: (null) guestfs_get_autosync: 1 guestfs_get_backend: libvirt guestfs_get_backend_settings: [] guestfs_get_cachedir: /var/tmp guestfs_get_hv: /usr/libexec/qemu-kvm guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib64/guestfs guestfs_get_pgroup: 0 guestfs_get_program: libguestfs-test-tool guestfs_get_recovery_proc: 1 guestfs_get_smp: 1 guestfs_get_sockdir: /tmp guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 seconds. libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfs8AN8TK libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-o0hvxvzsdjoeu7gn libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x5616f24bca10 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: build appliance libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs8AN8TK/overlay2.qcow2 Formatting '/tmp/libguestfs8AN8TK/overlay2.qcow2', fmt=qcow2 size=4294967296 backing_file=/var/tmp/.guestfs-0/appliance.d/root backing_fmt=raw cluster_size=65536 lazy_refcounts=off refcount_bits=16 libguestfs: set_socket_create_context: getcon failed: (none): Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: create libvirt XML libguestfs: libvirt XML:\n<?xml version="1.0"?>\n<domain type="kvm" xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">\n <name>guestfs-o0hvxvzsdjoeu7gn</name>\n <memory unit="MiB">500</memory>\n <currentMemory unit="MiB">500</currentMemory>\n <cpu mode="host-passthrough">\n <model fallback="allow"/>\n </cpu>\n <vcpu>1</vcpu>\n <clock offset="utc">\n <timer name="rtc" tickpolicy="catchup"/>\n <timer name="pit" tickpolicy="delay"/>\n <timer name="hpet" present="no"/>\n </clock>\n <os>\n <type>hvm</type>\n <kernel>/var/tmp/.guestfs-0/appliance.d/kernel</kernel>\n <initrd>/var/tmp/.guestfs-0/appliance.d/initrd</initrd>\n <cmdline>panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color</cmdline>\n <bios useserial="yes"/>\n </os>\n <on_reboot>destroy</on_reboot>\n <devices>\n <rng model="virtio">\n <backend model="random">/dev/urandom</backend>\n </rng>\n <controller type="scsi" index="0" model="virtio-scsi"/>\n <disk device="disk" type="file">\n <source file="/tmp/libguestfs8AN8TK/scratch1.img"/>\n <target dev="sda" bus="scsi"/>\n <driver name="qemu" type="raw" cache="unsafe"/>\n <address type="drive" controller="0" bus="0" target="0" unit="0"/>\n </disk>\n <disk type="file" device="disk">\n <source file="/tmp/libguestfs8AN8TK/overlay2.qcow2"/>\n <target dev="sdb" bus="scsi"/>\n <driver name="qemu" type="qcow2" cache="unsafe"/>\n <address type="drive" controller="0" bus="0" target="1" unit="0"/>\n </disk>\n <serial type="unix">\n <source mode="connect" path="/tmp/libguestfsn4dNLJ/console.sock"/>\n <target port="0"/>\n </serial>\n <channel type="unix">\n <source mode="connect" path="/tmp/libguestfsn4dNLJ/guestfsd.sock"/>\n <target type="virtio" name="org.libguestfs.channel.0"/>\n </channel>\n <controller type="usb" model="none"/>\n <memballoon model="none"/>\n </devices>\n <qemu:commandline>\n <qemu:env name="TMPDIR" value="/var/tmp"/>\n </qemu:commandline>\n</domain>\n libguestfs: command: run: ls libguestfs: command: run: \ -a libguestfs: command: run: \ -l libguestfs: command: run: \ -R libguestfs: command: run: \ -Z /var/tmp/.guestfs-0 libguestfs: /var/tmp/.guestfs-0: libguestfs: drwxr-xr-x root root ? . libguestfs: drwxrwxrwt root root ? .. libguestfs: drwxr-xr-x root root ? appliance.d libguestfs: -rw-r--r-- root root ? lock libguestfs: libguestfs: /var/tmp/.guestfs-0/appliance.d: libguestfs: drwxr-xr-x root root ? . libguestfs: drwxr-xr-x root root ? .. libguestfs: -rw-r--r-- qemu qemu ? initrd libguestfs: -rwxr-xr-x qemu qemu ? kernel libguestfs: -rw-r--r-- qemu qemu ? root libguestfs: command: run: ls libguestfs: command: run: \ -a libguestfs: command: run: \ -l libguestfs: command: run: \ -Z /tmp/libguestfsn4dNLJ libguestfs: drwxr-xr-x root root ? . libguestfs: drwxrwxrwt root root ? .. libguestfs: srw-rw---- root qemu ? console.sock libguestfs: srw-rw---- root qemu ? guestfsd.sock libguestfs: launch libvirt guest libguestfs: responding to serial console Device Status Report \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 06/09/14 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Jun 9 21:33:48 UTC 2014 Term: 80x24 4 0 SeaBIOS (version 1.11.0-2.el7) Machine UUID 1455223d-9624-40ce-ab62-74c291eaaf49 Booting from ROM... \x1b[2J[ 0.000000] Linux version 4.19.8-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)) #1 SMP Sat Dec 8 10:07:47 EST 2018 [ 0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fdfff] usable [ 0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: Red Hat KVM, BIOS 1.11.0-2.el7 04/01/2014 [ 0.000000] Hypervisor detected: KVM [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 2723001, primary cpu clock [ 0.000000] kvm-clock: using sched offset of 177174522 cycles [ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000004] tsc: Detected 2294.676 MHz processor [ 0.000858] last_pfn = 0x1f3fe max_arch_pfn = 0x400000000 [ 0.000901] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.013460] found SMP MP-table at [mem 0x000f63b0-0x000f63bf] mapped at [(____ptrval____)] [ 0.013719] Using GB pages for direct mapping [ 0.013942] RAMDISK: [mem 0x1f0c1000-0x1f3effff] [ 0.014047] ACPI: Early table checksum verification disabled [ 0.014124] ACPI BIOS Error (bug): A valid RSDP was not found (20180810/tbxfroot-210) [ 0.014536] No NUMA configuration found [ 0.014538] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff] [ 0.014547] NODE_DATA(0) allocated [mem 0x1f097000-0x1f0c0fff] [ 0.014918] Zone ranges: [ 0.014920] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.014921] DMA32 [mem 0x0000000001000000-0x000000001f3fdfff] [ 0.014923] Normal empty [ 0.014924] Device empty [ 0.014925] Movable zone start for each node [ 0.014928] Early memory node ranges [ 0.014929] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.014930] node 0: [mem 0x0000000000100000-0x000000001f3fdfff] [ 0.015139] Reserved but unavailable: 3172 pages [ 0.015140] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3fdfff] [ 0.023870] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.023923] Intel MultiProcessor Specification v1.4 [ 0.023926] MPTABLE: OEM ID: BOCHSCPU [ 0.023927] MPTABLE: Product ID: 0.1 [ 0.023928] MPTABLE: APIC at: 0xFEE00000 [ 0.023937] Processor #0 (Bootup-CPU) [ 0.023986] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.023990] Processors: 1 [ 0.023992] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.024010] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.024011] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.024012] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.024013] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.024015] [mem 0x1f400000-0xfeffbfff] available for PCI devices [ 0.024016] Booting paravirtualized kernel on KVM [ 0.024018] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.024030] random: get_random_bytes called from start_kernel+0x9b/0x53b with crng_init=0 [ 0.024035] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 [ 0.025592] percpu: Embedded 46 pages/cpu @(____ptrval____) s148312 r8192 d31912 u2097152 [ 0.025622] KVM setup async PF for cpu 0 [ 0.025626] kvm-stealtime: cpu 0, msr 1e4161c0 [ 0.025632] Built 1 zonelists, mobility grouping on. Total pages: 125879 [ 0.025633] Policy zone: DMA32 [ 0.025635] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color [ 0.029632] Memory: 471564K/511600K available (12300K kernel code, 2504K rwdata, 3684K rodata, 2340K init, 3240K bss, 40036K reserved, 0K cma-reserved) [ 0.029703] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.029714] Kernel/User page tables isolation: enabled [ 0.029765] ftrace: allocating 36119 entries in 142 pages [ 0.045825] rcu: Hierarchical RCU implementation. [ 0.045828] rcu: \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1. [ 0.045829] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.048206] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16 [ 0.048556] Console: colour *CGA 80x25 [ 0.151614] console [ttyS0] enabled [ 0.152384] APIC: Switch to symmetric I/O mode setup [ 0.153750] x2apic enabled [ 0.154684] Switched APIC routing to physical x2apic. [ 0.157181] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.158452] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x21138fb7908, max_idle_ns: 440795233860 ns [ 0.160604] Calibrating delay loop (skipped) preset value.. 4589.35 BogoMIPS (lpj=2294676) [ 0.161589] pid_max: default: 32768 minimum: 301 [ 0.162615] Security Framework initialized [ 0.163589] SELinux: Disabled at boot. [ 0.165594] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.166810] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.168603] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.169597] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.172561] Disabling memory control group subsystem [ 0.173672] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature [ 0.174591] mce: CPU supports 10 MCE banks [ 0.175630] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.176588] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.178590] Spectre V2 : Mitigation: Full generic retpoline [ 0.179588] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.180588] Speculative Store Bypass: Vulnerable [ 0.198071] Freeing SMP alternatives memory: 32K [ 0.200946] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x2) [ 0.201773] Performance Events: Haswell events, Intel PMU driver. [ 0.202593] ... version: 2 [ 0.203416] ... bit width: 48 [ 0.203589] ... generic registers: 4 [ 0.204414] ... value mask: 0000ffffffffffff [ 0.204590] ... max period: 000000007fffffff [ 0.205589] ... fixed-purpose events: 3 [ 0.206417] ... event mask: 000000070000000f [ 0.206679] rcu: Hierarchical SRCU implementation. [ 0.208247] smp: Bringing up secondary CPUs ... [ 0.208593] smp: Brought up 1 node, 1 CPU [ 0.209415] smpboot: Max logical packages: 1 [ 0.209590] smpboot: Total of 1 processors activated (4589.35 BogoMIPS) [ 0.210809] devtmpfs: initialized [ 0.211562] x86/mm: Memory block size: 128MB [ 0.211946] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.212596] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.213648] pinctrl core: initialized pinctrl subsystem [ 0.214790] NET: Registered protocol family 16 [ 0.215707] audit: initializing netlink subsys (disabled) [ 0.216748] cpuidle: using governor menu [ 0.217666] KVM setup pv remote TLB flush [ 0.218695] PCI: Using configuration type 1 for base access [ 0.219646] audit: type=2000 audit(1578488570.317:1): state=initialized audit_enabled=0 res=1 [ 0.220601] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off [ 0.222867] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.223593] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.224841] ACPI: Interpreter disabled. [ 0.225644] vgaarb: loaded [ 0.226329] SCSI subsystem initialized [ 0.226622] usbcore: USB support disabled [ 0.227529] EDAC MC: Ver: 3.0.0 [ 0.227699] PCI: Probing PCI hardware [ 0.228495] PCI host bridge to bus 0000:00 [ 0.228592] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.229591] pci_bus 0000:00: root bus resource [mem 0x00000000-0x3fffffffffff] [ 0.230594] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.235046] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.235591] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.236590] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.237590] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.253424] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.253874] NetLabel: Initializing [ 0.254590] NetLabel: domain hash size = 128 [ 0.255496] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.255626] NetLabel: unlabeled traffic allowed by default [ 0.256719] clocksource: Switched to clocksource kvm-clock [ 0.270455] VFS: Disk quotas dquot_6.6.0 [ 0.271319] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.272799] pnp: PnP ACPI: disabled [ 0.274816] NET: Registered protocol family 2 [ 0.275884] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes) [ 0.277486] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.279031] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) [ 0.280421] TCP: Hash tables configured (established 4096 bind 4096) [ 0.281792] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.283007] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.284371] NET: Registered protocol family 1 [ 0.285306] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.286501] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.287729] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.289096] Unpacking initramfs... [ 0.295103] Freeing initrd memory: 3260K [ 0.296024] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x21138fb7908, max_idle_ns: 440795233860 ns [ 0.298164] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.299919] alg: self-tests disabled [ 0.301142] Initialise system trusted keyrings [ 0.302182] workingset: timestamp_bits=36 max_order=17 bucket_order=0 [ 0.304919] zbud: loaded [ 0.305791] pstore: using deflate compression [ 0.307704] NET: Registered protocol family 38 [ 0.308646] Key type asymmetric registered [ 0.309500] Asymmetric key parser 'x509' registered [ 0.310515] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.312073] io scheduler noop registered [ 0.312905] io scheduler deadline registered (default) [ 0.314003] io scheduler cfq registered [ 0.315030] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.341081] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.342981] Non-volatile memory driver v1.3 [ 0.343890] Linux agpgart interface v0.103 [ 0.344938] rdac: device handler registered [ 0.345858] hp_sw: device handler registered [ 0.346758] emc: device handler registered [ 0.347647] alua: device handler registered [ 0.348718] libphy: Fixed MDIO Bus: probed [ 0.349630] usbserial: usb_serial_init - registering generic driver failed [ 0.351053] usbserial: usb_serial_init - returning with error -19 [ 0.352322] i8042: PNP: No PS/2 controller found. [ 0.353298] i8042: Probing ports directly. [ 0.355112] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.356178] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.357305] mousedev: PS/2 mouse device common for all mice [ 0.358848] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.361985] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3 [ 0.363761] rtc_cmos rtc_cmos: registered as rtc0 [ 0.364754] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram [ 0.366383] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input2 [ 0.368143] ledtrig-cpu: registered to indicate activity on CPUs [ 0.369459] hidraw: raw HID events driver (C) Jiri Kosina [ 0.370806] drop_monitor: Initializing network drop monitor service [ 0.372185] Initializing XFRM netlink socket [ 0.373223] NET: Registered protocol family 10 [ 0.374445] Segment Routing with IPv6 [ 0.375314] NET: Registered protocol family 17 [ 0.376250] Bridge firewalling registered [ 0.377238] sched_clock: Marking stable (271872711, 105216982)->(398483944, -21394251) [ 0.379069] registered taskstats version 1 [ 0.379943] Loading compiled-in X.509 certificates [ 0.380952] zswap: loaded using pool lzo/zbud [ 0.382191] Key type big_key registered [ 0.383081] Key type trusted registered [ 0.383974] Key type encrypted registered [ 0.384832] ima: No TPM chip found, activating TPM-bypass! [ 0.385989] ima: Allocated hash algorithm: sha1 [ 0.387059] evm: Initialising EVM extended attributes: [ 0.388173] evm: security.selinux [ 0.388877] evm: security.ima [ 0.389508] evm: security.capability [ 0.390245] evm: HMAC attrs: 0x1 [ 0.391282] rtc_cmos rtc_cmos: setting system clock to 2020-01-08 13:02:50 UTC (1578488570) [ 0.395033] Freeing unused kernel image memory: 2340K [ 0.397604] Write protecting the kernel read-only data: 18432k [ 0.399445] Freeing unused kernel image memory: 2012K [ 0.400642] Freeing unused kernel image memory: 412K [ 0.401693] Run /init as init process supermin: mounting /proc supermin: ext2 mini initrd starting up: 5.1.19 glibc supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color supermin: uptime: 0.30 0.04 supermin: mounting /sys supermin: internal insmod crc32-pclmul.ko supermin: internal insmod crc32c-intel.ko supermin: internal insmod crct10dif-pclmul.ko supermin: internal insmod crc32_generic.ko supermin: internal insmod nfit.ko insmod: init_module: nfit.ko: No such device supermin: internal insmod libata.ko supermin: internal insmod ata_piix.ko [ 0.418889] scsi host0: ata_piix [ 0.419680] scsi host1: ata_piix [ 0.420391] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14 [ 0.421798] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15 supermin: internal insmod virtio.ko supermin: internal insmod virtio_ring.ko supermin: internal insmod virtio_blk.ko supermin: internal insmod virtio-rng.ko supermin: internal insmod virtio_console.ko supermin: internal insmod crypto_engine.ko supermin: internal insmod virtio_crypto.ko supermin: internal insmod failover.ko supermin: internal insmod net_failover.ko supermin: internal insmod virtio_net.ko supermin: internal insmod nd_btt.ko supermin: internal insmod nd_pmem.ko supermin: internal insmod sd_mod.ko supermin: internal insmod virtio_scsi.ko supermin: internal insmod virtio_balloon.ko supermin: internal insmod virtio_input.ko supermin: internal insmod virtio_pci.ko [ 0.594432] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 10 [ 0.598654] scsi host2: Virtio SCSI HBA [ 0.600867] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 0.602758] sd 2:0:0:0: Power-on or device reset occurred [ 0.604122] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (105 MB/100 MiB) [ 0.605648] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 0.607344] sd 2:0:0:0: [sda] Write Protect is off [ 0.608402] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.610625] sd 2:0:1:0: Power-on or device reset occurred [ 0.611957] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB) [ 0.613542] sd 2:0:1:0: [sdb] Write Protect is off [ 0.614646] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.616612] random: fast init done [ 0.618313] sd 2:0:0:0: [sda] Attached SCSI disk [ 0.620890] sd 2:0:1:0: [sdb] Attached SCSI disk [ 0.631923] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 11 [ 0.653740] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 11 supermin: internal insmod jbd2.ko supermin: internal insmod mbcache.ko supermin: internal insmod ext4.ko[ 0.660884] random: crng init done supermin: internal insmod crc-itu-t.ko supermin: internal insmod crc4.ko supermin: internal insmod crc64.ko supermin: internal insmod crc7.ko supermin: internal insmod crc8.ko supermin: internal insmod libcrc32c.ko supermin: picked /sys/block/sdb/dev (8:16) as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root [ 0.676239] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem [ 0.679680] EXT4-fs (sdb): mounted filesystem without journal. Opts: supermin: deleting initramfs files supermin: chroot Starting /init script ... + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]] + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]] + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]] + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]] + '[' '!' -d /sys ']' + mkdir -p /sys + mount -t sysfs /sys /sys + mkdir -p /run + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run + mkdir -p /run/lock + ln -s ../run/lock /var/lock + test -e /etc/mtab + mount -t devtmpfs /dev /dev + mkdir -p /dev/pts + mount -t devpts /dev/pts /dev/pts + mkdir -p /dev/shm + mount -t tmpfs -o mode=1777 shmfs /dev/shm + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]] + mkdir -p /run/tmpfiles.d + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf ++ od -x -A n ++ dd if=/dev/urandom bs=16 count=1 status=none + machine_id=' 110d 3c7e b347 428d 29f8 8443 161d c352' + echo 110d3c7eb347428d29f88443161dc352 + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd + '[' -x /lib/systemd/systemd-udevd ']' + UDEVD=/lib/systemd/systemd-udevd + break + '[' -z /lib/systemd/systemd-udevd ']' + /lib/systemd/systemd-udevd --daemon starting version 219 specified group 'input' unknown + udevadm trigger + udevadm settle --timeout=600 [ 0.799962] input: PC Speaker as /devices/platform/pcspkr/input/input4 [ 0.826194] cryptd: max_cpu_qlen set to 1000 [ 0.828307] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 0.837669] AVX2 version of gcm_enc/dec engaged. [ 0.838679] AES CTR mode by8 optimization enabled [ 0.841619] sd 2:0:1:0: Attached scsi generic sg1 type 0 [ 0.927202] EDAC sbridge: Ver: 1.1.2 + shopt -s nullglob + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop /init: line 116: echo: write error: Invalid argument + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop /init: line 116: echo: write error: Invalid argument + shopt -u nullglob + ip addr add 127.0.0.1/8 brd + dev lo scope host + ip link set dev lo up + ip addr add 169.254.2.10/16 brd + dev eth0 scope global Cannot find device "eth0" + ip link set dev eth0 up Cannot find device "eth0" + ip route add default via 169.254.2.2 RTNETLINK answers: Network is unreachable + echo nameserver 169.254.2.3 + mdadm -As --auto=yes --no-degraded mdadm: No arrays found in config file or automatically + mkdir -p /tmp/lvm + touch /tmp/lvm/lvm.conf + LVM_SYSTEM_DIR=/tmp/lvm + export LVM_SYSTEM_DIR + lvmetad + modprobe dm_mod [ 0.984946] device-mapper: uevent: version 1.0.3 [ 0.988388] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com + lvm pvscan --cache --activate ay + mdadm -As --auto=yes --run mdadm: No arrays found in config file or automatically + ldmtool create all /init: line 149: ldmtool: command not found + test 1 = 1 + test '' '!=' 1 + uname -a Linux (none) 4.19.8-1.el7.elrepo.x86_64 #1 SMP Sat Dec 8 10:07:47 EST 2018 x86_64 x86_64 x86_64 GNU/Linux + ls -lR /dev /dev: total 0 crw-r--r-- 1 root root 10, 235 Jan 8 13:02 autofs drwxr-xr-x 2 root root 80 Jan 8 13:02 block drwxr-xr-x 2 root root 80 Jan 8 13:02 bsg crw------- 1 root root 10, 234 Jan 8 13:02 btrfs-control drwxr-xr-x 2 root root 2260 Jan 8 13:02 char crw------- 1 root root 5, 1 Jan 8 13:02 console lrwxrwxrwx 1 root root 11 Jan 8 13:02 core -> /proc/kcore drwxr-xr-x 3 root root 60 Jan 8 13:02 cpu crw------- 1 root root 10, 61 Jan 8 13:02 cpu_dma_latency crw------- 1 root root 10, 203 Jan 8 13:02 cuse drwxr-xr-x 5 root root 100 Jan 8 13:02 disk lrwxrwxrwx 1 root root 13 Jan 8 13:02 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 Jan 8 13:02 full crw-rw-rw- 1 root root 10, 229 Jan 8 13:02 fuse crw------- 1 root root 10, 183 Jan 8 13:02 hwrng drwxr-xr-x 3 root root 200 Jan 8 13:02 input crw-r--r-- 1 root root 1, 11 Jan 8 13:02 kmsg drwxr-xr-x 2 root root 60 Jan 8 13:02 lightnvm crw-rw---- 1 root disk 10, 237 Jan 8 13:02 loop-control drwxr-xr-x 2 root root 60 Jan 8 13:02 mapper crw------- 1 root root 10, 227 Jan 8 13:02 mcelog crw------- 1 root root 1, 1 Jan 8 13:02 mem crw------- 1 root root 10, 58 Jan 8 13:02 memory_bandwidth drwxr-xr-x 2 root root 60 Jan 8 13:02 net crw------- 1 root root 10, 60 Jan 8 13:02 network_latency crw------- 1 root root 10, 59 Jan 8 13:02 network_throughput crw-rw-rw- 1 root root 1, 3 Jan 8 13:02 null crw------- 1 root root 10, 144 Jan 8 13:02 nvram crw------- 1 root root 1, 4 Jan 8 13:02 port crw------- 1 root root 108, 0 Jan 8 13:02 ppp crw-rw-rw- 1 root root 5, 2 Jan 8 13:02 ptmx drwxr-xr-x 2 root root 0 Jan 8 13:02 pts crw-rw-rw- 1 root root 1, 8 Jan 8 13:02 random drwxr-xr-x 2 root root 60 Jan 8 13:02 raw lrwxrwxrwx 1 root root 4 Jan 8 13:02 rtc -> rtc0 crw------- 1 root root 249, 0 Jan 8 13:02 rtc0 brw------- 1 root root 8, 0 Jan 8 13:02 sda brw------- 1 root root 8, 16 Jan 8 13:02 sdb crw-rw---- 1 root disk 21, 0 Jan 8 13:02 sg0 crw-rw---- 1 root disk 21, 1 Jan 8 13:02 sg1 drwxrwxrwt 2 root root 40 Jan 8 13:02 shm crw------- 1 root root 10, 231 Jan 8 13:02 snapshot drwxr-xr-x 2 root root 80 Jan 8 13:02 snd lrwxrwxrwx 1 root root 15 Jan 8 13:02 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 Jan 8 13:02 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 Jan 8 13:02 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root root 5, 0 Jan 8 13:02 tty crw------- 1 root root 4, 0 Jan 8 13:02 tty0 crw------- 1 root root 4, 1 Jan 8 13:02 tty1 crw------- 1 root root 4, 10 Jan 8 13:02 tty10 crw------- 1 root root 4, 11 Jan 8 13:02 tty11 crw------- 1 root root 4, 12 Jan 8 13:02 tty12 crw------- 1 root root 4, 13 Jan 8 13:02 tty13 crw------- 1 root root 4, 14 Jan 8 13:02 tty14 crw------- 1 root root 4, 15 Jan 8 13:02 tty15 crw------- 1 root root 4, 16 Jan 8 13:02 tty16 crw------- 1 root root 4, 17 Jan 8 13:02 tty17 crw------- 1 root root 4, 18 Jan 8 13:02 tty18 crw------- 1 root root 4, 19 Jan 8 13:02 tty19 crw------- 1 root root 4, 2 Jan 8 13:02 tty2 crw------- 1 root root 4, 20 Jan 8 13:02 tty20 crw------- 1 root root 4, 21 Jan 8 13:02 tty21 crw------- 1 root root 4, 22 Jan 8 13:02 tty22 crw------- 1 root root 4, 23 Jan 8 13:02 tty23 crw------- 1 root root 4, 24 Jan 8 13:02 tty24 crw------- 1 root root 4, 25 Jan 8 13:02 tty25 crw------- 1 root root 4, 26 Jan 8 13:02 tty26 crw------- 1 root root 4, 27 Jan 8 13:02 tty27 crw------- 1 root root 4, 28 Jan 8 13:02 tty28 crw------- 1 root root 4, 29 Jan 8 13:02 tty29 crw------- 1 root root 4, 3 Jan 8 13:02 tty3 crw------- 1 root root 4, 30 Jan 8 13:02 tty30 crw------- 1 root root 4, 31 Jan 8 13:02 tty31 crw------- 1 root root 4, 32 Jan 8 13:02 tty32 crw------- 1 root root 4, 33 Jan 8 13:02 tty33 crw------- 1 root root 4, 34 Jan 8 13:02 tty34 crw------- 1 root root 4, 35 Jan 8 13:02 tty35 crw------- 1 root root 4, 36 Jan 8 13:02 tty36 crw------- 1 root root 4, 37 Jan 8 13:02 tty37 crw------- 1 root root 4, 38 Jan 8 13:02 tty38 crw------- 1 root root 4, 39 Jan 8 13:02 tty39 crw------- 1 root root 4, 4 Jan 8 13:02 tty4 crw------- 1 root root 4, 40 Jan 8 13:02 tty40 crw------- 1 root root 4, 41 Jan 8 13:02 tty41 crw------- 1 root root 4, 42 Jan 8 13:02 tty42 crw------- 1 root root 4, 43 Jan 8 13:02 tty43 crw------- 1 root root 4, 44 Jan 8 13:02 tty44 crw------- 1 root root 4, 45 Jan 8 13:02 tty45 crw------- 1 root root 4, 46 Jan 8 13:02 tty46 crw------- 1 root root 4, 47 Jan 8 13:02 tty47 crw------- 1 root root 4, 48 Jan 8 13:02 tty48 crw------- 1 root root 4, 49 Jan 8 13:02 tty49 crw------- 1 root root 4, 5 Jan 8 13:02 tty5 crw------- 1 root root 4, 50 Jan 8 13:02 tty50 crw------- 1 root root 4, 51 Jan 8 13:02 tty51 crw------- 1 root root 4, 52 Jan 8 13:02 tty52 crw------- 1 root root 4, 53 Jan 8 13:02 tty53 crw------- 1 root root 4, 54 Jan 8 13:02 tty54 crw------- 1 root root 4, 55 Jan 8 13:02 tty55 crw------- 1 root root 4, 56 Jan 8 13:02 tty56 crw------- 1 root root 4, 57 Jan 8 13:02 tty57 crw------- 1 root root 4, 58 Jan 8 13:02 tty58 crw------- 1 root root 4, 59 Jan 8 13:02 tty59 crw------- 1 root root 4, 6 Jan 8 13:02 tty6 crw------- 1 root root 4, 60 Jan 8 13:02 tty60 crw------- 1 root root 4, 61 Jan 8 13:02 tty61 crw------- 1 root root 4, 62 Jan 8 13:02 tty62 crw------- 1 root root 4, 63 Jan 8 13:02 tty63 crw------- 1 root root 4, 7 Jan 8 13:02 tty7 crw------- 1 root root 4, 8 Jan 8 13:02 tty8 crw------- 1 root root 4, 9 Jan 8 13:02 tty9 crw------- 1 root root 4, 64 Jan 8 13:02 ttyS0 crw------- 1 root root 10, 239 Jan 8 13:02 uhid crw------- 1 root root 10, 223 Jan 8 13:02 uinput crw-rw-rw- 1 root root 1, 9 Jan 8 13:02 urandom crw------- 1 root root 245, 0 Jan 8 13:02 usbmon0 crw------- 1 root root 7, 0 Jan 8 13:02 vcs crw------- 1 root root 7, 1 Jan 8 13:02 vcs1 crw------- 1 root root 7, 128 Jan 8 13:02 vcsa crw------- 1 root root 7, 129 Jan 8 13:02 vcsa1 crw------- 1 root root 7, 64 Jan 8 13:02 vcsu crw------- 1 root root 7, 65 Jan 8 13:02 vcsu1 drwxr-xr-x 2 root root 60 Jan 8 13:02 vfio crw------- 1 root root 10, 63 Jan 8 13:02 vga_arbiter crw------- 1 root root 10, 137 Jan 8 13:02 vhci crw------- 1 root root 10, 238 Jan 8 13:02 vhost-net crw------- 1 root root 10, 241 Jan 8 13:02 vhost-vsock drwxr-xr-x 2 root root 60 Jan 8 13:02 virtio-ports crw------- 1 root root 243, 1 Jan 8 13:02 vport1p1 crw-rw-rw- 1 root root 1, 5 Jan 8 13:02 zero /dev/block: total 0 lrwxrwxrwx 1 root root 6 Jan 8 13:02 8:0 -> ../sda lrwxrwxrwx 1 root root 6 Jan 8 13:02 8:16 -> ../sdb /dev/bsg: total 0 crw------- 1 root root 247, 0 Jan 8 13:02 2:0:0:0 crw------- 1 root root 247, 1 Jan 8 13:02 2:0:1:0 /dev/char: total 0 lrwxrwxrwx 1 root root 8 Jan 8 13:02 10:144 -> ../nvram lrwxrwxrwx 1 root root 8 Jan 8 13:02 10:183 -> ../hwrng lrwxrwxrwx 1 root root 9 Jan 8 13:02 10:227 -> ../mcelog lrwxrwxrwx 1 root root 11 Jan 8 13:02 10:231 -> ../snapshot lrwxrwxrwx 1 root root 9 Jan 8 13:02 10:235 -> ../autofs lrwxrwxrwx 1 root root 17 Jan 8 13:02 10:236 -> ../mapper/control lrwxrwxrwx 1 root root 19 Jan 8 13:02 10:58 -> ../memory_bandwidth lrwxrwxrwx 1 root root 21 Jan 8 13:02 10:59 -> ../network_throughput lrwxrwxrwx 1 root root 18 Jan 8 13:02 10:60 -> ../network_latency lrwxrwxrwx 1 root root 18 Jan 8 13:02 10:61 -> ../cpu_dma_latency lrwxrwxrwx 1 root root 19 Jan 8 13:02 10:62 -> ../lightnvm/control lrwxrwxrwx 1 root root 14 Jan 8 13:02 10:63 -> ../vga_arbiter lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:32 -> ../input/mouse0 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:33 -> ../input/mouse1 lrwxrwxrwx 1 root root 13 Jan 8 13:02 13:63 -> ../input/mice lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:64 -> ../input/event0 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:65 -> ../input/event1 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:66 -> ../input/event2 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:67 -> ../input/event3 lrwxrwxrwx 1 root root 13 Jan 8 13:02 162:0 -> ../raw/rawctl lrwxrwxrwx 1 root root 6 Jan 8 13:02 1:1 -> ../mem lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:11 -> ../kmsg lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:3 -> ../null lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:4 -> ../port lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:5 -> ../zero lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:7 -> ../full lrwxrwxrwx 1 root root 9 Jan 8 13:02 1:8 -> ../random lrwxrwxrwx 1 root root 10 Jan 8 13:02 1:9 -> ../urandom lrwxrwxrwx 1 root root 12 Jan 8 13:02 202:0 -> ../cpu/0/msr lrwxrwxrwx 1 root root 14 Jan 8 13:02 203:0 -> ../cpu/0/cpuid lrwxrwxrwx 1 root root 6 Jan 8 13:02 21:0 -> ../sg0 lrwxrwxrwx 1 root root 6 Jan 8 13:02 21:1 -> ../sg1 lrwxrwxrwx 1 root root 11 Jan 8 13:02 243:1 -> ../vport1p1 lrwxrwxrwx 1 root root 10 Jan 8 13:02 245:0 -> ../usbmon0 lrwxrwxrwx 1 root root 14 Jan 8 13:02 247:0 -> ../bsg/2:0:0:0 lrwxrwxrwx 1 root root 14 Jan 8 13:02 247:1 -> ../bsg/2:0:1:0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 249:0 -> ../rtc0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:0 -> ../tty0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:1 -> ../tty1 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:10 -> ../tty10 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:11 -> ../tty11 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:12 -> ../tty12 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:13 -> ../tty13 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:14 -> ../tty14 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:15 -> ../tty15 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:16 -> ../tty16 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:17 -> ../tty17 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:18 -> ../tty18 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:19 -> ../tty19 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:2 -> ../tty2 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:20 -> ../tty20 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:21 -> ../tty21 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:22 -> ../tty22 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:23 -> ../tty23 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:24 -> ../tty24 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:25 -> ../tty25 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:26 -> ../tty26 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:27 -> ../tty27 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:28 -> ../tty28 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:29 -> ../tty29 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:3 -> ../tty3 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:30 -> ../tty30 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:31 -> ../tty31 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:32 -> ../tty32 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:33 -> ../tty33 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:34 -> ../tty34 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:35 -> ../tty35 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:36 -> ../tty36 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:37 -> ../tty37 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:38 -> ../tty38 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:39 -> ../tty39 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:4 -> ../tty4 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:40 -> ../tty40 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:41 -> ../tty41 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:42 -> ../tty42 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:43 -> ../tty43 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:44 -> ../tty44 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:45 -> ../tty45 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:46 -> ../tty46 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:47 -> ../tty47 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:48 -> ../tty48 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:49 -> ../tty49 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:5 -> ../tty5 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:50 -> ../tty50 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:51 -> ../tty51 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:52 -> ../tty52 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:53 -> ../tty53 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:54 -> ../tty54 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:55 -> ../tty55 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:56 -> ../tty56 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:57 -> ../tty57 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:58 -> ../tty58 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:59 -> ../tty59 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:6 -> ../tty6 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:60 -> ../tty60 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:61 -> ../tty61 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:62 -> ../tty62 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:63 -> ../tty63 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:64 -> ../ttyS0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:7 -> ../tty7 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:8 -> ../tty8 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:9 -> ../tty9 lrwxrwxrwx 1 root root 6 Jan 8 13:02 5:0 -> ../tty lrwxrwxrwx 1 root root 10 Jan 8 13:02 5:1 -> ../console lrwxrwxrwx 1 root root 7 Jan 8 13:02 5:2 -> ../ptmx lrwxrwxrwx 1 root root 6 Jan 8 13:02 7:0 -> ../vcs lrwxrwxrwx 1 root root 7 Jan 8 13:02 7:1 -> ../vcs1 lrwxrwxrwx 1 root root 7 Jan 8 13:02 7:128 -> ../vcsa lrwxrwxrwx 1 root root 8 Jan 8 13:02 7:129 -> ../vcsa1 lrwxrwxrwx 1 root root 7 Jan 8 13:02 7:64 -> ../vcsu lrwxrwxrwx 1 root root 8 Jan 8 13:02 7:65 -> ../vcsu1 /dev/cpu: total 0 drwxr-xr-x 2 root root 80 Jan 8 13:02 0 /dev/cpu/0: total 0 crw------- 1 root root 203, 0 Jan 8 13:02 cpuid crw------- 1 root root 202, 0 Jan 8 13:02 msr /dev/disk: total 0 drwxr-xr-x 2 root root 80 Jan 8 13:02 by-id drwxr-xr-x 2 root root 80 Jan 8 13:02 by-path drwxr-xr-x 2 root root 60 Jan 8 13:02 by-uuid /dev/disk/by-id: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0 -> ../../sda lrwxrwxrwx 1 root root 9 Jan 8 13:02 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-0 -> ../../sdb /dev/disk/by-path: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 pci-0000:00:02.0-scsi-0:0:0:0 -> ../../sda lrwxrwxrwx 1 root root 9 Jan 8 13:02 pci-0000:00:02.0-scsi-0:0:1:0 -> ../../sdb /dev/disk/by-uuid: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 96a20597-883e-466f-a55c-c1646641cfc6 -> ../../sdb /dev/input: total 0 drwxr-xr-x 2 root root 120 Jan 8 13:02 by-path crw------- 1 root root 13, 64 Jan 8 13:02 event0 crw------- 1 root root 13, 65 Jan 8 13:02 event1 crw------- 1 root root 13, 66 Jan 8 13:02 event2 crw------- 1 root root 13, 67 Jan 8 13:02 event3 crw------- 1 root root 13, 63 Jan 8 13:02 mice crw------- 1 root root 13, 32 Jan 8 13:02 mouse0 crw------- 1 root root 13, 33 Jan 8 13:02 mouse1 /dev/input/by-path: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-i8042-serio-0-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-i8042-serio-1-event-mouse -> ../event2 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-i8042-serio-1-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-pcspkr-event-spkr -> ../event3 /dev/lightnvm: total 0 crw------- 1 root root 10, 62 Jan 8 13:02 control /dev/mapper: total 0 crw------- 1 root root 10, 236 Jan 8 13:02 control /dev/net: total 0 crw-rw-rw- 1 root root 10, 200 Jan 8 13:02 tun /dev/pts: total 0 c--------- 1 root root 5, 2 Jan 8 13:02 ptmx /dev/raw: total 0 crw------- 1 root root 162, 0 Jan 8 13:02 rawctl /dev/shm: total 0 /dev/snd: total 0 crw-rw---- 1 root audio 116, 1 Jan 8 13:02 seq crw-rw---- 1 root audio 116, 33 Jan 8 13:02 timer /dev/vfio: total 0 crw------- 1 root root 10, 196 Jan 8 13:02 vfio /dev/virtio-ports: total 0 lrwxrwxrwx 1 root root 11 Jan 8 13:02 org.libguestfs.channel.0 -> ../vport1p1 + cat /proc/mounts /dev/root / ext2 rw,noatime,block_validity,barrier,user_xattr,acl 0 0 /proc /proc proc rw,relatime 0 0 /sys /sys sysfs rw,relatime 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=95924k,mode=755 0 0 /dev /dev devtmpfs rw,relatime,size=235796k,nr_inodes=58949,mode=755 0 0 /dev/pts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0 shmfs /dev/shm tmpfs rw,relatime 0 0 + cat /proc/mdstat Personalities : unused devices: <none> + lvm config + lvm pvs + lvm vgs + lvm lvs + ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever + ip r + cat /etc/resolv.conf nameserver 169.254.2.3 + lsmod Module Size Used by dm_mod 126976 0 sb_edac 32768 0 ghash_clmulni_intel 16384 0 pcbc 16384 0 aesni_intel 200704 0 crypto_simd 16384 1 aesni_intel sg 40960 0 cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel glue_helper 16384 1 aesni_intel joydev 20480 0 input_leds 16384 0 serio_raw 16384 0 ata_generic 16384 0 pata_acpi 16384 0 pcspkr 16384 0 libcrc32c 16384 0 crc8 16384 0 crc7 16384 0 crc64 16384 0 crc4 16384 0 crc_itu_t 16384 0 ext4 630784 1 mbcache 16384 1 ext4 jbd2 102400 1 ext4 virtio_pci 24576 0 virtio_input 16384 0 virtio_balloon 20480 0 virtio_scsi 20480 1 sd_mod 53248 1 nd_pmem 20480 0 nd_btt 24576 1 nd_pmem virtio_net 49152 0 net_failover 20480 1 virtio_net failover 16384 1 net_failover virtio_crypto 20480 0 crypto_engine 16384 1 virtio_crypto virtio_console 28672 0 virtio_rng 16384 0 virtio_blk 20480 0 virtio_ring 24576 9 virtio_rng,virtio_console,virtio_balloon,virtio_scsi,virtio_crypto,virtio_input,virtio_pci,virtio_blk,virtio_net virtio 16384 9 virtio_rng,virtio_console,virtio_balloon,virtio_scsi,virtio_crypto,virtio_input,virtio_pci,virtio_blk,virtio_net ata_piix 36864 0 libata 245760 3 ata_piix,pata_acpi,ata_generic crc32_generic 16384 0 crct10dif_pclmul 16384 0 crc32c_intel 24576 2 crc32_pclmul 16384 0 + date Wed Jan 8 13:02:51 UTC 2020 + echo -n 'clocksource: ' clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource kvm-clock + echo -n 'uptime: ' uptime: + cat /proc/uptime 1.29 0.22 + cmd=guestfsd ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline + eval + test x '!=' x + test 1 = 1 + cmd='guestfsd --verbose' + test '' = 1 + false + test '' = 1 + echo guestfsd --verbose guestfsd --verbose + guestfsd --verbose lvm_system_dir = /tmp/lvm OCaml daemon loaded trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0' commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle calling: settle libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: appliance is up Guest launched OK. guestfsd: <= part_disk (0xd2) request length 60 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda calling: settle commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle calling: settle commandrvf: stdout=e stderr=y flags=0x10000 commandrvf: parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s Warning: The resulting partition is not properly aligned for best performance. commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle calling: settle guestfsd: => part_disk (0xd2) took 0.04 secs guestfsd: <= mkfs (0x116) request length 84 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda1 calling: settle commandrvf: stdout=y stderr=y flags=0x0 commandrvf: wipefs --help commandrvf: stdout=n stderr=n flags=0x0 commandrvf: wipefs -a --force /dev/sda1 commandrvf: stdout=n stderr=y flags=0x0 commandrvf: mke2fs -t ext2 -F /dev/sda1 mke2fs 1.42.9 (28-Dec-2013) guestfsd: => mkfs (0x116) took 0.03 secs guestfsd: <= vfs_type (0xc6) request length 56 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda1 calling: settle command: blkid '-c' '/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda1' command: blkid returned 0 command: blkid: stdout: ext2 guestfsd: => vfs_type (0xc6) took 0.01 secs guestfsd: <= mount (0x1) request length 64 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda1 calling: settle command: mount '/dev/sda1' '/sysroot//' [ 1.532326] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem [ 1.536254] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null) guestfsd: => mount (0x1) took 0.01 secs guestfsd: <= touch (0x3) request length 52 bytes guestfsd: => touch (0x3) took 0.00 secs guestfsd: <= internal_autosync (0x11a) request length 40 bytes umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,block_validity,barrier,user_xattr,acl freq=0 passno=0 umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0 umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0 umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=95924k,mode=755 freq=0 passno=0 umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=235796k,nr_inodes=58949,mode=755 freq=0 passno=0 umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0 umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0 umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=rw,relatime,block_validity,barrier,user_xattr,acl freq=0 passno=0 commandrvf: stdout=n stderr=y flags=0x0 commandrvf: umount /sysroot commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sdb calling: settle commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda calling: settle fsync /dev/sda guestfsd: => internal_autosync (0x11a) took 0.04 secs libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL libguestfs: closing guestfs handle 0x5616f24bc000 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs8AN8TK libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsn4dNLJ ===== TEST FINISHED OK ===== ------------------ 原始邮件 ------------------ 发件人: "Tomáš Golembiovský"<tgolembi@redhat.com>; 发送时间: 2020年1月8日(星期三) 下午4:47 收件人: "谢威"<249016681@qq.com>; 抄送: "libguestfs"<libguestfs@redhat.com>; 主题: Re: [Libguestfs] bug report It seems that the appliance is broken. Try removing /var/tmp/.guestfs-0/ and run the test tool again. Tomas On Fri, 3 Jan 2020 13:53:10 +0800 "谢威" <249016681@qq.com> wrote: > Hi, > I have use kvm 、 virsh 、 virt for almost half year ,all things goes well 。 > but recently, I use virt-copy-in found some problem , I have do nothing with my server ,but the problem appear . > > > Here is the error message blow . I really appreciate your geneous help > > > > > > > > > [root@gz-op-vmhost01 vmdata]# uname -r && cat /etc/redhat-release && virsh -V > 4.19.8-1.el7.elrepo.x86_64 > CentOS Linux release 7.2.1511 (Core) > Virsh command line tool of libvirt 4.5.0 > See web site at https://libvirt.org/ > > > Compiled with support for: > Hypervisors: QEMU/KVM LXC ESX Test > Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort > Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM RBD Gluster > Miscellaneous: Daemon Nodedev SELinux Secrets Debug DTrace Readline > > > > > > > > [root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin > SELinux: Disabled > libguestfs: trace: add_drive_scratch 104857600 > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/scratch1.img" "raw" 104857600 > libguestfs: trace: disk_create = 0 > libguestfs: trace: add_drive "/tmp/libguestfsr2XJRP/scratch1.img" "format:raw" "cachemode:unsafe" > libguestfs: trace: add_drive = 0 > libguestfs: trace: add_drive_scratch = 0 > libguestfs: trace: get_append > libguestfs: trace: get_append = "NULL" > guestfs_get_append: (null) > libguestfs: trace: get_autosync > libguestfs: trace: get_autosync = 1 > guestfs_get_autosync: 1 > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > guestfs_get_backend: libvirt > libguestfs: trace: get_backend_settings > libguestfs: trace: get_backend_settings = [] > guestfs_get_backend_settings: [] > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > guestfs_get_cachedir: /var/tmp > libguestfs: trace: get_hv > libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" > guestfs_get_hv: /usr/libexec/qemu-kvm > 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_program > libguestfs: trace: get_program = "libguestfs-test-tool" > guestfs_get_program: libguestfs-test-tool > libguestfs: trace: get_recovery_proc > libguestfs: trace: get_recovery_proc = 1 > guestfs_get_recovery_proc: 1 > libguestfs: trace: get_smp > libguestfs: trace: get_smp = 1 > guestfs_get_smp: 1 > libguestfs: trace: get_sockdir > libguestfs: trace: get_sockdir = "/tmp" > guestfs_get_sockdir: /tmp > 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: max_disks > libguestfs: trace: max_disks = 255 > libguestfs: trace: version > libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > libguestfs: launch: program=libguestfs-test-tool > libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt > libguestfs: launch: backend registered: unix > libguestfs: launch: backend registered: uml > libguestfs: launch: backend registered: libvirt > libguestfs: launch: backend registered: direct > libguestfs: launch: backend=libvirt > libguestfs: launch: tmpdir=/tmp/libguestfsr2XJRP > libguestfs: launch: umask=0022 > libguestfs: launch: euid=0 > libguestfs: libvirt version = 4005000 (4.5.0) > libguestfs: guest random name = guestfs-tv134tqwpax481b9 > libguestfs: connect to libvirt > libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 > libguestfs: successfully opened libvirt handle: conn = 0x564c2ce63ab0 > libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) > libguestfs: get libvirt capabilities > libguestfs: parsing capabilities XML > libguestfs: trace: get_backend_setting "force_tcg" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_label" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: build appliance > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: begin building supermin appliance > libguestfs: run supermin > libguestfs: command: run: /usr/bin/supermin5 > libguestfs: command: run: \ --build > libguestfs: command: run: \ --verbose > libguestfs: command: run: \ --if-newer > libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock > libguestfs: command: run: \ --copy-kernel > libguestfs: command: run: \ -f ext2 > libguestfs: command: run: \ --host-cpu x86_64 > libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d > supermin: version: 5.1.19 > supermin: rpm: detected RPM version 4.11 > supermin: package handler: fedora/rpm > supermin: acquiring lock on /var/tmp/.guestfs-0/lock > supermin: if-newer: output does not need rebuilding > libguestfs: finished building supermin appliance > libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsr2XJRP/overlay2.qcow2 > qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: Could not open '/var/tmp/.guestfs-0/appliance.d/root': No such file or directory > Could not open backing image to determine size. > libguestfs: error: qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above > libguestfs: trace: disk_create = -1 (error) > libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] > libguestfs: trace: launch = -1 (error) > libguestfs: trace: close > libguestfs: closing guestfs handle 0x564c2ce63000 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsr2XJRP > > > > > > > > > [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/root > ls: cannot access /var/tmp/.guestfs-0/appliance.d/root: No such file or directory > [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/ > total 10192 > -rw-r--r-- 1 qemu qemu 3335680 Jan 3 13:36 initrd > -rwxr-xr-x 1 qemu qemu 7095680 Jan 3 13:36 kernel > > > [root@gz-op-vmhost01 vmdata]# mkdir /var/tmp/.guestfs-0/appliance.d/root > > > > > > > > > > > > > [root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin > SELinux: Disabled > libguestfs: trace: add_drive_scratch 104857600 > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/scratch1.img" "raw" 104857600 > libguestfs: trace: disk_create = 0 > libguestfs: trace: add_drive "/tmp/libguestfsn1zUMm/scratch1.img" "format:raw" "cachemode:unsafe" > libguestfs: trace: add_drive = 0 > libguestfs: trace: add_drive_scratch = 0 > libguestfs: trace: get_append > libguestfs: trace: get_append = "NULL" > guestfs_get_append: (null) > libguestfs: trace: get_autosync > libguestfs: trace: get_autosync = 1 > guestfs_get_autosync: 1 > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > guestfs_get_backend: libvirt > libguestfs: trace: get_backend_settings > libguestfs: trace: get_backend_settings = [] > guestfs_get_backend_settings: [] > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > guestfs_get_cachedir: /var/tmp > libguestfs: trace: get_hv > libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" > guestfs_get_hv: /usr/libexec/qemu-kvm > 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_program > libguestfs: trace: get_program = "libguestfs-test-tool" > guestfs_get_program: libguestfs-test-tool > libguestfs: trace: get_recovery_proc > libguestfs: trace: get_recovery_proc = 1 > guestfs_get_recovery_proc: 1 > libguestfs: trace: get_smp > libguestfs: trace: get_smp = 1 > guestfs_get_smp: 1 > libguestfs: trace: get_sockdir > libguestfs: trace: get_sockdir = "/tmp" > guestfs_get_sockdir: /tmp > 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: max_disks > libguestfs: trace: max_disks = 255 > libguestfs: trace: version > libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > libguestfs: launch: program=libguestfs-test-tool > libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt > libguestfs: launch: backend registered: unix > libguestfs: launch: backend registered: uml > libguestfs: launch: backend registered: libvirt > libguestfs: launch: backend registered: direct > libguestfs: launch: backend=libvirt > libguestfs: launch: tmpdir=/tmp/libguestfsn1zUMm > libguestfs: launch: umask=0022 > libguestfs: launch: euid=0 > libguestfs: libvirt version = 4005000 (4.5.0) > libguestfs: guest random name = guestfs-6jipufmlo60389k4 > libguestfs: connect to libvirt > libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 > libguestfs: successfully opened libvirt handle: conn = 0x563ac943fab0 > libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) > libguestfs: get libvirt capabilities > libguestfs: parsing capabilities XML > libguestfs: trace: get_backend_setting "force_tcg" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_label" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: build appliance > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: begin building supermin appliance > libguestfs: run supermin > libguestfs: command: run: /usr/bin/supermin5 > libguestfs: command: run: \ --build > libguestfs: command: run: \ --verbose > libguestfs: command: run: \ --if-newer > libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock > libguestfs: command: run: \ --copy-kernel > libguestfs: command: run: \ -f ext2 > libguestfs: command: run: \ --host-cpu x86_64 > libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d > supermin: version: 5.1.19 > supermin: rpm: detected RPM version 4.11 > supermin: package handler: fedora/rpm > supermin: acquiring lock on /var/tmp/.guestfs-0/lock > supermin: if-newer: output does not need rebuilding > libguestfs: finished building supermin appliance > libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsn1zUMm/overlay2.qcow2 > qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: A regular file was expected by the 'file' driver, but something else was given > Could not open backing image to determine size. > libguestfs: error: qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above > libguestfs: trace: disk_create = -1 (error) > libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] > libguestfs: trace: launch = -1 (error) > libguestfs: trace: close > libguestfs: closing guestfs handle 0x563ac943f000 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsn1zUMm > [root@gz-op-vmhost01 vmdata]# > > > > > > > > > > [root@gz-op-vmhost01 vmdata]# virt-copy-in /etc/resolv.conf -a 10.188.2.9.sys.img /etc/ > libguestfs: trace: set_verbose true > libguestfs: trace: set_verbose = 0 > libguestfs: create: flags = 0, handle = 0x55f344b7f650, program = virt-copy-in > libguestfs: trace: set_pgroup true > libguestfs: trace: set_pgroup = 0 > libguestfs: trace: add_drive "10.188.2.9.sys.img" > libguestfs: trace: add_drive = 0 > libguestfs: trace: is_config > libguestfs: trace: is_config = 1 > libguestfs: trace: launch > libguestfs: trace: max_disks > libguestfs: trace: max_disks = 255 > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: version > libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > libguestfs: launch: program=virt-copy-in > libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt > libguestfs: launch: backend registered: unix > libguestfs: launch: backend registered: uml > libguestfs: launch: backend registered: libvirt > libguestfs: launch: backend registered: direct > libguestfs: launch: backend=libvirt > libguestfs: launch: tmpdir=/tmp/libguestfsHRQGUn > libguestfs: launch: umask=0022 > libguestfs: launch: euid=0 > libguestfs: libvirt version = 4005000 (4.5.0) > libguestfs: guest random name = guestfs-yxto5xhpuo3fwlvw > libguestfs: connect to libvirt > libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 > libguestfs: successfully opened libvirt handle: conn = 0x55f344b800c0 > libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) > libguestfs: get libvirt capabilities > libguestfs: parsing capabilities XML > libguestfs: trace: get_backend_setting "force_tcg" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_label" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: build appliance > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: begin building supermin appliance > libguestfs: run supermin > libguestfs: command: run: /usr/bin/supermin5 > libguestfs: command: run: \ --build > libguestfs: command: run: \ --verbose > libguestfs: command: run: \ --if-newer > libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock > libguestfs: command: run: \ --copy-kernel > libguestfs: command: run: \ -f ext2 > libguestfs: command: run: \ --host-cpu x86_64 > libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d > supermin: version: 5.1.19 > supermin: rpm: detected RPM version 4.11 > supermin: package handler: fedora/rpm > supermin: acquiring lock on /var/tmp/.guestfs-0/lock > supermin: if-newer: output does not need rebuilding > libguestfs: finished building supermin appliance > libguestfs: trace: disk_create "/tmp/libguestfsHRQGUn/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsHRQGUn/overlay1.qcow2 > qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: A regular file was expected by the 'file' driver, but something else was given > Could not open backing image to determine size. > libguestfs: error: qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: qemu-img exited with error status 1, see debug messages above > libguestfs: trace: disk_create = -1 (error) > libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] > libguestfs: trace: launch = -1 (error) > libguestfs: trace: close > libguestfs: closing guestfs handle 0x55f344b7f650 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsHRQGUn -- Tomáš Golembiovský <tgolembi@redhat.com>
On Wed, 8 Jan 2020 21:05:55 +0800 "谢威" <249016681@qq.com> wrote:
Hi,Tomas:
here is the test info: Thanks for your kind help .
The test tool finished OK. Did you try to run you virt-copy-in command again? Tomas
************************************************************ * IMPORTANT NOTICE * * When reporting bugs, include the COMPLETE, UNEDITED * output below in your bug report. * ************************************************************ PATH=/usr/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin SELinux: Disabled guestfs_get_append: (null) guestfs_get_autosync: 1 guestfs_get_backend: libvirt guestfs_get_backend_settings: [] guestfs_get_cachedir: /var/tmp guestfs_get_hv: /usr/libexec/qemu-kvm guestfs_get_memsize: 500 guestfs_get_network: 0 guestfs_get_path: /usr/lib64/guestfs guestfs_get_pgroup: 0 guestfs_get_program: libguestfs-test-tool guestfs_get_recovery_proc: 1 guestfs_get_smp: 1 guestfs_get_sockdir: /tmp guestfs_get_tmpdir: /tmp guestfs_get_trace: 0 guestfs_get_verbose: 1 host_cpu: x86_64 Launching appliance, timeout set to 600 seconds. libguestfs: launch: program=libguestfs-test-tool libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt libguestfs: launch: backend registered: unix libguestfs: launch: backend registered: uml libguestfs: launch: backend registered: libvirt libguestfs: launch: backend registered: direct libguestfs: launch: backend=libvirt libguestfs: launch: tmpdir=/tmp/libguestfs8AN8TK libguestfs: launch: umask=0022 libguestfs: launch: euid=0 libguestfs: libvirt version = 4005000 (4.5.0) libguestfs: guest random name = guestfs-o0hvxvzsdjoeu7gn libguestfs: connect to libvirt libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 libguestfs: successfully opened libvirt handle: conn = 0x5616f24bca10 libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) libguestfs: get libvirt capabilities libguestfs: parsing capabilities XML libguestfs: build appliance libguestfs: begin building supermin appliance libguestfs: run supermin libguestfs: command: run: /usr/bin/supermin5 libguestfs: command: run: \ --build libguestfs: command: run: \ --verbose libguestfs: command: run: \ --if-newer libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock libguestfs: command: run: \ --copy-kernel libguestfs: command: run: \ -f ext2 libguestfs: command: run: \ --host-cpu x86_64 libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d supermin: version: 5.1.19 supermin: rpm: detected RPM version 4.11 supermin: package handler: fedora/rpm supermin: acquiring lock on /var/tmp/.guestfs-0/lock supermin: if-newer: output does not need rebuilding libguestfs: finished building supermin appliance libguestfs: command: run: qemu-img libguestfs: command: run: \ create libguestfs: command: run: \ -f qcow2 libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw libguestfs: command: run: \ /tmp/libguestfs8AN8TK/overlay2.qcow2 Formatting '/tmp/libguestfs8AN8TK/overlay2.qcow2', fmt=qcow2 size=4294967296 backing_file=/var/tmp/.guestfs-0/appliance.d/root backing_fmt=raw cluster_size=65536 lazy_refcounts=off refcount_bits=16 libguestfs: set_socket_create_context: getcon failed: (none): Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: create libvirt XML libguestfs: libvirt XML:\n<?xml version="1.0"?>\n<domain type="kvm" xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0">\n <name>guestfs-o0hvxvzsdjoeu7gn</name>\n <memory unit="MiB">500</memory>\n <currentMemory unit="MiB">500</currentMemory>\n <cpu mode="host-passthrough">\n <model fallback="allow"/>\n </cpu>\n <vcpu>1</vcpu>\n <clock offset="utc">\n <timer name="rtc" tickpolicy="catchup"/>\n <timer name="pit" tickpolicy="delay"/>\n <timer name="hpet" present="no"/>\n </clock>\n <os>\n <type>hvm</type>\n <kernel>/var/tmp/.guestfs-0/appliance.d/kernel</kernel>\n <initrd>/var/tmp/.guestfs-0/appliance.d/initrd</initrd>\n <cmdline>panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color</cmdline>\n <bios useserial="yes"/>\n </os>\n <on_reboot>destroy</on_reboot>\n <devices>\n <rng model="virtio">\n <backend model="random">/dev/urandom</backend>\n </rng>\n <controller type="scsi" index="0" model="virtio-scsi"/>\n <disk device="disk" type="file">\n <source file="/tmp/libguestfs8AN8TK/scratch1.img"/>\n <target dev="sda" bus="scsi"/>\n <driver name="qemu" type="raw" cache="unsafe"/>\n <address type="drive" controller="0" bus="0" target="0" unit="0"/>\n </disk>\n <disk type="file" device="disk">\n <source file="/tmp/libguestfs8AN8TK/overlay2.qcow2"/>\n <target dev="sdb" bus="scsi"/>\n <driver name="qemu" type="qcow2" cache="unsafe"/>\n <address type="drive" controller="0" bus="0" target="1" unit="0"/>\n </disk>\n <serial type="unix">\n <source mode="connect" path="/tmp/libguestfsn4dNLJ/console.sock"/>\n <target port="0"/>\n </serial>\n <channel type="unix">\n <source mode="connect" path="/tmp/libguestfsn4dNLJ/guestfsd.sock"/>\n <target type="virtio" name="org.libguestfs.channel.0"/>\n </channel>\n <controller type="usb" model="none"/>\n <memballoon model="none"/>\n </devices>\n <qemu:commandline>\n <qemu:env name="TMPDIR" value="/var/tmp"/>\n </qemu:commandline>\n</domain>\n libguestfs: command: run: ls libguestfs: command: run: \ -a libguestfs: command: run: \ -l libguestfs: command: run: \ -R libguestfs: command: run: \ -Z /var/tmp/.guestfs-0 libguestfs: /var/tmp/.guestfs-0: libguestfs: drwxr-xr-x root root ? . libguestfs: drwxrwxrwt root root ? .. libguestfs: drwxr-xr-x root root ? appliance.d libguestfs: -rw-r--r-- root root ? lock libguestfs: libguestfs: /var/tmp/.guestfs-0/appliance.d: libguestfs: drwxr-xr-x root root ? . libguestfs: drwxr-xr-x root root ? .. libguestfs: -rw-r--r-- qemu qemu ? initrd libguestfs: -rwxr-xr-x qemu qemu ? kernel libguestfs: -rw-r--r-- qemu qemu ? root libguestfs: command: run: ls libguestfs: command: run: \ -a libguestfs: command: run: \ -l libguestfs: command: run: \ -Z /tmp/libguestfsn4dNLJ libguestfs: drwxr-xr-x root root ? . libguestfs: drwxrwxrwt root root ? .. libguestfs: srw-rw---- root qemu ? console.sock libguestfs: srw-rw---- root qemu ? guestfsd.sock libguestfs: launch libvirt guest libguestfs: responding to serial console Device Status Report \x1b[1;256r\x1b[256;256H\x1b[6n Google, Inc. Serial Graphics Adapter 06/09/14 SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Mon Jun 9 21:33:48 UTC 2014 Term: 80x24 4 0 SeaBIOS (version 1.11.0-2.el7) Machine UUID 1455223d-9624-40ce-ab62-74c291eaaf49 Booting from ROM... \x1b[2J[ 0.000000] Linux version 4.19.8-1.el7.elrepo.x86_64 (mockbuild@Build64R7) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC)) #1 SMP Sat Dec 8 10:07:47 EST 2018 [ 0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3fdfff] usable [ 0.000000] BIOS-e820: [mem 0x000000001f3fe000-0x000000001f3fffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.8 present. [ 0.000000] DMI: Red Hat KVM, BIOS 1.11.0-2.el7 04/01/2014 [ 0.000000] Hypervisor detected: KVM [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 [ 0.000000] kvm-clock: cpu 0, msr 2723001, primary cpu clock [ 0.000000] kvm-clock: using sched offset of 177174522 cycles [ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 0.000004] tsc: Detected 2294.676 MHz processor [ 0.000858] last_pfn = 0x1f3fe max_arch_pfn = 0x400000000 [ 0.000901] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT [ 0.013460] found SMP MP-table at [mem 0x000f63b0-0x000f63bf] mapped at [(____ptrval____)] [ 0.013719] Using GB pages for direct mapping [ 0.013942] RAMDISK: [mem 0x1f0c1000-0x1f3effff] [ 0.014047] ACPI: Early table checksum verification disabled [ 0.014124] ACPI BIOS Error (bug): A valid RSDP was not found (20180810/tbxfroot-210) [ 0.014536] No NUMA configuration found [ 0.014538] Faking a node at [mem 0x0000000000000000-0x000000001f3fdfff] [ 0.014547] NODE_DATA(0) allocated [mem 0x1f097000-0x1f0c0fff] [ 0.014918] Zone ranges: [ 0.014920] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.014921] DMA32 [mem 0x0000000001000000-0x000000001f3fdfff] [ 0.014923] Normal empty [ 0.014924] Device empty [ 0.014925] Movable zone start for each node [ 0.014928] Early memory node ranges [ 0.014929] node 0: [mem 0x0000000000001000-0x000000000009efff] [ 0.014930] node 0: [mem 0x0000000000100000-0x000000001f3fdfff] [ 0.015139] Reserved but unavailable: 3172 pages [ 0.015140] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3fdfff] [ 0.023870] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org [ 0.023923] Intel MultiProcessor Specification v1.4 [ 0.023926] MPTABLE: OEM ID: BOCHSCPU [ 0.023927] MPTABLE: Product ID: 0.1 [ 0.023928] MPTABLE: APIC at: 0xFEE00000 [ 0.023937] Processor #0 (Bootup-CPU) [ 0.023986] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 [ 0.023990] Processors: 1 [ 0.023992] smpboot: Allowing 1 CPUs, 0 hotplug CPUs [ 0.024010] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.024011] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff] [ 0.024012] PM: Registered nosave memory: [mem 0x000a0000-0x000effff] [ 0.024013] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff] [ 0.024015] [mem 0x1f400000-0xfeffbfff] available for PCI devices [ 0.024016] Booting paravirtualized kernel on KVM [ 0.024018] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns [ 0.024030] random: get_random_bytes called from start_kernel+0x9b/0x53b with crng_init=0 [ 0.024035] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 [ 0.025592] percpu: Embedded 46 pages/cpu @(____ptrval____) s148312 r8192 d31912 u2097152 [ 0.025622] KVM setup async PF for cpu 0 [ 0.025626] kvm-stealtime: cpu 0, msr 1e4161c0 [ 0.025632] Built 1 zonelists, mobility grouping on. Total pages: 125879 [ 0.025633] Policy zone: DMA32 [ 0.025635] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color [ 0.029632] Memory: 471564K/511600K available (12300K kernel code, 2504K rwdata, 3684K rodata, 2340K init, 3240K bss, 40036K reserved, 0K cma-reserved) [ 0.029703] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.029714] Kernel/User page tables isolation: enabled [ 0.029765] ftrace: allocating 36119 entries in 142 pages [ 0.045825] rcu: Hierarchical RCU implementation. [ 0.045828] rcu: \tRCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=1. [ 0.045829] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.048206] NR_IRQS: 524544, nr_irqs: 256, preallocated irqs: 16 [ 0.048556] Console: colour *CGA 80x25 [ 0.151614] console [ttyS0] enabled [ 0.152384] APIC: Switch to symmetric I/O mode setup [ 0.153750] x2apic enabled [ 0.154684] Switched APIC routing to physical x2apic. [ 0.157181] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.158452] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x21138fb7908, max_idle_ns: 440795233860 ns [ 0.160604] Calibrating delay loop (skipped) preset value.. 4589.35 BogoMIPS (lpj=2294676) [ 0.161589] pid_max: default: 32768 minimum: 301 [ 0.162615] Security Framework initialized [ 0.163589] SELinux: Disabled at boot. [ 0.165594] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.166810] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) [ 0.168603] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.169597] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes) [ 0.172561] Disabling memory control group subsystem [ 0.173672] x86/cpu: Activated the Intel User Mode Instruction Prevention (UMIP) CPU feature [ 0.174591] mce: CPU supports 10 MCE banks [ 0.175630] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 0.176588] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 0.178590] Spectre V2 : Mitigation: Full generic retpoline [ 0.179588] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch [ 0.180588] Speculative Store Bypass: Vulnerable [ 0.198071] Freeing SMP alternatives memory: 32K [ 0.200946] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz (family: 0x6, model: 0x3f, stepping: 0x2) [ 0.201773] Performance Events: Haswell events, Intel PMU driver. [ 0.202593] ... version: 2 [ 0.203416] ... bit width: 48 [ 0.203589] ... generic registers: 4 [ 0.204414] ... value mask: 0000ffffffffffff [ 0.204590] ... max period: 000000007fffffff [ 0.205589] ... fixed-purpose events: 3 [ 0.206417] ... event mask: 000000070000000f [ 0.206679] rcu: Hierarchical SRCU implementation. [ 0.208247] smp: Bringing up secondary CPUs ... [ 0.208593] smp: Brought up 1 node, 1 CPU [ 0.209415] smpboot: Max logical packages: 1 [ 0.209590] smpboot: Total of 1 processors activated (4589.35 BogoMIPS) [ 0.210809] devtmpfs: initialized [ 0.211562] x86/mm: Memory block size: 128MB [ 0.211946] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.212596] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.213648] pinctrl core: initialized pinctrl subsystem [ 0.214790] NET: Registered protocol family 16 [ 0.215707] audit: initializing netlink subsys (disabled) [ 0.216748] cpuidle: using governor menu [ 0.217666] KVM setup pv remote TLB flush [ 0.218695] PCI: Using configuration type 1 for base access [ 0.219646] audit: type=2000 audit(1578488570.317:1): state=initialized audit_enabled=0 res=1 [ 0.220601] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off [ 0.222867] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.223593] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.224841] ACPI: Interpreter disabled. [ 0.225644] vgaarb: loaded [ 0.226329] SCSI subsystem initialized [ 0.226622] usbcore: USB support disabled [ 0.227529] EDAC MC: Ver: 3.0.0 [ 0.227699] PCI: Probing PCI hardware [ 0.228495] PCI host bridge to bus 0000:00 [ 0.228592] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.229591] pci_bus 0000:00: root bus resource [mem 0x00000000-0x3fffffffffff] [ 0.230594] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.235046] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7] [ 0.235591] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6] [ 0.236590] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177] [ 0.237590] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376] [ 0.253424] pci 0000:00:01.0: PIIX/ICH IRQ router [8086:7000] [ 0.253874] NetLabel: Initializing [ 0.254590] NetLabel: domain hash size = 128 [ 0.255496] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.255626] NetLabel: unlabeled traffic allowed by default [ 0.256719] clocksource: Switched to clocksource kvm-clock [ 0.270455] VFS: Disk quotas dquot_6.6.0 [ 0.271319] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.272799] pnp: PnP ACPI: disabled [ 0.274816] NET: Registered protocol family 2 [ 0.275884] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes) [ 0.277486] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.279031] TCP bind hash table entries: 4096 (order: 4, 65536 bytes) [ 0.280421] TCP: Hash tables configured (established 4096 bind 4096) [ 0.281792] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.283007] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.284371] NET: Registered protocol family 1 [ 0.285306] pci 0000:00:01.0: PIIX3: Enabling Passive Release [ 0.286501] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.287729] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.289096] Unpacking initramfs... [ 0.295103] Freeing initrd memory: 3260K [ 0.296024] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x21138fb7908, max_idle_ns: 440795233860 ns [ 0.298164] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.299919] alg: self-tests disabled [ 0.301142] Initialise system trusted keyrings [ 0.302182] workingset: timestamp_bits=36 max_order=17 bucket_order=0 [ 0.304919] zbud: loaded [ 0.305791] pstore: using deflate compression [ 0.307704] NET: Registered protocol family 38 [ 0.308646] Key type asymmetric registered [ 0.309500] Asymmetric key parser 'x509' registered [ 0.310515] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.312073] io scheduler noop registered [ 0.312905] io scheduler deadline registered (default) [ 0.314003] io scheduler cfq registered [ 0.315030] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled [ 0.341081] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 0.342981] Non-volatile memory driver v1.3 [ 0.343890] Linux agpgart interface v0.103 [ 0.344938] rdac: device handler registered [ 0.345858] hp_sw: device handler registered [ 0.346758] emc: device handler registered [ 0.347647] alua: device handler registered [ 0.348718] libphy: Fixed MDIO Bus: probed [ 0.349630] usbserial: usb_serial_init - registering generic driver failed [ 0.351053] usbserial: usb_serial_init - returning with error -19 [ 0.352322] i8042: PNP: No PS/2 controller found. [ 0.353298] i8042: Probing ports directly. [ 0.355112] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 0.356178] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 0.357305] mousedev: PS/2 mouse device common for all mice [ 0.358848] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 [ 0.361985] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3 [ 0.363761] rtc_cmos rtc_cmos: registered as rtc0 [ 0.364754] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram [ 0.366383] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input2 [ 0.368143] ledtrig-cpu: registered to indicate activity on CPUs [ 0.369459] hidraw: raw HID events driver (C) Jiri Kosina [ 0.370806] drop_monitor: Initializing network drop monitor service [ 0.372185] Initializing XFRM netlink socket [ 0.373223] NET: Registered protocol family 10 [ 0.374445] Segment Routing with IPv6 [ 0.375314] NET: Registered protocol family 17 [ 0.376250] Bridge firewalling registered [ 0.377238] sched_clock: Marking stable (271872711, 105216982)->(398483944, -21394251) [ 0.379069] registered taskstats version 1 [ 0.379943] Loading compiled-in X.509 certificates [ 0.380952] zswap: loaded using pool lzo/zbud [ 0.382191] Key type big_key registered [ 0.383081] Key type trusted registered [ 0.383974] Key type encrypted registered [ 0.384832] ima: No TPM chip found, activating TPM-bypass! [ 0.385989] ima: Allocated hash algorithm: sha1 [ 0.387059] evm: Initialising EVM extended attributes: [ 0.388173] evm: security.selinux [ 0.388877] evm: security.ima [ 0.389508] evm: security.capability [ 0.390245] evm: HMAC attrs: 0x1 [ 0.391282] rtc_cmos rtc_cmos: setting system clock to 2020-01-08 13:02:50 UTC (1578488570) [ 0.395033] Freeing unused kernel image memory: 2340K [ 0.397604] Write protecting the kernel read-only data: 18432k [ 0.399445] Freeing unused kernel image memory: 2012K [ 0.400642] Freeing unused kernel image memory: 412K [ 0.401693] Run /init as init process supermin: mounting /proc supermin: ext2 mini initrd starting up: 5.1.19 glibc supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color supermin: uptime: 0.30 0.04 supermin: mounting /sys supermin: internal insmod crc32-pclmul.ko supermin: internal insmod crc32c-intel.ko supermin: internal insmod crct10dif-pclmul.ko supermin: internal insmod crc32_generic.ko supermin: internal insmod nfit.ko insmod: init_module: nfit.ko: No such device supermin: internal insmod libata.ko supermin: internal insmod ata_piix.ko [ 0.418889] scsi host0: ata_piix [ 0.419680] scsi host1: ata_piix [ 0.420391] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0a0 irq 14 [ 0.421798] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0a8 irq 15 supermin: internal insmod virtio.ko supermin: internal insmod virtio_ring.ko supermin: internal insmod virtio_blk.ko supermin: internal insmod virtio-rng.ko supermin: internal insmod virtio_console.ko supermin: internal insmod crypto_engine.ko supermin: internal insmod virtio_crypto.ko supermin: internal insmod failover.ko supermin: internal insmod net_failover.ko supermin: internal insmod virtio_net.ko supermin: internal insmod nd_btt.ko supermin: internal insmod nd_pmem.ko supermin: internal insmod sd_mod.ko supermin: internal insmod virtio_scsi.ko supermin: internal insmod virtio_balloon.ko supermin: internal insmod virtio_input.ko supermin: internal insmod virtio_pci.ko [ 0.594432] virtio-pci 0000:00:02.0: PCI->APIC IRQ transform: INT A -> IRQ 10 [ 0.598654] scsi host2: Virtio SCSI HBA [ 0.600867] scsi 2:0:0:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 0.602758] sd 2:0:0:0: Power-on or device reset occurred [ 0.604122] sd 2:0:0:0: [sda] 204800 512-byte logical blocks: (105 MB/100 MiB) [ 0.605648] scsi 2:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.5+ PQ: 0 ANSI: 5 [ 0.607344] sd 2:0:0:0: [sda] Write Protect is off [ 0.608402] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.610625] sd 2:0:1:0: Power-on or device reset occurred [ 0.611957] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB) [ 0.613542] sd 2:0:1:0: [sdb] Write Protect is off [ 0.614646] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 0.616612] random: fast init done [ 0.618313] sd 2:0:0:0: [sda] Attached SCSI disk [ 0.620890] sd 2:0:1:0: [sdb] Attached SCSI disk [ 0.631923] virtio-pci 0000:00:03.0: PCI->APIC IRQ transform: INT A -> IRQ 11 [ 0.653740] virtio-pci 0000:00:04.0: PCI->APIC IRQ transform: INT A -> IRQ 11 supermin: internal insmod jbd2.ko supermin: internal insmod mbcache.ko supermin: internal insmod ext4.ko[ 0.660884] random: crng init done
supermin: internal insmod crc-itu-t.ko supermin: internal insmod crc4.ko supermin: internal insmod crc64.ko supermin: internal insmod crc7.ko supermin: internal insmod crc8.ko supermin: internal insmod libcrc32c.ko supermin: picked /sys/block/sdb/dev (8:16) as root device supermin: creating /dev/root as block special 8:16 supermin: mounting new root on /root [ 0.676239] EXT4-fs (sdb): mounting ext2 file system using the ext4 subsystem [ 0.679680] EXT4-fs (sdb): mounted filesystem without journal. Opts: supermin: deleting initramfs files supermin: chroot Starting /init script ... + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]] + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]] + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]] + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]] + '[' '!' -d /sys ']' + mkdir -p /sys + mount -t sysfs /sys /sys + mkdir -p /run + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run + mkdir -p /run/lock + ln -s ../run/lock /var/lock + test -e /etc/mtab + mount -t devtmpfs /dev /dev + mkdir -p /dev/pts + mount -t devpts /dev/pts /dev/pts + mkdir -p /dev/shm + mount -t tmpfs -o mode=1777 shmfs /dev/shm + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]] + mkdir -p /run/tmpfiles.d + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf ++ od -x -A n ++ dd if=/dev/urandom bs=16 count=1 status=none + machine_id=' 110d 3c7e b347 428d 29f8 8443 161d c352' + echo 110d3c7eb347428d29f88443161dc352 + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd + '[' -x /lib/systemd/systemd-udevd ']' + UDEVD=/lib/systemd/systemd-udevd + break + '[' -z /lib/systemd/systemd-udevd ']' + /lib/systemd/systemd-udevd --daemon starting version 219 specified group 'input' unknown + udevadm trigger + udevadm settle --timeout=600 [ 0.799962] input: PC Speaker as /devices/platform/pcspkr/input/input4 [ 0.826194] cryptd: max_cpu_qlen set to 1000 [ 0.828307] sd 2:0:0:0: Attached scsi generic sg0 type 0 [ 0.837669] AVX2 version of gcm_enc/dec engaged. [ 0.838679] AES CTR mode by8 optimization enabled [ 0.841619] sd 2:0:1:0: Attached scsi generic sg1 type 0 [ 0.927202] EDAC sbridge: Ver: 1.1.2 + shopt -s nullglob + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/sd*/device/timeout' + echo 300 + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop /init: line 116: echo: write error: Invalid argument + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler' + echo noop /init: line 116: echo: write error: Invalid argument + shopt -u nullglob + ip addr add 127.0.0.1/8 brd + dev lo scope host + ip link set dev lo up + ip addr add 169.254.2.10/16 brd + dev eth0 scope global Cannot find device "eth0" + ip link set dev eth0 up Cannot find device "eth0" + ip route add default via 169.254.2.2 RTNETLINK answers: Network is unreachable + echo nameserver 169.254.2.3 + mdadm -As --auto=yes --no-degraded mdadm: No arrays found in config file or automatically + mkdir -p /tmp/lvm + touch /tmp/lvm/lvm.conf + LVM_SYSTEM_DIR=/tmp/lvm + export LVM_SYSTEM_DIR + lvmetad + modprobe dm_mod [ 0.984946] device-mapper: uevent: version 1.0.3 [ 0.988388] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com + lvm pvscan --cache --activate ay + mdadm -As --auto=yes --run mdadm: No arrays found in config file or automatically + ldmtool create all /init: line 149: ldmtool: command not found + test 1 = 1 + test '' '!=' 1 + uname -a Linux (none) 4.19.8-1.el7.elrepo.x86_64 #1 SMP Sat Dec 8 10:07:47 EST 2018 x86_64 x86_64 x86_64 GNU/Linux + ls -lR /dev /dev: total 0 crw-r--r-- 1 root root 10, 235 Jan 8 13:02 autofs drwxr-xr-x 2 root root 80 Jan 8 13:02 block drwxr-xr-x 2 root root 80 Jan 8 13:02 bsg crw------- 1 root root 10, 234 Jan 8 13:02 btrfs-control drwxr-xr-x 2 root root 2260 Jan 8 13:02 char crw------- 1 root root 5, 1 Jan 8 13:02 console lrwxrwxrwx 1 root root 11 Jan 8 13:02 core -> /proc/kcore drwxr-xr-x 3 root root 60 Jan 8 13:02 cpu crw------- 1 root root 10, 61 Jan 8 13:02 cpu_dma_latency crw------- 1 root root 10, 203 Jan 8 13:02 cuse drwxr-xr-x 5 root root 100 Jan 8 13:02 disk lrwxrwxrwx 1 root root 13 Jan 8 13:02 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 Jan 8 13:02 full crw-rw-rw- 1 root root 10, 229 Jan 8 13:02 fuse crw------- 1 root root 10, 183 Jan 8 13:02 hwrng drwxr-xr-x 3 root root 200 Jan 8 13:02 input crw-r--r-- 1 root root 1, 11 Jan 8 13:02 kmsg drwxr-xr-x 2 root root 60 Jan 8 13:02 lightnvm crw-rw---- 1 root disk 10, 237 Jan 8 13:02 loop-control drwxr-xr-x 2 root root 60 Jan 8 13:02 mapper crw------- 1 root root 10, 227 Jan 8 13:02 mcelog crw------- 1 root root 1, 1 Jan 8 13:02 mem crw------- 1 root root 10, 58 Jan 8 13:02 memory_bandwidth drwxr-xr-x 2 root root 60 Jan 8 13:02 net crw------- 1 root root 10, 60 Jan 8 13:02 network_latency crw------- 1 root root 10, 59 Jan 8 13:02 network_throughput crw-rw-rw- 1 root root 1, 3 Jan 8 13:02 null crw------- 1 root root 10, 144 Jan 8 13:02 nvram crw------- 1 root root 1, 4 Jan 8 13:02 port crw------- 1 root root 108, 0 Jan 8 13:02 ppp crw-rw-rw- 1 root root 5, 2 Jan 8 13:02 ptmx drwxr-xr-x 2 root root 0 Jan 8 13:02 pts crw-rw-rw- 1 root root 1, 8 Jan 8 13:02 random drwxr-xr-x 2 root root 60 Jan 8 13:02 raw lrwxrwxrwx 1 root root 4 Jan 8 13:02 rtc -> rtc0 crw------- 1 root root 249, 0 Jan 8 13:02 rtc0 brw------- 1 root root 8, 0 Jan 8 13:02 sda brw------- 1 root root 8, 16 Jan 8 13:02 sdb crw-rw---- 1 root disk 21, 0 Jan 8 13:02 sg0 crw-rw---- 1 root disk 21, 1 Jan 8 13:02 sg1 drwxrwxrwt 2 root root 40 Jan 8 13:02 shm crw------- 1 root root 10, 231 Jan 8 13:02 snapshot drwxr-xr-x 2 root root 80 Jan 8 13:02 snd lrwxrwxrwx 1 root root 15 Jan 8 13:02 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 Jan 8 13:02 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 Jan 8 13:02 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root root 5, 0 Jan 8 13:02 tty crw------- 1 root root 4, 0 Jan 8 13:02 tty0 crw------- 1 root root 4, 1 Jan 8 13:02 tty1 crw------- 1 root root 4, 10 Jan 8 13:02 tty10 crw------- 1 root root 4, 11 Jan 8 13:02 tty11 crw------- 1 root root 4, 12 Jan 8 13:02 tty12 crw------- 1 root root 4, 13 Jan 8 13:02 tty13 crw------- 1 root root 4, 14 Jan 8 13:02 tty14 crw------- 1 root root 4, 15 Jan 8 13:02 tty15 crw------- 1 root root 4, 16 Jan 8 13:02 tty16 crw------- 1 root root 4, 17 Jan 8 13:02 tty17 crw------- 1 root root 4, 18 Jan 8 13:02 tty18 crw------- 1 root root 4, 19 Jan 8 13:02 tty19 crw------- 1 root root 4, 2 Jan 8 13:02 tty2 crw------- 1 root root 4, 20 Jan 8 13:02 tty20 crw------- 1 root root 4, 21 Jan 8 13:02 tty21 crw------- 1 root root 4, 22 Jan 8 13:02 tty22 crw------- 1 root root 4, 23 Jan 8 13:02 tty23 crw------- 1 root root 4, 24 Jan 8 13:02 tty24 crw------- 1 root root 4, 25 Jan 8 13:02 tty25 crw------- 1 root root 4, 26 Jan 8 13:02 tty26 crw------- 1 root root 4, 27 Jan 8 13:02 tty27 crw------- 1 root root 4, 28 Jan 8 13:02 tty28 crw------- 1 root root 4, 29 Jan 8 13:02 tty29 crw------- 1 root root 4, 3 Jan 8 13:02 tty3 crw------- 1 root root 4, 30 Jan 8 13:02 tty30 crw------- 1 root root 4, 31 Jan 8 13:02 tty31 crw------- 1 root root 4, 32 Jan 8 13:02 tty32 crw------- 1 root root 4, 33 Jan 8 13:02 tty33 crw------- 1 root root 4, 34 Jan 8 13:02 tty34 crw------- 1 root root 4, 35 Jan 8 13:02 tty35 crw------- 1 root root 4, 36 Jan 8 13:02 tty36 crw------- 1 root root 4, 37 Jan 8 13:02 tty37 crw------- 1 root root 4, 38 Jan 8 13:02 tty38 crw------- 1 root root 4, 39 Jan 8 13:02 tty39 crw------- 1 root root 4, 4 Jan 8 13:02 tty4 crw------- 1 root root 4, 40 Jan 8 13:02 tty40 crw------- 1 root root 4, 41 Jan 8 13:02 tty41 crw------- 1 root root 4, 42 Jan 8 13:02 tty42 crw------- 1 root root 4, 43 Jan 8 13:02 tty43 crw------- 1 root root 4, 44 Jan 8 13:02 tty44 crw------- 1 root root 4, 45 Jan 8 13:02 tty45 crw------- 1 root root 4, 46 Jan 8 13:02 tty46 crw------- 1 root root 4, 47 Jan 8 13:02 tty47 crw------- 1 root root 4, 48 Jan 8 13:02 tty48 crw------- 1 root root 4, 49 Jan 8 13:02 tty49 crw------- 1 root root 4, 5 Jan 8 13:02 tty5 crw------- 1 root root 4, 50 Jan 8 13:02 tty50 crw------- 1 root root 4, 51 Jan 8 13:02 tty51 crw------- 1 root root 4, 52 Jan 8 13:02 tty52 crw------- 1 root root 4, 53 Jan 8 13:02 tty53 crw------- 1 root root 4, 54 Jan 8 13:02 tty54 crw------- 1 root root 4, 55 Jan 8 13:02 tty55 crw------- 1 root root 4, 56 Jan 8 13:02 tty56 crw------- 1 root root 4, 57 Jan 8 13:02 tty57 crw------- 1 root root 4, 58 Jan 8 13:02 tty58 crw------- 1 root root 4, 59 Jan 8 13:02 tty59 crw------- 1 root root 4, 6 Jan 8 13:02 tty6 crw------- 1 root root 4, 60 Jan 8 13:02 tty60 crw------- 1 root root 4, 61 Jan 8 13:02 tty61 crw------- 1 root root 4, 62 Jan 8 13:02 tty62 crw------- 1 root root 4, 63 Jan 8 13:02 tty63 crw------- 1 root root 4, 7 Jan 8 13:02 tty7 crw------- 1 root root 4, 8 Jan 8 13:02 tty8 crw------- 1 root root 4, 9 Jan 8 13:02 tty9 crw------- 1 root root 4, 64 Jan 8 13:02 ttyS0 crw------- 1 root root 10, 239 Jan 8 13:02 uhid crw------- 1 root root 10, 223 Jan 8 13:02 uinput crw-rw-rw- 1 root root 1, 9 Jan 8 13:02 urandom crw------- 1 root root 245, 0 Jan 8 13:02 usbmon0 crw------- 1 root root 7, 0 Jan 8 13:02 vcs crw------- 1 root root 7, 1 Jan 8 13:02 vcs1 crw------- 1 root root 7, 128 Jan 8 13:02 vcsa crw------- 1 root root 7, 129 Jan 8 13:02 vcsa1 crw------- 1 root root 7, 64 Jan 8 13:02 vcsu crw------- 1 root root 7, 65 Jan 8 13:02 vcsu1 drwxr-xr-x 2 root root 60 Jan 8 13:02 vfio crw------- 1 root root 10, 63 Jan 8 13:02 vga_arbiter crw------- 1 root root 10, 137 Jan 8 13:02 vhci crw------- 1 root root 10, 238 Jan 8 13:02 vhost-net crw------- 1 root root 10, 241 Jan 8 13:02 vhost-vsock drwxr-xr-x 2 root root 60 Jan 8 13:02 virtio-ports crw------- 1 root root 243, 1 Jan 8 13:02 vport1p1 crw-rw-rw- 1 root root 1, 5 Jan 8 13:02 zero
/dev/block: total 0 lrwxrwxrwx 1 root root 6 Jan 8 13:02 8:0 -> ../sda lrwxrwxrwx 1 root root 6 Jan 8 13:02 8:16 -> ../sdb
/dev/bsg: total 0 crw------- 1 root root 247, 0 Jan 8 13:02 2:0:0:0 crw------- 1 root root 247, 1 Jan 8 13:02 2:0:1:0
/dev/char: total 0 lrwxrwxrwx 1 root root 8 Jan 8 13:02 10:144 -> ../nvram lrwxrwxrwx 1 root root 8 Jan 8 13:02 10:183 -> ../hwrng lrwxrwxrwx 1 root root 9 Jan 8 13:02 10:227 -> ../mcelog lrwxrwxrwx 1 root root 11 Jan 8 13:02 10:231 -> ../snapshot lrwxrwxrwx 1 root root 9 Jan 8 13:02 10:235 -> ../autofs lrwxrwxrwx 1 root root 17 Jan 8 13:02 10:236 -> ../mapper/control lrwxrwxrwx 1 root root 19 Jan 8 13:02 10:58 -> ../memory_bandwidth lrwxrwxrwx 1 root root 21 Jan 8 13:02 10:59 -> ../network_throughput lrwxrwxrwx 1 root root 18 Jan 8 13:02 10:60 -> ../network_latency lrwxrwxrwx 1 root root 18 Jan 8 13:02 10:61 -> ../cpu_dma_latency lrwxrwxrwx 1 root root 19 Jan 8 13:02 10:62 -> ../lightnvm/control lrwxrwxrwx 1 root root 14 Jan 8 13:02 10:63 -> ../vga_arbiter lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:32 -> ../input/mouse0 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:33 -> ../input/mouse1 lrwxrwxrwx 1 root root 13 Jan 8 13:02 13:63 -> ../input/mice lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:64 -> ../input/event0 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:65 -> ../input/event1 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:66 -> ../input/event2 lrwxrwxrwx 1 root root 15 Jan 8 13:02 13:67 -> ../input/event3 lrwxrwxrwx 1 root root 13 Jan 8 13:02 162:0 -> ../raw/rawctl lrwxrwxrwx 1 root root 6 Jan 8 13:02 1:1 -> ../mem lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:11 -> ../kmsg lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:3 -> ../null lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:4 -> ../port lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:5 -> ../zero lrwxrwxrwx 1 root root 7 Jan 8 13:02 1:7 -> ../full lrwxrwxrwx 1 root root 9 Jan 8 13:02 1:8 -> ../random lrwxrwxrwx 1 root root 10 Jan 8 13:02 1:9 -> ../urandom lrwxrwxrwx 1 root root 12 Jan 8 13:02 202:0 -> ../cpu/0/msr lrwxrwxrwx 1 root root 14 Jan 8 13:02 203:0 -> ../cpu/0/cpuid lrwxrwxrwx 1 root root 6 Jan 8 13:02 21:0 -> ../sg0 lrwxrwxrwx 1 root root 6 Jan 8 13:02 21:1 -> ../sg1 lrwxrwxrwx 1 root root 11 Jan 8 13:02 243:1 -> ../vport1p1 lrwxrwxrwx 1 root root 10 Jan 8 13:02 245:0 -> ../usbmon0 lrwxrwxrwx 1 root root 14 Jan 8 13:02 247:0 -> ../bsg/2:0:0:0 lrwxrwxrwx 1 root root 14 Jan 8 13:02 247:1 -> ../bsg/2:0:1:0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 249:0 -> ../rtc0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:0 -> ../tty0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:1 -> ../tty1 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:10 -> ../tty10 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:11 -> ../tty11 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:12 -> ../tty12 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:13 -> ../tty13 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:14 -> ../tty14 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:15 -> ../tty15 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:16 -> ../tty16 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:17 -> ../tty17 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:18 -> ../tty18 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:19 -> ../tty19 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:2 -> ../tty2 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:20 -> ../tty20 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:21 -> ../tty21 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:22 -> ../tty22 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:23 -> ../tty23 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:24 -> ../tty24 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:25 -> ../tty25 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:26 -> ../tty26 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:27 -> ../tty27 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:28 -> ../tty28 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:29 -> ../tty29 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:3 -> ../tty3 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:30 -> ../tty30 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:31 -> ../tty31 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:32 -> ../tty32 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:33 -> ../tty33 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:34 -> ../tty34 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:35 -> ../tty35 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:36 -> ../tty36 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:37 -> ../tty37 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:38 -> ../tty38 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:39 -> ../tty39 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:4 -> ../tty4 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:40 -> ../tty40 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:41 -> ../tty41 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:42 -> ../tty42 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:43 -> ../tty43 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:44 -> ../tty44 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:45 -> ../tty45 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:46 -> ../tty46 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:47 -> ../tty47 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:48 -> ../tty48 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:49 -> ../tty49 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:5 -> ../tty5 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:50 -> ../tty50 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:51 -> ../tty51 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:52 -> ../tty52 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:53 -> ../tty53 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:54 -> ../tty54 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:55 -> ../tty55 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:56 -> ../tty56 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:57 -> ../tty57 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:58 -> ../tty58 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:59 -> ../tty59 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:6 -> ../tty6 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:60 -> ../tty60 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:61 -> ../tty61 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:62 -> ../tty62 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:63 -> ../tty63 lrwxrwxrwx 1 root root 8 Jan 8 13:02 4:64 -> ../ttyS0 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:7 -> ../tty7 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:8 -> ../tty8 lrwxrwxrwx 1 root root 7 Jan 8 13:02 4:9 -> ../tty9 lrwxrwxrwx 1 root root 6 Jan 8 13:02 5:0 -> ../tty lrwxrwxrwx 1 root root 10 Jan 8 13:02 5:1 -> ../console lrwxrwxrwx 1 root root 7 Jan 8 13:02 5:2 -> ../ptmx lrwxrwxrwx 1 root root 6 Jan 8 13:02 7:0 -> ../vcs lrwxrwxrwx 1 root root 7 Jan 8 13:02 7:1 -> ../vcs1 lrwxrwxrwx 1 root root 7 Jan 8 13:02 7:128 -> ../vcsa lrwxrwxrwx 1 root root 8 Jan 8 13:02 7:129 -> ../vcsa1 lrwxrwxrwx 1 root root 7 Jan 8 13:02 7:64 -> ../vcsu lrwxrwxrwx 1 root root 8 Jan 8 13:02 7:65 -> ../vcsu1
/dev/cpu: total 0 drwxr-xr-x 2 root root 80 Jan 8 13:02 0
/dev/cpu/0: total 0 crw------- 1 root root 203, 0 Jan 8 13:02 cpuid crw------- 1 root root 202, 0 Jan 8 13:02 msr
/dev/disk: total 0 drwxr-xr-x 2 root root 80 Jan 8 13:02 by-id drwxr-xr-x 2 root root 80 Jan 8 13:02 by-path drwxr-xr-x 2 root root 60 Jan 8 13:02 by-uuid
/dev/disk/by-id: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0 -> ../../sda lrwxrwxrwx 1 root root 9 Jan 8 13:02 scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-1-0 -> ../../sdb
/dev/disk/by-path: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 pci-0000:00:02.0-scsi-0:0:0:0 -> ../../sda lrwxrwxrwx 1 root root 9 Jan 8 13:02 pci-0000:00:02.0-scsi-0:0:1:0 -> ../../sdb
/dev/disk/by-uuid: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 96a20597-883e-466f-a55c-c1646641cfc6 -> ../../sdb
/dev/input: total 0 drwxr-xr-x 2 root root 120 Jan 8 13:02 by-path crw------- 1 root root 13, 64 Jan 8 13:02 event0 crw------- 1 root root 13, 65 Jan 8 13:02 event1 crw------- 1 root root 13, 66 Jan 8 13:02 event2 crw------- 1 root root 13, 67 Jan 8 13:02 event3 crw------- 1 root root 13, 63 Jan 8 13:02 mice crw------- 1 root root 13, 32 Jan 8 13:02 mouse0 crw------- 1 root root 13, 33 Jan 8 13:02 mouse1
/dev/input/by-path: total 0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-i8042-serio-0-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-i8042-serio-1-event-mouse -> ../event2 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-i8042-serio-1-mouse -> ../mouse0 lrwxrwxrwx 1 root root 9 Jan 8 13:02 platform-pcspkr-event-spkr -> ../event3
/dev/lightnvm: total 0 crw------- 1 root root 10, 62 Jan 8 13:02 control
/dev/mapper: total 0 crw------- 1 root root 10, 236 Jan 8 13:02 control
/dev/net: total 0 crw-rw-rw- 1 root root 10, 200 Jan 8 13:02 tun
/dev/pts: total 0 c--------- 1 root root 5, 2 Jan 8 13:02 ptmx
/dev/raw: total 0 crw------- 1 root root 162, 0 Jan 8 13:02 rawctl
/dev/shm: total 0
/dev/snd: total 0 crw-rw---- 1 root audio 116, 1 Jan 8 13:02 seq crw-rw---- 1 root audio 116, 33 Jan 8 13:02 timer
/dev/vfio: total 0 crw------- 1 root root 10, 196 Jan 8 13:02 vfio
/dev/virtio-ports: total 0 lrwxrwxrwx 1 root root 11 Jan 8 13:02 org.libguestfs.channel.0 -> ../vport1p1 + cat /proc/mounts /dev/root / ext2 rw,noatime,block_validity,barrier,user_xattr,acl 0 0 /proc /proc proc rw,relatime 0 0 /sys /sys sysfs rw,relatime 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=95924k,mode=755 0 0 /dev /dev devtmpfs rw,relatime,size=235796k,nr_inodes=58949,mode=755 0 0 /dev/pts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0 shmfs /dev/shm tmpfs rw,relatime 0 0 + cat /proc/mdstat Personalities : unused devices: <none> + lvm config + lvm pvs + lvm vgs + lvm lvs + ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever + ip r + cat /etc/resolv.conf nameserver 169.254.2.3 + lsmod Module Size Used by dm_mod 126976 0 sb_edac 32768 0 ghash_clmulni_intel 16384 0 pcbc 16384 0 aesni_intel 200704 0 crypto_simd 16384 1 aesni_intel sg 40960 0 cryptd 24576 3 crypto_simd,ghash_clmulni_intel,aesni_intel glue_helper 16384 1 aesni_intel joydev 20480 0 input_leds 16384 0 serio_raw 16384 0 ata_generic 16384 0 pata_acpi 16384 0 pcspkr 16384 0 libcrc32c 16384 0 crc8 16384 0 crc7 16384 0 crc64 16384 0 crc4 16384 0 crc_itu_t 16384 0 ext4 630784 1 mbcache 16384 1 ext4 jbd2 102400 1 ext4 virtio_pci 24576 0 virtio_input 16384 0 virtio_balloon 20480 0 virtio_scsi 20480 1 sd_mod 53248 1 nd_pmem 20480 0 nd_btt 24576 1 nd_pmem virtio_net 49152 0 net_failover 20480 1 virtio_net failover 16384 1 net_failover virtio_crypto 20480 0 crypto_engine 16384 1 virtio_crypto virtio_console 28672 0 virtio_rng 16384 0 virtio_blk 20480 0 virtio_ring 24576 9 virtio_rng,virtio_console,virtio_balloon,virtio_scsi,virtio_crypto,virtio_input,virtio_pci,virtio_blk,virtio_net virtio 16384 9 virtio_rng,virtio_console,virtio_balloon,virtio_scsi,virtio_crypto,virtio_input,virtio_pci,virtio_blk,virtio_net ata_piix 36864 0 libata 245760 3 ata_piix,pata_acpi,ata_generic crc32_generic 16384 0 crct10dif_pclmul 16384 0 crc32c_intel 24576 2 crc32_pclmul 16384 0 + date Wed Jan 8 13:02:51 UTC 2020 + echo -n 'clocksource: ' clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource kvm-clock + echo -n 'uptime: ' uptime: + cat /proc/uptime 1.29 0.22 + cmd=guestfsd ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline + eval + test x '!=' x + test 1 = 1 + cmd='guestfsd --verbose' + test '' = 1 + false + test '' = 1 + echo guestfsd --verbose guestfsd --verbose + guestfsd --verbose lvm_system_dir = /tmp/lvm OCaml daemon loaded trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0' commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle calling: settle libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: appliance is up Guest launched OK. guestfsd: <= part_disk (0xd2) request length 60 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda calling: settle commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle calling: settle commandrvf: stdout=e stderr=y flags=0x10000 commandrvf: parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s Warning: The resulting partition is not properly aligned for best performance. commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle calling: settle guestfsd: => part_disk (0xd2) took 0.04 secs guestfsd: <= mkfs (0x116) request length 84 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda1 calling: settle commandrvf: stdout=y stderr=y flags=0x0 commandrvf: wipefs --help commandrvf: stdout=n stderr=n flags=0x0 commandrvf: wipefs -a --force /dev/sda1 commandrvf: stdout=n stderr=y flags=0x0 commandrvf: mke2fs -t ext2 -F /dev/sda1 mke2fs 1.42.9 (28-Dec-2013) guestfsd: => mkfs (0x116) took 0.03 secs guestfsd: <= vfs_type (0xc6) request length 56 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda1 calling: settle command: blkid '-c' '/dev/null' '-o' 'value' '-s' 'TYPE' '/dev/sda1' command: blkid returned 0 command: blkid: stdout: ext2 guestfsd: => vfs_type (0xc6) took 0.01 secs guestfsd: <= mount (0x1) request length 64 bytes commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda1 calling: settle command: mount '/dev/sda1' '/sysroot//' [ 1.532326] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem [ 1.536254] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null) guestfsd: => mount (0x1) took 0.01 secs guestfsd: <= touch (0x3) request length 52 bytes guestfsd: => touch (0x3) took 0.00 secs guestfsd: <= internal_autosync (0x11a) request length 40 bytes umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,block_validity,barrier,user_xattr,acl freq=0 passno=0 umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0 umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0 umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=95924k,mode=755 freq=0 passno=0 umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=235796k,nr_inodes=58949,mode=755 freq=0 passno=0 umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0 umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0 umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=rw,relatime,block_validity,barrier,user_xattr,acl freq=0 passno=0 commandrvf: stdout=n stderr=y flags=0x0 commandrvf: umount /sysroot commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sdb calling: settle commandrvf: stdout=n stderr=y flags=0x0 commandrvf: udevadm --debug settle -E /dev/sda calling: settle fsync /dev/sda guestfsd: => internal_autosync (0x11a) took 0.04 secs libguestfs: calling virDomainDestroy flags=VIR_DOMAIN_DESTROY_GRACEFUL libguestfs: closing guestfs handle 0x5616f24bc000 (state 0) libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfs8AN8TK libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsn4dNLJ ===== TEST FINISHED OK =====
------------------ 原始邮件 ------------------ 发件人: "Tomáš Golembiovský"<tgolembi@redhat.com>; 发送时间: 2020年1月8日(星期三) 下午4:47 收件人: "谢威"<249016681@qq.com>; 抄送: "libguestfs"<libguestfs@redhat.com>; 主题: Re: [Libguestfs] bug report
It seems that the appliance is broken. Try removing /var/tmp/.guestfs-0/ and run the test tool again.
Tomas
On Fri, 3 Jan 2020 13:53:10 +0800 "谢威" <249016681@qq.com> wrote:
> Hi, > I have use kvm 、 virsh 、 virt for almost half year ,all things goes well 。 > but recently, I use virt-copy-in found some problem , I have do nothing with my server ,but the problem appear . > > > Here is the error message blow . I really appreciate your geneous help > > > > > > > > > [root@gz-op-vmhost01 vmdata]# uname -r && cat /etc/redhat-release && virsh -V > 4.19.8-1.el7.elrepo.x86_64 > CentOS Linux release 7.2.1511 (Core) > Virsh command line tool of libvirt 4.5.0 > See web site at https://libvirt.org/ > > > Compiled with support for: > Hypervisors: QEMU/KVM LXC ESX Test > Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort > Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM RBD Gluster > Miscellaneous: Daemon Nodedev SELinux Secrets Debug DTrace Readline > > > > > > > > [root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin > SELinux: Disabled > libguestfs: trace: add_drive_scratch 104857600 > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/scratch1.img" "raw" 104857600 > libguestfs: trace: disk_create = 0 > libguestfs: trace: add_drive "/tmp/libguestfsr2XJRP/scratch1.img" "format:raw" "cachemode:unsafe" > libguestfs: trace: add_drive = 0 > libguestfs: trace: add_drive_scratch = 0 > libguestfs: trace: get_append > libguestfs: trace: get_append = "NULL" > guestfs_get_append: (null) > libguestfs: trace: get_autosync > libguestfs: trace: get_autosync = 1 > guestfs_get_autosync: 1 > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > guestfs_get_backend: libvirt > libguestfs: trace: get_backend_settings > libguestfs: trace: get_backend_settings = [] > guestfs_get_backend_settings: [] > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > guestfs_get_cachedir: /var/tmp > libguestfs: trace: get_hv > libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" > guestfs_get_hv: /usr/libexec/qemu-kvm > 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_program > libguestfs: trace: get_program = "libguestfs-test-tool" > guestfs_get_program: libguestfs-test-tool > libguestfs: trace: get_recovery_proc > libguestfs: trace: get_recovery_proc = 1 > guestfs_get_recovery_proc: 1 > libguestfs: trace: get_smp > libguestfs: trace: get_smp = 1 > guestfs_get_smp: 1 > libguestfs: trace: get_sockdir > libguestfs: trace: get_sockdir = "/tmp" > guestfs_get_sockdir: /tmp > 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: max_disks > libguestfs: trace: max_disks = 255 > libguestfs: trace: version > libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > libguestfs: launch: program=libguestfs-test-tool > libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt > libguestfs: launch: backend registered: unix > libguestfs: launch: backend registered: uml > libguestfs: launch: backend registered: libvirt > libguestfs: launch: backend registered: direct > libguestfs: launch: backend=libvirt > libguestfs: launch: tmpdir=/tmp/libguestfsr2XJRP > libguestfs: launch: umask=0022 > libguestfs: launch: euid=0 > libguestfs: libvirt version = 4005000 (4.5.0) > libguestfs: guest random name = guestfs-tv134tqwpax481b9 > libguestfs: connect to libvirt > libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 > libguestfs: successfully opened libvirt handle: conn = 0x564c2ce63ab0 > libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) > libguestfs: get libvirt capabilities > libguestfs: parsing capabilities XML > libguestfs: trace: get_backend_setting "force_tcg" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_label" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: build appliance > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: begin building supermin appliance > libguestfs: run supermin > libguestfs: command: run: /usr/bin/supermin5 > libguestfs: command: run: \ --build > libguestfs: command: run: \ --verbose > libguestfs: command: run: \ --if-newer > libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock > libguestfs: command: run: \ --copy-kernel > libguestfs: command: run: \ -f ext2 > libguestfs: command: run: \ --host-cpu x86_64 > libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d > supermin: version: 5.1.19 > supermin: rpm: detected RPM version 4.11 > supermin: package handler: fedora/rpm > supermin: acquiring lock on /var/tmp/.guestfs-0/lock > supermin: if-newer: output does not need rebuilding > libguestfs: finished building supermin appliance > libguestfs: trace: disk_create "/tmp/libguestfsr2XJRP/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsr2XJRP/overlay2.qcow2 > qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: Could not open '/var/tmp/.guestfs-0/appliance.d/root': No such file or directory > Could not open backing image to determine size. > libguestfs: error: qemu-img: /tmp/libguestfsr2XJRP/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above > libguestfs: trace: disk_create = -1 (error) > libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] > libguestfs: trace: launch = -1 (error) > libguestfs: trace: close > libguestfs: closing guestfs handle 0x564c2ce63000 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsr2XJRP > > > > > > > > > [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/root > ls: cannot access /var/tmp/.guestfs-0/appliance.d/root: No such file or directory > [root@gz-op-vmhost01 vmdata]# ll /var/tmp/.guestfs-0/appliance.d/ > total 10192 > -rw-r--r-- 1 qemu qemu 3335680 Jan 3 13:36 initrd > -rwxr-xr-x 1 qemu qemu 7095680 Jan 3 13:36 kernel > > > [root@gz-op-vmhost01 vmdata]# mkdir /var/tmp/.guestfs-0/appliance.d/root > > > > > > > > > > > > > [root@gz-op-vmhost01 vmdata]# 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/java/jdk1.8.0_151/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin > SELinux: Disabled > libguestfs: trace: add_drive_scratch 104857600 > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/scratch1.img" "raw" 104857600 > libguestfs: trace: disk_create = 0 > libguestfs: trace: add_drive "/tmp/libguestfsn1zUMm/scratch1.img" "format:raw" "cachemode:unsafe" > libguestfs: trace: add_drive = 0 > libguestfs: trace: add_drive_scratch = 0 > libguestfs: trace: get_append > libguestfs: trace: get_append = "NULL" > guestfs_get_append: (null) > libguestfs: trace: get_autosync > libguestfs: trace: get_autosync = 1 > guestfs_get_autosync: 1 > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > guestfs_get_backend: libvirt > libguestfs: trace: get_backend_settings > libguestfs: trace: get_backend_settings = [] > guestfs_get_backend_settings: [] > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > guestfs_get_cachedir: /var/tmp > libguestfs: trace: get_hv > libguestfs: trace: get_hv = "/usr/libexec/qemu-kvm" > guestfs_get_hv: /usr/libexec/qemu-kvm > 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_program > libguestfs: trace: get_program = "libguestfs-test-tool" > guestfs_get_program: libguestfs-test-tool > libguestfs: trace: get_recovery_proc > libguestfs: trace: get_recovery_proc = 1 > guestfs_get_recovery_proc: 1 > libguestfs: trace: get_smp > libguestfs: trace: get_smp = 1 > guestfs_get_smp: 1 > libguestfs: trace: get_sockdir > libguestfs: trace: get_sockdir = "/tmp" > guestfs_get_sockdir: /tmp > 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: max_disks > libguestfs: trace: max_disks = 255 > libguestfs: trace: version > libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > libguestfs: launch: program=libguestfs-test-tool > libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt > libguestfs: launch: backend registered: unix > libguestfs: launch: backend registered: uml > libguestfs: launch: backend registered: libvirt > libguestfs: launch: backend registered: direct > libguestfs: launch: backend=libvirt > libguestfs: launch: tmpdir=/tmp/libguestfsn1zUMm > libguestfs: launch: umask=0022 > libguestfs: launch: euid=0 > libguestfs: libvirt version = 4005000 (4.5.0) > libguestfs: guest random name = guestfs-6jipufmlo60389k4 > libguestfs: connect to libvirt > libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 > libguestfs: successfully opened libvirt handle: conn = 0x563ac943fab0 > libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) > libguestfs: get libvirt capabilities > libguestfs: parsing capabilities XML > libguestfs: trace: get_backend_setting "force_tcg" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_label" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: build appliance > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: begin building supermin appliance > libguestfs: run supermin > libguestfs: command: run: /usr/bin/supermin5 > libguestfs: command: run: \ --build > libguestfs: command: run: \ --verbose > libguestfs: command: run: \ --if-newer > libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock > libguestfs: command: run: \ --copy-kernel > libguestfs: command: run: \ -f ext2 > libguestfs: command: run: \ --host-cpu x86_64 > libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d > supermin: version: 5.1.19 > supermin: rpm: detected RPM version 4.11 > supermin: package handler: fedora/rpm > supermin: acquiring lock on /var/tmp/.guestfs-0/lock > supermin: if-newer: output does not need rebuilding > libguestfs: finished building supermin appliance > libguestfs: trace: disk_create "/tmp/libguestfsn1zUMm/overlay2.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsn1zUMm/overlay2.qcow2 > qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: A regular file was expected by the 'file' driver, but something else was given > Could not open backing image to determine size. > libguestfs: error: qemu-img: /tmp/libguestfsn1zUMm/overlay2.qcow2: qemu-img exited with error status 1, see debug messages above > libguestfs: trace: disk_create = -1 (error) > libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] > libguestfs: trace: launch = -1 (error) > libguestfs: trace: close > libguestfs: closing guestfs handle 0x563ac943f000 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsn1zUMm > [root@gz-op-vmhost01 vmdata]# > > > > > > > > > > [root@gz-op-vmhost01 vmdata]# virt-copy-in /etc/resolv.conf -a 10.188.2.9.sys.img /etc/ > libguestfs: trace: set_verbose true > libguestfs: trace: set_verbose = 0 > libguestfs: create: flags = 0, handle = 0x55f344b7f650, program = virt-copy-in > libguestfs: trace: set_pgroup true > libguestfs: trace: set_pgroup = 0 > libguestfs: trace: add_drive "10.188.2.9.sys.img" > libguestfs: trace: add_drive = 0 > libguestfs: trace: is_config > libguestfs: trace: is_config = 1 > libguestfs: trace: launch > libguestfs: trace: max_disks > libguestfs: trace: max_disks = 255 > libguestfs: trace: get_tmpdir > libguestfs: trace: get_tmpdir = "/tmp" > libguestfs: trace: version > libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 38, release: 2, extra: rhel=7,release=12.el7_6.2,libvirt, > > libguestfs: trace: get_backend > libguestfs: trace: get_backend = "libvirt" > libguestfs: launch: program=virt-copy-in > libguestfs: launch: version=1.38.2rhel=7,release=12.el7_6.2,libvirt > libguestfs: launch: backend registered: unix > libguestfs: launch: backend registered: uml > libguestfs: launch: backend registered: libvirt > libguestfs: launch: backend registered: direct > libguestfs: launch: backend=libvirt > libguestfs: launch: tmpdir=/tmp/libguestfsHRQGUn > libguestfs: launch: umask=0022 > libguestfs: launch: euid=0 > libguestfs: libvirt version = 4005000 (4.5.0) > libguestfs: guest random name = guestfs-yxto5xhpuo3fwlvw > libguestfs: connect to libvirt > libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0 > libguestfs: successfully opened libvirt handle: conn = 0x55f344b800c0 > libguestfs: qemu version (reported by libvirt) = 2012000 (2.12.0) > libguestfs: get libvirt capabilities > libguestfs: parsing capabilities XML > libguestfs: trace: get_backend_setting "force_tcg" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_label" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_imagelabel" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: trace: get_backend_setting "internal_libvirt_norelabel_disks" > libguestfs: trace: get_backend_setting = NULL (error) > libguestfs: build appliance > libguestfs: trace: get_cachedir > libguestfs: trace: get_cachedir = "/var/tmp" > libguestfs: begin building supermin appliance > libguestfs: run supermin > libguestfs: command: run: /usr/bin/supermin5 > libguestfs: command: run: \ --build > libguestfs: command: run: \ --verbose > libguestfs: command: run: \ --if-newer > libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock > libguestfs: command: run: \ --copy-kernel > libguestfs: command: run: \ -f ext2 > libguestfs: command: run: \ --host-cpu x86_64 > libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d > libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d > supermin: version: 5.1.19 > supermin: rpm: detected RPM version 4.11 > supermin: package handler: fedora/rpm > supermin: acquiring lock on /var/tmp/.guestfs-0/lock > supermin: if-newer: output does not need rebuilding > libguestfs: finished building supermin appliance > libguestfs: trace: disk_create "/tmp/libguestfsHRQGUn/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsHRQGUn/overlay1.qcow2 > qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: A regular file was expected by the 'file' driver, but something else was given > Could not open backing image to determine size. > libguestfs: error: qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: qemu-img exited with error status 1, see debug messages above > libguestfs: trace: disk_create = -1 (error) > libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] > libguestfs: trace: launch = -1 (error) > libguestfs: trace: close > libguestfs: closing guestfs handle 0x55f344b7f650 (state 0) > libguestfs: command: run: rm > libguestfs: command: run: \ -rf /tmp/libguestfsHRQGUn
-- Tomáš Golembiovský <tgolembi@redhat.com>
-- Tomáš Golembiovský <tgolembi@redhat.com>
On Wed, Jan 08, 2020 at 09:05:55PM +0800, 谢威 wrote:
> libguestfs: trace: disk_create "/tmp/libguestfsHRQGUn/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > libguestfs: command: run: qemu-img > libguestfs: command: run: \ create > libguestfs: command: run: \ -f qcow2 > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > libguestfs: command: run: \ /tmp/libguestfsHRQGUn/overlay1.qcow2 > qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: A regular file was expected by the 'file' driver, but something else was given > Could not open backing image to determine size.
There's something really weird going on here with your system. Could it be that /var/tmp is not readable? Tomas already suggested doing this: rm -rf /var/tmp/.guestfs-* then try to run libguestfs-test-tool again. If it still doesn't work, have a look at the permissions of files in /var/tmp/.guestfs-0 or if you see any SELinux audit messages. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Hi, Richard: there don't have SELinux problem . [root@gz-op-vmhost01 ~]# getenforce Disabled [root@gz-op-vmhost01 ~]# ll /var/tmp/ -a total 28 drwxrwxrwt 7 root root 4096 Jan 10 15:17 . drwxr-xr-x 21 root root 4096 Jun 10 2019 .. drwxr-xr-x 2 abrt abrt 4096 Nov 23 2017 abrt drwxr-xr-x 3 root root 4096 Jan 10 15:17 .guestfs-0 someone suggest me run yum upgrade ,this make a lot of software upgraded . then the problem sloved, but don't get the reason . ------------------ 原始邮件 ------------------ 发件人: "Richard W.M. Jones"<rjones@redhat.com>; 发送时间: 2020年1月9日(星期四) 晚上9:44 收件人: "谢威"<249016681@qq.com>; 抄送: "Tomáš Golembiovský"<tgolembi@redhat.com>;"libguestfs"<libguestfs@redhat.com>; 主题: Re: [Libguestfs] 回复: bug report On Wed, Jan 08, 2020 at 09:05:55PM +0800, 谢威 wrote: > > libguestfs: trace: disk_create "/tmp/libguestfsHRQGUn/overlay1.qcow2" "qcow2" -1 "backingfile:/var/tmp/.guestfs-0/appliance.d/root" "backingformat:raw" > > libguestfs: command: run: qemu-img > > libguestfs: command: run: \ create > > libguestfs: command: run: \ -f qcow2 > > libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw > > libguestfs: command: run: \ /tmp/libguestfsHRQGUn/overlay1.qcow2 > > qemu-img: /tmp/libguestfsHRQGUn/overlay1.qcow2: A regular file was expected by the 'file' driver, but something else was given > > Could not open backing image to determine size. There's something really weird going on here with your system. Could it be that /var/tmp is not readable? Tomas already suggested doing this: rm -rf /var/tmp/.guestfs-* then try to run libguestfs-test-tool again. If it still doesn't work, have a look at the permissions of files in /var/tmp/.guestfs-0 or if you see any SELinux audit messages. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (3)
-
Richard W.M. Jones -
Tomáš Golembiovský -
谢威