Back to bug 1305526

Who When What Removed Added
Richard W.M. Jones 2016-02-09 10:38:05 UTC Status NEW MODIFIED
Fixed In Version libguestfs-1.28.1-1.55.el7_2.1
errata-xmlrpc 2016-02-09 10:39:01 UTC Status MODIFIED ON_QA
Richard W.M. Jones 2016-02-09 13:10:25 UTC Whiteboard V2V
Richard W.M. Jones 2016-02-09 13:40:24 UTC Doc Text [Please see also bug 1305489]

Cause:

Libvirt exposes paths to disk images in its domain XML. However there is not quite enough information for us to be able to map these paths to the VMware vCenter path where we can access the image. (This is known as the "dcPath"). This is especially the case where the customer is using the "Cluster" feature in vCenter.

Consequence:

Virt-v2v has for a long time tried to guess the dcPath, and it provided a "--dcpath" command line flag in case it guessed wrongly. Of course, customers don't care about all this, and would rather than virt-v2v just worked.

Fix:

Libvirt has been modified to expose the true dcPath in domain XML too under special XML tag "<vmware:datacenterpath>" (that is bug 1305489). Libguestfs has been modified to consume this XML if it is present (the current bug).

Result:

The virt-v2v "--dcpath" command line flag should never need to be used. Virt-v2v should always be able to find the correct dcPath without any user intervention.
Jiri Herrmann 2016-02-12 14:04:16 UTC CC jherrman
Doc Text [Please see also bug 1305489]

Cause:

Libvirt exposes paths to disk images in its domain XML. However there is not quite enough information for us to be able to map these paths to the VMware vCenter path where we can access the image. (This is known as the "dcPath"). This is especially the case where the customer is using the "Cluster" feature in vCenter.

Consequence:

Virt-v2v has for a long time tried to guess the dcPath, and it provided a "--dcpath" command line flag in case it guessed wrongly. Of course, customers don't care about all this, and would rather than virt-v2v just worked.

Fix:

Libvirt has been modified to expose the true dcPath in domain XML too under special XML tag "<vmware:datacenterpath>" (that is bug 1305489). Libguestfs has been modified to consume this XML if it is present (the current bug).

Result:

The virt-v2v "--dcpath" command line flag should never need to be used. Virt-v2v should always be able to find the correct dcPath without any user intervention.
With this update, the libguestfs library processes the "<vmware:datacenterpath>" tag, newly added to the domain XML file by the libvirt library, and maps the paths to the disk image on a VMware vCenter server. This allows for accessing disk images on the VMware vCenter server without the need for the "--dcpath" command-line flag.
Doc Type Bug Fix Enhancement
Jiri Herrmann 2016-02-12 14:47:10 UTC Doc Text With this update, the libguestfs library processes the "<vmware:datacenterpath>" tag, newly added to the domain XML file by the libvirt library, and maps the paths to the disk image on a VMware vCenter server. This allows for accessing disk images on the VMware vCenter server without the need for the "--dcpath" command-line flag. With this update, the libguestfs library processes the "<vmware:datacenterpath>" tag, newly added to the domain XML file by the libvirt library, and maps the paths to the disk image on a VMware vCenter server. This allows for accessing disk images on the VMware vCenter server without the need for the "--dcpath" command-line option.
mxie 2016-03-04 03:38:44 UTC Status ON_QA VERIFIED
Jiri Herrmann 2016-03-17 12:04:14 UTC Doc Text With this update, the libguestfs library processes the "<vmware:datacenterpath>" tag, newly added to the domain XML file by the libvirt library, and maps the paths to the disk image on a VMware vCenter server. This allows for accessing disk images on the VMware vCenter server without the need for the "--dcpath" command-line option. The virt-v2v utility now processes the "<vmware:datacenterpath>" tag, newly added to the domain XML file by the libvirt library, and maps the paths to the disk image on a VMware vCenter server. This allows for accessing disk images on the VMware vCenter server without the need for the "--dcpath" command-line option.
errata-xmlrpc 2016-04-05 13:38:14 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2016-04-05 16:28:49 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2016-04-05 12:28:49 UTC

Back to bug 1305526