Displaying 5 results from an estimated 5 matches for "cancel_transfer".
2019 Nov 21
1
Re: [PATCH 1/2] rhv-upload: Extract cancel_transfer() function
On Wed, Nov 20, 2019 at 1:19 AM Nir Soffer <nirsof@gmail.com> wrote:
>
> Extract a cancel_transfer() function, so we can cancel a transfer in
> plugin handlers without keeping the transfer_service around.
>
> Fixes a NameError when starting a transfer fails:
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):...
2019 Nov 19
0
[PATCH 1/2] rhv-upload: Extract cancel_transfer() function
Extract a cancel_transfer() function, so we can cancel a transfer in
plugin handlers without keeping the transfer_service around.
Fixes a NameError when starting a transfer fails:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/tmp/rhvup...
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 verifactio...
2020 Jan 10
7
[v2v PATCH 0/6] Various Python pycodestyle fixes
Fixes the majority of the pycodestyle issues in the Python scripts, and
fix the existing test-v2v-python-syntax.sh to use pycodestyle to
actually perform style checks.
Pino Toscano (6):
PEP 8: adapt whitespaces in lines
PEP 8: move imports at the top
PEP 8: adapt empty lines
tests: find all the Python scripts for syntax checks
-o rhv-upload: remove unused Python imports
Revamp check
2020 Jul 08
2
[PATCH] RFC: rhv-upload-plugin: Use imageio client
...t.
+ # TODO: How to handle params['rhv_direct']?
+ client = ImageioClient(
+ transfer.transfer_url,
+ cafile=params['rhv_cafile'],
+ secure=not params['insecure'],
+ proxy_url=transfer.proxy_url)
except:
cancel_transfer(connection, transfer)
raise
- debug("imageio features: flush=%(can_flush)r trim=%(can_trim)r "
- "zero=%(can_zero)r unix_socket=%(unix_socket)r"
- % options)
-
# Save everything we need to make requests in the handle.
return {
- &...