<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Aug 21, 2018 at 4:03 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Aug 21, 2018 at 03:55:50PM +0300, Nir Soffer wrote:<br>
> On Tue, Aug 21, 2018 at 2:49 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>><br>
> wrote:<br>
> > It seems more likely that whatever version of nbdkit being used does<br>
> > not include:<br>
> ><br>
> ><br>
> > <a href="https://github.com/libguestfs/nbdkit/commit/72c0d64a47db642cafa89884f2ee554bd0b8e822" rel="noreferrer" target="_blank">https://github.com/libguestfs/nbdkit/commit/72c0d64a47db642cafa89884f2ee554bd0b8e822</a><br>
> ><br>
> > This has now been backported to the 1.2 & 1.4 branches as well.  Do<br>
> > you know what version (of nbdkit) they are testing with?<br>
> ><br>
> <br>
> Tested with:<br>
> $ rpm -qa | grep nbdkit<br>
> nbdkit-plugin-python3-1.4.2-1.fc28.x86_64<br>
> nbdkit-1.4.2-1.fc28.x86_64<br>
> nbdkit-plugin-python-common-1.4.2-1.fc28.x86_64<br>
<br>
I think if you upgrade to 1.4.3 (which is still in testing in Fedora)<br>
you should get full tracebacks.<br>
<br>
<a href="https://bodhi.fedoraproject.org/updates/FEDORA-2018-92ee422873" rel="noreferrer" target="_blank">https://bodhi.fedoraproject.org/updates/FEDORA-2018-92ee422873</a><br>
(see "python" here: <a href="https://github.com/libguestfs/nbdkit/commits/stable-1.4" rel="noreferrer" target="_blank">https://github.com/libguestfs/nbdkit/commits/stable-1.4</a> )<br></blockquote><div><br></div><div>After upgrading from update-testing repo:</div><div><br></div><div><div>$ rpm -qa | grep nbdkit</div><div>nbdkit-plugin-python3-1.4.3-1.fc28.x86_64</div><div>nbdkit-plugin-python-common-1.4.3-1.fc28.x86_64</div><div>nbdkit-1.4.3-1.fc28.x86_64</div></div><div><br></div><div>Here is output when simulating expired ticket in verbose mode.</div><div><br></div><div><div>unexpected response from imageio server:</div><div>could not write sector offset 1897857024 size 65536</div><div>403: Forbidden</div><div>b'{"explanation": "Access was denied to this resource.", "code": 403, "detail": "Ticket u\'acdad591-f29e-4d85-bf41-046e250aa015\' expired", "title": "Forbidden"}'</div><div>nbdkit: python[1]: error: /home/nsoffer/src/libguestfs/tmp/v2v.ayEM8r/rhv-upload-plugin.py: pwrite: error: ['Traceback (most recent call last):\n', '  File "/home/nsoffer/src/libguestfs/tmp/v2v.ayEM8r/rhv-upload-plugin.py", line 373, in pwrite\n    (offset, count))\n', '  File "/home/nsoffer/src/libguestfs/tmp/v2v.ayEM8r/rhv-upload-plugin.py", line 321, in request_failed\n    raise RuntimeError("%s: %d %s: %r" % (msg, status, reason, body[:200]))\n', 'RuntimeError: could not write sector offset 1897857024 size 65536: 403 Forbidden: b\'{"explanation": "Access was denied to this resource.", "code": 403, "detail": "Ticket u\\\'acdad591-f29e-4d85-bf41-046e250aa015\\\' expired", "title": "Forbidden"}\'\n']</div><div>nbdkit: python[1]: debug: sending error reply: Input/output error</div><div>qemu-img: error while writing sector 3706752: Input/output error</div></div><div><br></div><div>Nir</div></div></div>