search for: rhvupload

Displaying 20 results from an estimated 57 matches for "rhvupload".

2019 Nov 21
1
[PATCH] rhv-upload: Handle any error in NBD handlers
...## Error in flush() nbdkit: python[1]: debug: pwrite count=65536 offset=6442385408 fua=0     (100.00/100%) nbdkit: python[1]: debug: flush unexpected response from imageio server: could not flush 403: Forbidden b'no flush for you!' nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.bwlJfk/rhv-upload-plugin.py: flush: error: ['Traceback (most recent call last):\n', '  File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.bwlJfk/rhv-upload-plugin.py", line 86, in wrapper\n    return func(h, *args)\n', '  File "/home/nsoffer/src/virt-v2v/tmp/rhvupload...
2019 Nov 19
5
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...>>> On Tue, Nov 19, 2019 at 01:14:23PM +0200, Nir Soffer wrote: >>> >On Tue, Nov 19, 2019 at 11:17 AM Martin Kletzander <mkletzan@redhat.com> wrote: >>> >> >>> >> Traceback (most recent call last): >>> >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 97, in >>> open >>> >> transfer_service.cancel() >>> >> NameError: name 'transfer_service' is not defined >>> > >>> >Does this fix the error for you? >>> > >>> htt...
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
2
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...reachable' > >> after the patches even though I can connect everywhere the upload > plugin is > >> connecting), so I can't look at it right now. Here's the traceback: > >> > >> Traceback (most recent call last): > >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 94, in > open > >> options = get_options(http, destination_url) > >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 575, in > get_options > >> http.request("OPTIONS", url.path) > &...
2019 Nov 19
4
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...PM +0200, Nir Soffer wrote: >> >>> >On Tue, Nov 19, 2019 at 11:17 AM Martin Kletzander < >> mkletzan@redhat.com> wrote: >> >>> >> >> >>> >> Traceback (most recent call last): >> >>> >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 97, in >> >>> open >> >>> >> transfer_service.cancel() >> >>> >> NameError: name 'transfer_service' is not defined >> >>> > >> >>> >Does this fix the erro...
2019 Nov 28
3
[PATCH] rhv-upload: Fix waiting for transfer
...imeout waiting for TRANSFERRING state (cancel required) Reported-by: Xiaodai Wang --- I could easy simulate the case when the system paused the transfer by injecting an error in vdsm, failing transfer initialization. The import fail with: nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last):    File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open     transfer = create_transfer(connection, disk, host)    File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgX...
2019 Dec 10
1
Re: [PATCH] rhv-upload: Fix waiting for transfer
...Wang > > --- > > > > I could easy simulate the case when the system paused the transfer by > > injecting an error in vdsm, failing transfer initialization. > > > > The import fail with: > > > > nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last): > > File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open > > transfer = create_transfer(connection, disk, host) > > File "/home/nsoffer/s...
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...19, 2019 at 01:14:23PM +0200, Nir Soffer wrote: > >>> >On Tue, Nov 19, 2019 at 11:17 AM Martin Kletzander < > mkletzan@redhat.com> wrote: > >>> >> > >>> >> Traceback (most recent call last): > >>> >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 97, in > >>> open > >>> >> transfer_service.cancel() > >>> >> NameError: name 'transfer_service' is not defined > >>> > > >>> >Does this fix the error for you? > >...
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...e: > >> >>> >On Tue, Nov 19, 2019 at 11:17 AM Martin Kletzander < > >> mkletzan@redhat.com> wrote: > >> >>> >> > >> >>> >> Traceback (most recent call last): > >> >>> >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 97, in > >> >>> open > >> >>> >> transfer_service.cancel() > >> >>> >> NameError: name 'transfer_service' is not defined > >> >>> > > >> >>> &...
2019 Nov 19
2
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...;No route to host' changing to 'Network unreachable' > after the patches even though I can connect everywhere the upload plugin is > connecting), so I can't look at it right now. Here's the traceback: > > Traceback (most recent call last): > File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 94, in open > options = get_options(http, destination_url) > File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 575, in get_options > http.request("OPTIONS", url.path) > File "/usr/lib64/python3.7/http...
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
On Tue, Nov 19, 2019 at 02:36:36PM +0100, Martin Kletzander wrote: > nbdkit: python[1]: error: /var/tmp/rhvupload.jngN1W/rhv-upload-plugin.py: close: error: ['Traceback (most recent call last):\n', ' File "/var/tmp/rhvupload.jngN1W/rhv-upload-plugin.py", line 362, in close\n', "FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/rhvupload.jngN1W/diskid.0'\n...
2019 Nov 26
6
[PATCH v2 0/3] rhv-upload: Support import to qcow2 disk
...1-export2 \ -of qcow2 \ -oa sparse \ -oo rhv-cafile=/etc/pki/vdsm/certs/cacert.pem \ -oo rhv-cluster=fc30 \ -oo rhv-direct=true ... [  71.2] Copying disk 1/1 to qemu URI json:{ "file.driver": "nbd", "file.path": "/home/nsoffer/src/virt-v2v/tmp/rhvupload.6EmoNE/nbdkit0.sock", "file.export": "/" } (qcow2)              overlay file: /home/nsoffer/src/virt-v2v/tmp/v2vovl7fefa6.qcow2       overlay device name: sda overlay virtual disk size: 6442450944   overlay source qemu URI: /var/tmp/fedora-30.img     target estimated size:...
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...ngs that bother me ('No route to host' changing to 'Network unreachable' after the patches even though I can connect everywhere the upload plugin is connecting), so I can't look at it right now. Here's the traceback: Traceback (most recent call last): File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 94, in open options = get_options(http, destination_url) File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 575, in get_options http.request("OPTIONS", url.path) File "/usr/lib64/python3.7/http/client.py", li...
2019 Nov 28
0
Re: [PATCH] rhv-upload: Fix waiting for transfer
...ired) > > Reported-by: Xiaodai Wang > --- > > I could easy simulate the case when the system paused the transfer by > injecting an error in vdsm, failing transfer initialization. > > The import fail with: > > nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last): >    File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open >     transfer = create_transfer(connection, disk, host) >    File "/home/nsoffer/src/virt-v2v/tmp...
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...9; changing to 'Network unreachable' >> after the patches even though I can connect everywhere the upload plugin is >> connecting), so I can't look at it right now. Here's the traceback: >> >> Traceback (most recent call last): >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 94, in open >> options = get_options(http, destination_url) >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 575, in get_options >> http.request("OPTIONS", url.path) >> File "/usr/lib6...
2019 Nov 19
0
Re: [PATCH v2 00/11] rvh-upload: Various fixes and cleanups
...>> after the patches even though I can connect everywhere the upload >> plugin is >> >> connecting), so I can't look at it right now. Here's the traceback: >> >> >> >> Traceback (most recent call last): >> >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 94, in >> open >> >> options = get_options(http, destination_url) >> >> File "/var/tmp/rhvupload.Vw0CIU/rhv-upload-plugin.py", line 575, in >> get_options >> >> http.request("OPTIONS&quo...
2018 Mar 26
4
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
On Mon, Mar 26, 2018 at 11:41 AM Richard W.M. Jones <rjones@redhat.com> wrote: > On Sun, Mar 25, 2018 at 08:05:14PM +0000, Nir Soffer wrote: > > When using the sdk, you can select both the image format and sparse, so > you > > can create invalid combinations. oVirt selects the allocation for you. > > > > storage type image format sparse | allocation
2019 Nov 28
2
Re: [PATCH] rhv-upload: Fix waiting for transfer
...Wang > > --- > > > > I could easy simulate the case when the system paused the transfer by > > injecting an error in vdsm, failing transfer initialization. > > > > The import fail with: > > > > nbdkit: python[1]: error: /home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py: open: error: Traceback (most recent call last): > > File "/home/nsoffer/src/virt-v2v/tmp/rhvupload.1DgXyh/rhv-upload-plugin.py", line 109, in open > > transfer = create_transfer(connection, disk, host) > > File "/home/nsoffer/s...
2018 Mar 29
0
Re: [PATCH v7 6/6] v2v: Add -o rhv-upload output mode (RHBZ#1557273).
And another problem ... nbdkit: python[1]: error: /home/rjones/d/libguestfs/tmp/rhvupload.riX9kG/rhv-upload-plugin.py: callback failed: pwrite Traceback (most recent call last): File "/home/rjones/d/libguestfs/tmp/rhvupload.riX9kG/rhv-upload-plugin.py", line 268, in pwrite http.send(buf) File "/usr/lib64/python3.6/http/client.py", line 986, in send self.s...
2019 Nov 18
15
[PATCH v2 00/11] 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(). Tested with virt-v2v master. Changes since v1: - Rebase on merged patches from v1 - Fix regression introduced by "rhv-upload: Fix cleanup after errors" - Remove "rhv-upload: Try to remove disk on timeout" since it cannot succeed - Add more