Displaying 3 results from an estimated 3 matches for "b9b9e967".
2019 Nov 21
1
Re: [PATCH 1/2] rhv-upload: Extract cancel_transfer() function
...t this we can
leave leftover disks if get_options() raises.
> Thanks: Martin Kletzander
> ---
> v2v/rhv-upload-plugin.py | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
> index a2d09458..b9b9e967 100644
> --- a/v2v/rhv-upload-plugin.py
> +++ b/v2v/rhv-upload-plugin.py
> @@ -93,7 +93,7 @@ def open(readonly):
> options = get_options(http, destination_url)
> http = optimize_http(http, host, options)
> except:
> - transfer_service.cancel()
>...
2019 Nov 19
5
[PATCH 0/2] rhv-upload: Complete refactoring
Fix NameError introduced by inocomplete change to extract create_transfer() by
extracting cancel_transfer() function.
Finally extract finallize_transfer() function, dealing with the poorly
documented and over complicated oVirt SDK.
Tested with:
libguestfs-1.40.2-4.fc30.x86_64
nbdkit-1.12.8-1.fc30.x86_64
Tested flows:
- Successful import
- Error in close() - by injecting long sleep in vdsm
2019 Nov 19
0
[PATCH 1/2] rhv-upload: Extract cancel_transfer() function
...transfer_service.cancel()
NameError: name 'transfer_service' is not defined
Thanks: Martin Kletzander
---
v2v/rhv-upload-plugin.py | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/v2v/rhv-upload-plugin.py b/v2v/rhv-upload-plugin.py
index a2d09458..b9b9e967 100644
--- a/v2v/rhv-upload-plugin.py
+++ b/v2v/rhv-upload-plugin.py
@@ -93,7 +93,7 @@ def open(readonly):
options = get_options(http, destination_url)
http = optimize_http(http, host, options)
except:
- transfer_service.cancel()
+ cancel_transfer(connection, tr...