Displaying 4 results from an estimated 4 matches for "fdd2012f5".
2019 Nov 17
1
Re: [PATCH 02/18] rhv-upload: Check status more frequently
...> With 1 second wait:
>
> Created disk in 4.991227 seconds
> Created transfer in 1.961243 seconds
> ---
> v2v/rhv-upload-plugin.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
> index fdd2012f5..472d483f2 100644
> --- a/v2v/rhv-upload-plugin.py
> +++ b/v2v/rhv-upload-plugin.py
> @@ -161,7 +161,7 @@ def open(readonly):
>
> endt = time.time() + timeout
> while True:
> - time.sleep(5)
> + time.sleep(1)
> disk = disk_service.get()
&g...
2019 Nov 17
0
[PATCH 01/18] rhv-upload: Remove unused exception class
---
v2v/rhv-upload-plugin.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index 896c17942..fdd2012f5 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -565,9 +565,6 @@ def close(h):
# (https://pypi.org/project/uhttplib/)
# Ported to Python 3 by Irit Goihman.
-class UnsupportedError(Exception):
- pass
-
class UnixHTTPConnection(HTTPConnection):
def __init__(self,...
2019 Nov 17
0
[PATCH 02/18] rhv-upload: Check status more frequently
...11 seconds
Created transfer in 1.857502 seconds
With 1 second wait:
Created disk in 4.991227 seconds
Created transfer in 1.961243 seconds
---
v2v/rhv-upload-plugin.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index fdd2012f5..472d483f2 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -161,7 +161,7 @@ def open(readonly):
endt = time.time() + timeout
while True:
- time.sleep(5)
+ time.sleep(1)
disk = disk_service.get()
if disk.status == types.DiskStatus.O...
2019 Nov 17
23
[PATCH 00/18] rvh-upload: Various fixes and cleanups
This series extract oVirt SDK and imageio code to make it eaiser to follow the
code and improve error handing in open() and close().
The first small patches can be consider as fixes for downstream.
Tested based on libguestfs v1.41.5, since I had trouble building virt-v2v and
libguestfs from master.
Nir Soffer (18):
rhv-upload: Remove unused exception class
rhv-upload: Check status more