Displaying 20 results from an estimated 75 matches for "dcpath".
Did you mean:
cdpath
2017 Oct 13
0
[PATCH 1/5] v2v: Remove --dcpath parameter and related functionality.
With modern libvirt, when fetching the XML of a VMware guest libvirt
passes us the datacenter path (dcpath). However with older libvirt we
had to guess this value, or else the user had to supply it on the
command line.
This commit removes all the guessing code and the --dcpath parameter
(which will now give an error).
This requires libvirt >= 1.2.20 for virt-v2v, released Oct 2015.
---
v2v/cmdlin...
2017 Oct 13
7
[PATCH 0/5] v2v: Handle disks with snapshots (RHBZ#1172425).
The first commit removes the --dcpath parameter, which just makes the
following stuff simpler. Since libvirt has supported getting
datacenterpath from VMware since Oct 2015, it's time to drop this
hairy parameter.
The rest is quite a complicated series of refactorings, followed by a
very simple change to add handling of snapshots...
2015 Aug 28
3
[PATCH 0/2] v2v: vcenter: Calculate dcPath correctly (RHBZ#1256823).
Calculate dcPath correctly for vCenter conversions.
Rich.
2015 Oct 09
4
[PATCH 0/4] v2v: Use libvirt-supplied <vmware:datacenterpath> if available.
See earlier thread on libvir-list:
https://www.redhat.com/archives/libvir-list/2015-September/thread.html#00201
Libvirt >= 1.2.20 supplies the correct dcPath parameter. If it is
available in the libvirt XML, use it, otherwise fall back to the old
method of trying to guess it from the vpx:// path.
Patches 1, 2 and 4 are just refactoring around this change.
Rich.
2015 Nov 10
1
[PATCH] v2v: Add --compressed option to produce compressed qcow2 files (RHBZ#1279273).
...g add_bridge, "in:out " ^ s_"Map bridge 'in' to 'out'";
"--bridge", Arg.String add_bridge, "in:out " ^ ditto;
+ "--compressed", Arg.Set compressed, " " ^ s_"Compress output file";
"--dcpath", Arg.String (set_string_option_once "--dcpath" dcpath),
"path " ^ s_"Override dcPath (for vCenter)";
"--dcPath", Arg.String (set_string_option_once "--dcPath" dcpath),
@@ -220,6 +222,7 @@ rea...
2017 Oct 13
0
[PATCH 5/5] v2v: vCenter: Handle disks with snapshots (RHBZ#1172425).
...index c96ebdb8b..8e0795c3c 100644
--- a/v2v/vCenter.ml
+++ b/v2v/vCenter.ml
@@ -33,6 +33,7 @@ type remote_resource = {
}
let source_re = PCRE.compile "^\\[(.*)\\] (.*)\\.vmdk$"
+let snapshot_re = PCRE.compile "^(.*)-\\d+(\\.vmdk)$"
let rec map_source ?readahead ?password dcPath uri scheme server path =
(* If no_verify=1 was passed in the libvirt URI, then we have to
@@ -45,7 +46,28 @@ let rec map_source ?readahead ?password dcPath uri scheme server path =
(* XXX only works if the query string is not URI-quoted *)
String.find query "no_verify=1"...
2020 Sep 24
4
[PATCH v2v 0/4] v2v: vcenter: Implement cookie scripts.
Patch 1 was previously posted here:
https://www.redhat.com/archives/libguestfs/2020-June/msg00086.html
to handle this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1848862
I was able to observe this bug and for me at least disabling readahead
seems to cure it.
Patches 2 and 3 are simplifications, removing a now-undocumented
feature of virt-v2v-copy-to-local and thus simplifying greatly the
2016 Jul 18
3
[PATCH 1/2] v2v: register also aliases of input/output modules
This makes them visible in the help text of -i and -o.
---
v2v/input_disk.ml | 5 ++++-
v2v/output_local.ml | 5 ++++-
v2v/output_rhev.ml | 5 ++++-
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/v2v/input_disk.ml b/v2v/input_disk.ml
index 17ad61d..508f16a 100644
--- a/v2v/input_disk.ml
+++ b/v2v/input_disk.ml
@@ -101,4 +101,7 @@ class input_disk input_format disk = object
2016 Jul 18
0
[PATCH 2/2] v2v: use Getopt.Symbol for few options
..."preallocated" -> output_alloc := `Preallocated
- | s ->
- error (f_"unknown -oa option: %s") s
+ | s -> assert false (* Already checked by Getopt.Symbol. *)
in
let root_choice = ref AskRoot in
@@ -171,7 +170,7 @@ let parse_cmdline () =
[ L"dcpath"; L"dcPath" ], Getopt.String ("path", set_string_option_once "--dcpath" dcpath),
s_"Override dcPath (for vCenter)";
[ L"debug-overlay"; L"debug-overlays" ], Getopt.Set debug_overlays,...
2016 Jul 19
0
[PATCH v2 2/2] v2v: use Getopt.Symbol for few options
..."preallocated" -> output_alloc := `Preallocated
- | s ->
- error (f_"unknown -oa option: %s") s
+ | _ -> assert false (* Already checked by Getopt.Symbol. *)
in
let root_choice = ref AskRoot in
@@ -171,7 +168,7 @@ let parse_cmdline () =
[ L"dcpath"; L"dcPath" ], Getopt.String ("path", set_string_option_once "--dcpath" dcpath),
s_"Override dcPath (for vCenter)";
[ L"debug-overlay"; L"debug-overlays" ], Getopt.Set debug_overlays,...
2016 Jul 19
2
[PATCH v2 1/2] v2v: register also aliases of input/output modules
Extend Modules_list to handle also aliases for input and output modules,
and use this to register the existing aliases.
---
v2v/input_disk.ml | 2 +-
v2v/modules_list.ml | 25 +++++++++++++++++++++----
v2v/modules_list.mli | 8 ++++----
v2v/output_local.ml | 2 +-
v2v/output_rhev.ml | 2 +-
5 files changed, 28 insertions(+), 11 deletions(-)
diff --git a/v2v/input_disk.ml
2018 Jun 05
4
[PATCH 0/3] v2v: Various refactorings.
Use -ip instead of --password-file, and various refactorings.
It strikes me that we should probably deprecate and eventually remove
virt-v2v-copy-to-local. With the introduction of the new SSH and VDDK
transports, and with RHEL 5 Xen becoming more irrelevant, it's no
longer needed.
Rich.
2015 Nov 19
4
[PATCH 0/4] v2v: Add a new tool virt-v2v-copy-to-local to handle Xen and ESXi
It turns out that RHEL 5 Xen conversions don't work if the source disk
is located on a block device. See patch 1/4 for the gory details.
This patch series proposes a new tool called virt-v2v-copy-to-local
which essentially is a way to make new virt-v2v work like the old
virt-v2v, ie. copy first, convert after. Of course this is very slow
and would only be used as a last resort, but I
2014 Sep 16
2
virt-v2v -ic question
...uld not open 'json: { "file.cookie" : "vmware_soap_session=\"52d44642-3451-51db-dc36-7621bbc387bd\"", "file.sslverify" : "off", "file.driver" : "https", "file.url" : "https://10.35.5.45/folder/CSB/CSB-flat.vmdk?dcPath=ha-datacenter&dsName=datastore1", "file.timeout" : 60 }': Unknown driver 'https': No such file or directory
virt-v2v: error: qemu-img command failed, see earlier errors
If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:
virt-v...
2014 Sep 17
3
Re: virt-v2v -ic question
...//10.35.5.45/?no_verify=1" -o local -of raw -os /tmp/v2v RHEL
[ 0.0] Opening the source -i libvirt -ic esx://10.35.5.45/?no_verify=1 RHEL
Enter username for 10.35.5.45 [root]:
Enter root's password for 10.35.5.45:
curl -s --insecure -I 'https://10.35.5.45/folder/RHEL/RHEL-flat.vmdk?dcPath=ha-datacenter&dsName=datastore1' ||:
HTTP/1.1 401 Unauthorized
Date: Wed, 17 Sep 2014 07:55:29 GMT
Set-Cookie: vmware_soap_session="5257f480-c060-3dcb-0ed5-fa58236bb0e5"; Path=/; HttpOnly; Secure;
Connection: close
WWW-Authenticate: Basic realm="VMware HTTP server"
Cont...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...g add_bridge, "in:out " ^ s_"Map bridge 'in' to 'out'";
- "--bridge", Arg.String add_bridge, "in:out " ^ ditto;
- "--compressed", Arg.Set compressed, " " ^ s_"Compress output file";
- "--dcpath", Arg.String (set_string_option_once "--dcpath" dcpath),
- "path " ^ s_"Override dcPath (for vCenter)";
- "--dcPath", Arg.String (set_string_option_once "--dcPath" dcpath),
-...
2020 Jan 20
1
[PATCH] vCenter: pass user name to nbdkit curl plugin
...š Golembiovský <tgolembi@redhat.com>
---
v2v/vCenter.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/vCenter.ml b/v2v/vCenter.ml
index 89c5579b..d9bf12c1 100644
--- a/v2v/vCenter.ml
+++ b/v2v/vCenter.ml
@@ -79,7 +79,7 @@ let rec map_source ?bandwidth ?password_file dcPath uri server path =
let nbdkit =
Nbdkit.create_curl ?bandwidth ?cookie:session_cookie ~password ~sslverify
- https_url in
+ ?user:uri.uri_user https_url in
let qemu_uri = Nbdkit.run nbdkit in
(* Return the struct. *)
--
2.24.1
2016 Jun 08
0
unable to connect with virt-v2v to VMWare
...er ARDA\cam's password for nssesxi-mgmt:
error: failed to connect to the hypervisor
error: internal error: Could not find compute resource specified in
'/Systems/North Sutton Street/nssesxi04-mgmt'
#
I can access via http a list of VMs at the following URL:
https://nssesxi-mgmt/folder?dcPath=North%2520Sutton%2520Street&dsName=nssesxi%252dc2%252dr10%252dlun2
Below is the URI to the vm itself (once shutdown, it gets the name 'vm2_1'):
https://nssesxi-mgmt/folder/wvm2_1?dcPath=North%2520Sutton%2520Street&dsName=nssesxi%252dc1%252dr10%252dlun2
Any idea why the virsh and...
2020 May 26
1
[v2v PATCH] vCenter: require curl in #precheck
...try ignore (which curl_binary)
+ with Executable_not_found _ ->
+ error (f_"the ‘%s’ program is not available. It is needed to communicate with vCenter.")
+ curl_binary
+ in
+
object (self)
inherit input_libvirt libvirt_conn ~input_conn guest
val mutable dcPath = ""
method precheck () =
- error_if_libvirt_does_not_support_json_backingfile ()
+ error_if_libvirt_does_not_support_json_backingfile ();
+ error_unless_curl_command_exists ()
method source ?bandwidth () =
debug "input_libvirt_vcenter_https: source: server %s...
2020 Jul 20
1
Re: [PATCH nbdkit v2] curl: Implement header and cookie scripts.
...can be accessed as below. Since the cookie expires
> +after a certain period of time, we use C<cookie-script-renew>, and
> +because the server uses a self-signed certificate we must use
> +I<--insecure> and C<sslverify=false>.
> +
> + SERVER=esx.example.com
> + DCPATH=data
> + DS=datastore1
> + GUEST=guest-name
> + URL="https://$SERVER/folder/$GUEST/$GUEST-flat.vmdk?dcPath=$DCPATH&dsName=$DS"
> +
> + nbdkit curl "$URL" \
> + cookie-script='
> + curl --head -s --insecure -u root:password "$ur...