Bug 1636144 - -it vddk -io vddk-snapshot with bogus snapshot ID does not fail
Summary: -it vddk -io vddk-snapshot with bogus snapshot ID does not fail
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libguestfs
Version: 8.0
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.1
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-04 14:37 UTC by Richard W.M. Jones
Modified: 2020-02-04 14:12 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1527334
Environment:
Last Closed: 2020-02-04 14:12:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2018-10-04 14:37:38 UTC
+++ This bug was initially created as a clone of Bug #1527334 +++

Description of problem:

1.Convert a snapshot guest from vmware using VMware VDDK as a transport with --vddk-snapshot option,but set invalid value for --vddk-snapshot option

# virt-v2v -ic vpx://vsphere.local%5cAdministrator.75.182/data/10.73.3.19/?no_verify=1 -it vddk --vddk-libdir /root/vmware-vix-disklib-distrib --vddk-thumbprint 1E:22:D9:AF:A3:00:09:E7:F5:90:0E:C2:D7:19:CD:6F:90:E5:C8:BF  Auto-esx5.5-rhel7.1-snapshot --password-file /tmp/passwd --vddk-snapshot xxadfasdf
[   0.1] Opening the source -i libvirt -ic vpx://vsphere.local%5cAdministrator.75.182/data/10.73.3.19/?no_verify=1 Auto-esx5.5-rhel7.1-snapshot -it vddk  --vddk-libdir /root/vmware-vix-disklib-distrib --vddk-snapshot xxadfasdf --vddk-thumbprint 1E:22:D9:AF:A3:00:09:E7:F5:90:0E:C2:D7:19:CD:6F:90:E5:C8:BF
[   4.1] Creating an overlay to protect the source from being modified
[  42.2] Initializing the target -o libvirt -os default
[  42.3] Opening the overlay
[  48.9] Inspecting the overlay
[  70.4] Checking for sufficient free disk space in the guest
[  70.4] Estimating space required on target for each disk
[  70.4] Converting Red Hat Enterprise Linux Server 7.1 (Maipo) to run on KVM
virt-v2v: This guest has virtio drivers installed.
[ 200.2] Mapping filesystem data to avoid copying unused and blank areas
[ 200.7] Closing the overlay
[ 201.3] Checking if the guest needs BIOS or UEFI to boot
[ 201.3] Assigning disks to buses
[ 201.3] Copying disk 1/1 to /var/lib/libvirt/images/Auto-esx5.5-rhel7.1-snapshot-sda (raw)
    (100.00/100%)
[ 315.8] Creating output metadata
Pool default refreshed

Domain Auto-esx5.5-rhel7.1-snapshot defined from /tmp/v2vlibvirtc1a5b2.xml

[ 326.1] Finishing off

This one is serious, since setting the snapshot _ought_
to select a snapshot from the remote image, but it obviously
doesn't work or is being ignored for some reason.


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