Displaying 17 results from an estimated 17 matches for "dd_mp".
Did you mean:
add_smp
2014 Dec 23
2
[PATCH] v2v: adding --vdsm-ovf-output option
...(List.map (sprintf " --vdsm-vol-uuid %s") vdsm_params.vol_uuids))
vdsm_params.vm_uuid
+ vdsm_params.ovf_output
(match vmtype with
| None -> ""
| Some `Server -> " --vmtype server"
@@ -57,9 +59,6 @@ object
val mutable dd_mp = ""
val mutable dd_uuid = ""
- (* Target metadata directory. *)
- val mutable ovf_dir = ""
-
(* This is called early on in the conversion and lets us choose the
* name of the target files that eventually get written by the main
* code.
@@ -98,13 +97,...
2015 Jan 26
2
Re: [PATCH] v2v: -o vdsm should assume data domain at -os path
...; + when String.length uuid = 36 ->
> + let mp = String.concat "/" (List.rev rest) in
> + mp, uuid
> + | _ ->
> + error (f_"vdsm: invalid -os parameter does not contain a valid UUID: %s")
> + os in
> +
> dd_mp <- mp;
> dd_uuid <- uuid;
> if verbose then
> diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
> index a48bf59..2eb0079 100644
> --- a/v2v/virt-v2v.pod
> +++ b/v2v/virt-v2v.pod
> @@ -456,8 +456,10 @@ See L</OUTPUT TO RHEV> below.
>
> Set the outpu...
2014 Dec 23
2
[PATCH] v2v: adding --vdsm-ovf-output option
...in the conversion and lets us choose the
* name of the target files that eventually get written by the main
* code.
@@ -98,13 +97,12 @@ object
eprintf "VDSM: image directory: %s\n%!" image_dir;
(* Note that VDSM has to create this directory too. *)
- ovf_dir <- dd_mp // dd_uuid // "master" // "vms" // vdsm_params.vm_uuid;
- if not (is_directory ovf_dir) then
+ if not (is_directory vdsm_params.ovf_output) then
error (f_"OVF (metadata) directory (%s) does not exist or is not a directory")
- ovf_dir;
+ vdsm_...
2014 Dec 25
0
[PATCH] v2v: adding --vdsm-ovf-output option
...(List.map (sprintf " --vdsm-vol-uuid %s") vdsm_params.vol_uuids))
vdsm_params.vm_uuid
+ vdsm_params.ovf_output
(match vmtype with
| None -> ""
| Some `Server -> " --vmtype server"
@@ -57,9 +59,6 @@ object
val mutable dd_mp = ""
val mutable dd_uuid = ""
- (* Target metadata directory. *)
- val mutable ovf_dir = ""
-
(* This is called early on in the conversion and lets us choose the
* name of the target files that eventually get written by the main
* code.
@@ -98,13 +97,...
2015 Jan 20
2
[PATCH] v2v: -o vdsm should assume data domain at -os path
2014 Dec 23
3
[PATCH] v2v: adding --vdsm-ovf-output option
...in the conversion and lets us choose the
* name of the target files that eventually get written by the main
* code.
@@ -98,13 +97,12 @@ object
eprintf "VDSM: image directory: %s\n%!" image_dir;
(* Note that VDSM has to create this directory too. *)
- ovf_dir <- dd_mp // dd_uuid // "master" // "vms" // vdsm_params.vm_uuid;
- if not (is_directory ovf_dir) then
+ if not (is_directory vdsm_params.ovf_output) then
error (f_"OVF (metadata) directory (%s) does not exist or is not a directory")
- ovf_dir;
+ vdsm_...
2015 Jan 20
0
Re: [PATCH] v2v: -o vdsm should assume data domain at -os path
...let mp, uuid =
> - Output_rhev.mount_and_check_storage_domain verbose (s_"Data Domain") os in
> + let pos = (String.length os) - 36 in
> + let mp = String.sub os 0 (pos-1) in
> + let uuid = String.sub os pos 36 in
What is the significance of 36 here?
> dd_mp <- mp;
> dd_uuid <- uuid;
> if verbose then
> diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
> index a48bf59..cfd55fc 100644
> --- a/v2v/virt-v2v.pod
> +++ b/v2v/virt-v2v.pod
> @@ -456,7 +456,8 @@ See L</OUTPUT TO RHEV> below.
>
> Set the output...
2015 Jan 26
1
[PATCH] v2v: -o vdsm should assume data domain at -os path
..." case *)
+ | uuid :: rest
+ when String.length uuid = 36 ->
+ let mp = String.concat "/" (List.rev rest) in
+ mp, uuid
+ | _ ->
+ error (f_"vdsm: invalid -os parameter does not contain a valid UUID: %s")
+ os in
+
dd_mp <- mp;
dd_uuid <- uuid;
if verbose then
diff --git a/v2v/test-v2v-o-vdsm-options.sh b/v2v/test-v2v-o-vdsm-options.sh
index e2098fa..c170467 100755
--- a/v2v/test-v2v-o-vdsm-options.sh
+++ b/v2v/test-v2v-o-vdsm-options.sh
@@ -64,7 +64,7 @@ mkdir $d/12345678-1234-1234-1234-123456789ab...
2015 Jan 26
0
Re: [PATCH] v2v: -o vdsm should assume data domain at -os path
...d = 36 ->
> > + let mp = String.concat "/" (List.rev rest) in
> > + mp, uuid
> > + | _ ->
> > + error (f_"vdsm: invalid -os parameter does not contain a valid UUID: %s")
> > + os in
> > +
> > dd_mp <- mp;
> > dd_uuid <- uuid;
> > if verbose then
> > diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
> > index a48bf59..2eb0079 100644
> > --- a/v2v/virt-v2v.pod
> > +++ b/v2v/virt-v2v.pod
> > @@ -456,8 +456,10 @@ See L</OUTPUT TO RHEV>...
2015 Jan 20
2
Re: [PATCH] v2v: -o vdsm should assume data domain at -os path
On 20.01.15 14:48, Richard W.M. Jones wrote:
> On Tue, Jan 20, 2015 at 04:25:20PM +0200, Shahar Havivi wrote:
> > > > + let pos = (String.length os) - 36 in
> > > > + let mp = String.sub os 0 (pos-1) in
> > > > + let uuid = String.sub os pos 36 in
> > >
> > > What is the significance of 36 here?
> > the length of uuid.
>
2014 Dec 23
0
[PATCH] v2v: adding --vdsm-ovf-output option
...in the conversion and lets us choose the
* name of the target files that eventually get written by the main
* code.
@@ -98,13 +97,12 @@ object
eprintf "VDSM: image directory: %s\n%!" image_dir;
(* Note that VDSM has to create this directory too. *)
- ovf_dir <- dd_mp // dd_uuid // "master" // "vms" // vdsm_params.vm_uuid;
- if not (is_directory ovf_dir) then
+ if not (is_directory vdsm_params.ovf_output) then
error (f_"OVF (metadata) directory (%s) does not exist or is not a directory")
- ovf_dir;
+ vdsm_...
2015 Jan 20
3
Re: [PATCH] v2v: -o vdsm should assume data domain at -os path
..._storage_domain verbose (s_"Data Domain") os in
> > + let pos = (String.length os) - 36 in
> > + let mp = String.sub os 0 (pos-1) in
> > + let uuid = String.sub os pos 36 in
>
> What is the significance of 36 here?
the length of uuid.
>
> > dd_mp <- mp;
> > dd_uuid <- uuid;
> > if verbose then
> > diff --git a/v2v/virt-v2v.pod b/v2v/virt-v2v.pod
> > index a48bf59..cfd55fc 100644
> > --- a/v2v/virt-v2v.pod
> > +++ b/v2v/virt-v2v.pod
> > @@ -456,7 +456,8 @@ See L</OUTPUT TO RHEV>...
2016 May 23
7
[PATCH 1/5] mllib: make external_command echo the command executed
Add an optional parameter to disable this behaviour, so the Curl module
in v2v won't print user-sensible data (like passwords).
---
builder/checksums.ml | 1 -
builder/downloader.ml | 1 -
builder/sigchecker.ml | 1 -
mllib/common_utils.ml | 4 +++-
mllib/common_utils.mli | 7 +++++--
v2v/curl.ml | 2 +-
6 files changed, 9 insertions(+), 7 deletions(-)
diff --git
2017 Feb 22
5
[PATCH 0/4] v2v: windows: Only try to install rhev-apt if the target is RHV (RHBZ#1161019).
The bug is:
https://bugzilla.redhat.com/show_bug.cgi?id=1161019
This makes a few other minor refactorings to the code.
Rich.
2015 May 15
0
[PATCH 3/4] ocaml tools: Use global variables to store trace (-x) and verbose (-v) flags.
...m verbose os vdsm_params vmtype output_alloc =
+class output_vdsm os vdsm_params vmtype output_alloc =
object
- inherit output verbose
+ inherit output
method as_options =
sprintf "-o vdsm -os %s%s%s --vdsm-vm-uuid %s --vdsm-ovf-output %s%s" os
@@ -94,7 +94,7 @@ object
dd_mp <- mp;
dd_uuid <- uuid;
- if verbose then
+ if verbose () then
eprintf "VDSM: DD mountpoint: %s\nVDSM: DD UUID: %s\n%!"
dd_mp dd_uuid;
@@ -113,7 +113,7 @@ object
error (f_"OVF (metadata) directory (%s) does not exist or is not a directory&quo...
2015 May 15
5
[PATCH 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
.. and a lot of refactoring.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623
Rich.
2015 May 15
6
[PATCH v2 0/4] Only tell people to use -v -x when reporting bugs if they're not using those flags.
https://bugzilla.redhat.com/show_bug.cgi?id=1167623