Wednesday, February 01, 2017

virt-p2v error

guestfsd: main_loop: proc 334 (fstrim) took 1.94 seconds
libguestfs: trace: v2v: fstrim = 0
libguestfs: trace: v2v: umount_all
guestfsd: main_loop: new request, len 0x28
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=157896k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=393292k,nr_inodes=98323,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/sda2 dir=/sysroot type=ext3 opts=rw,relatime,data=ordered freq=0 passno=0
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: umount /sysroot
libguestfs: trace: v2v: umount_all = 0
libguestfs: trace: v2v: mount "/dev/sda1" "/"
guestfsd: main_loop: proc 47 (umount_all) took 0.01 seconds
guestfsd: main_loop: new request, len 0x40
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: mount -o  /dev/sda1 /sysroot/
[  330.601856] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[  330.605430] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
guestfsd: main_loop: proc 1 (mount) took 0.01 seconds
libguestfs: trace: v2v: mount = 0
libguestfs: trace: v2v: fstrim "/"
guestfsd: main_loop: new request, len 0x48
fsync /dev/sda
fsync /dev/sdb
commandrvf: stdout=y stderr=y flags=0x0
commandrvf: fstrim -v /sysroot/
/sysroot/: 90.5 MiB (94919680 bytes) trimmed

guestfsd: main_loop: proc 334 (fstrim) took 0.26 seconds
libguestfs: trace: v2v: fstrim = 0
[ 335.4] Closing the overlay
libguestfs: trace: v2v: umount_all
guestfsd: main_loop: new request, len 0x28
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=157896k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=393292k,nr_inodes=98323,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext3 opts=rw,relatime,data=ordered freq=0 passno=0
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: umount /sysroot
libguestfs: trace: v2v: umount_all = 0
libguestfs: trace: v2v: shutdown
libguestfs: trace: v2v: internal_autosync
guestfsd: main_loop: proc 47 (umount_all) took 0.01 seconds
guestfsd: main_loop: new request, len 0x28
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=157896k,mode=755 freq=0 passno=0
umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=393292k,nr_inodes=98323,mode=755 freq=0 passno=0
fsync /dev/sda
fsync /dev/sdb
guestfsd: main_loop: proc 282 (internal_autosync) took 0.00 seconds
libguestfs: trace: v2v: internal_autosync = 0
libguestfs: sending SIGTERM to process 3438
libguestfs: qemu maxrss 460488K
libguestfs: trace: v2v: shutdown = 0
libguestfs: trace: v2v: close
libguestfs: closing guestfs handle 0x1a13dc0 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfso5eAFU
[ 335.4] Checking if the guest needs BIOS or UEFI to boot
[ 335.4] Assigning disks to buses
virtio-blk slot 0:
target_file = /var/tmp/rancid-sda
target_format = raw
target_estimated_size = None
target_overlay = /var/tmp/v2vovl599e6e.qcow2
target_overlay.ov_source = nbd:localhost:40113
virtio-blk slot 1:
target_file = /var/tmp/rancid-sdb
target_format = raw
target_estimated_size = None
target_overlay = /var/tmp/v2vovl811e67.qcow2
target_overlay.ov_source = nbd:localhost:36773

[ 335.4] Copying disk 1/2 to /var/tmp/rancid-sda (raw)
target_file = /var/tmp/rancid-sda
target_format = raw
target_estimated_size = None
target_overlay = /var/tmp/v2vovl599e6e.qcow2
target_overlay.ov_source = nbd:localhost:40113

libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: disk_has_backing_file "/var/tmp/v2vovl599e6e.qcow2"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ --help
libguestfs: which_parser: g->qemu_img_info_parser = 1
libguestfs: command: run: qemu-img
libguestfs: command: run: \ info
libguestfs: command: run: \ --output json
libguestfs: command: run: \ /dev/fd/4
libguestfs: parse_json: qemu-img info JSON output:\n{\n    "backing-filename-format": "raw",\n    "virtual-size": 160005980160,\n    "filename": "/dev/fd/4",\n    "cluster-size": 65536,\n    "format": "qcow2",\n    "actual-size": 275845120,\n    "format-specific": {\n        "type": "qcow2",\n        "data": {\n            "compat": "1.1",\n            "lazy-refcounts": false,\n            "refcount-bits": 16,\n            "corrupt": false\n        }\n    },\n    "backing-filename": "nbd:localhost:40113",\n    "dirty-flag": false\n}\n\n
libguestfs: trace: disk_has_backing_file = 1
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: disk_create "/var/tmp/rancid-sda" "raw" 160005980160 "preallocation:sparse"
libguestfs: trace: disk_create = 0
qemu-img 'convert' '-p' '-n' '-f' 'qcow2' '-O' 'raw' '/var/tmp/v2vovl599e6e.qcow2' '/var/tmp/rancid-sda'
    (100.00/100%)
du --block-size=1 '/var/tmp/rancid-sda' | awk '{print $1}'
virtual copying rate: 888.3 M bits/sec
real copying rate: 128.8 M bits/sec
[2053.8] Copying disk 2/2 to /var/tmp/rancid-sdb (raw)
target_file = /var/tmp/rancid-sdb
target_format = raw
target_estimated_size = None
target_overlay = /var/tmp/v2vovl811e67.qcow2
target_overlay.ov_source = nbd:localhost:36773

libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: disk_has_backing_file "/var/tmp/v2vovl811e67.qcow2"
libguestfs: command: run: qemu-img
libguestfs: command: run: \ --help
libguestfs: which_parser: g->qemu_img_info_parser = 1
libguestfs: command: run: qemu-img
libguestfs: command: run: \ info
libguestfs: command: run: \ --output json
libguestfs: command: run: \ /dev/fd/4
libguestfs: parse_json: qemu-img info JSON output:\n{\n    "backing-filename-format": "raw",\n    "virtual-size": 899899242496,\n    "filename": "/dev/fd/4",\n    "cluster-size": 65536,\n    "format": "qcow2",\n    "actual-size": 551632896,\n    "format-specific": {\n        "type": "qcow2",\n        "data": {\n            "compat": "1.1",\n            "lazy-refcounts": false,\n            "refcount-bits": 16,\n            "corrupt": false\n        }\n    },\n    "backing-filename": "nbd:localhost:36773",\n    "dirty-flag": false\n}\n\n
libguestfs: trace: disk_has_backing_file = 1
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: disk_create "/var/tmp/rancid-sdb" "raw" 899899242496 "preallocation:sparse"
libguestfs: trace: disk_create = 0
qemu-img 'convert' '-p' '-n' '-f' 'qcow2' '-O' 'raw' '/var/tmp/v2vovl811e67.qcow2' '/var/tmp/rancid-sdb'
qemu-img: Could not open '/var/tmp/v2vovl811e67.qcow2': Could not open backing file: Failed to connect socket: Connection refused

virt-v2v: error: qemu-img command failed, see earlier errors
rm -rf '/var/tmp/null.KCJqyM'
libguestfs: trace: close
libguestfs: closing guestfs handle 0x1a08e70 (state 0)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x1a20a80 (state 0)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x19f7f20 (state 0)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x1a13dc0 (state 0)