[ovirt-devel] Re: [EXTERNAL] Re: mismatch in disk size while uploading a disk in chunks using Image Transfer

2018-11-27 Thread Nir Soffer
On Tue, Nov 27, 2018 at 4:01 PM Ranjit DSouza wrote: > Does Image Transfer work without Authorization header? > Yes you don't need this any more. This header was required in old versions of the proxy. If you target 4.2, you don't need it. The authentication system works like this: - you authen

[ovirt-devel] Re: [EXTERNAL] Re: mismatch in disk size while uploading a disk in chunks using Image Transfer

2018-11-27 Thread Ranjit DSouza
Does Image Transfer work without Authorization header? This is one which holds the signed ticket during download/Upload operation. Turns out, due to an issue in our code (which I mentioned below), this was not getting sent all along, yet, the download was successful. No http error codes can be s

[ovirt-devel] Re: [EXTERNAL] Re: mismatch in disk size while uploading a disk in chunks using Image Transfer

2018-11-26 Thread Ranjit DSouza
Nir I think you were spot on with the content-range not getting sent to RHV server. Good catch! Ok so that problem was in our http client code where we were not setting this header in libcurl. Now that we have moved forward, we are seeing that the restored disk actual_size is 4k over the provi

[ovirt-devel] Re: [EXTERNAL] Re: mismatch in disk size while uploading a disk in chunks using Image Transfer

2018-11-26 Thread Nir Soffer
On Mon, Nov 26, 2018 at 4:00 PM Ranjit DSouza wrote: > Nir > > > > I think you were spot on with the content-range not getting sent to RHV > server. Good catch! > > > > Ok so that problem was in our http client code where we were not setting > this header in libcurl. Now that we have moved forwar

[ovirt-devel] Re: [EXTERNAL] Re: mismatch in disk size while uploading a disk in chunks using Image Transfer

2018-11-25 Thread Suchitra Herwadkar
Thanks Nir. Please see me inline.. From: Nir Soffer Date: Saturday, November 24, 2018 at 12:17 AM To: Ranjit DSouza Cc: devel , Pavan Chavva , Suchitra Herwadkar , Abhay Marode Subject: [EXTERNAL] Re: mismatch in disk size while uploading a disk in chunks using Image Transfer On Fri, Nov 23