<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, Mar 29, 2018 at 3:07 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">And another problem ...<br>
<br>
nbdkit: python[1]: error: /home/rjones/d/libguestfs/tmp/rhvupload.riX9kG/rhv-upload-plugin.py: callback failed: pwrite<br>
Traceback (most recent call last):<br>
  File "/home/rjones/d/libguestfs/tmp/rhvupload.riX9kG/rhv-upload-plugin.py", line 268, in pwrite<br>
    http.send(buf)<br>
  File "/usr/lib64/python3.6/http/client.py", line 986, in send<br>
    self.sock.sendall(data)<br>
  File "/usr/lib64/python3.6/ssl.py", line 965, in sendall<br>
    v = self.send(data[count:])<br>
  File "/usr/lib64/python3.6/ssl.py", line 935, in send<br>
    return self._sslobj.write(data)<br>
  File "/usr/lib64/python3.6/ssl.py", line 636, in write<br>
    return self._sslobj.write(data)<br>
BrokenPipeError: [Errno 32] Broken pipe<br>
qemu-img: error while writing sector 25343488: Input/output error<br>
<br>
On the server side we see it's something to do with the ticket<br>
expiring:<br>
<br>
2018-03-29 12:59:24,215 INFO    (Thread-18701) [web] START [192.168.0.128] PUT /images/4e8567f6-939d-471f-8ea8-e64d172c0a26<br>
2018-03-29 12:59:24,216 INFO    (Thread-18701) [images] Writing 458752 bytes at offset 12975407104 to /rhev/data-center/mnt/ham0.home.annexia.org:_mnt_ovirt-data/7b4ae32d-bc79-4368-b683-3e0b58b64bf6/images/b4c31e0c-16c0-47d0-a162-9db4357a2dc5/89d70696-2075-4d30-b30e-86465060f677 for ticket 4e8567f6-939d-471f-8ea8-e64d172c0a26<br>
2018-03-29 12:59:24,272 INFO    (Thread-18701) [directio] Operation stats: <Clock(total=0.06, read=0.04, write=0.01, sync=0.00)><br>
2018-03-29 12:59:24,272 INFO    (Thread-18701) [web] FINISH [192.168.0.128] PUT /images/4e8567f6-939d-471f-8ea8-e64d172c0a26: [200] 0 (0.05s)<br>
2018-03-29 12:59:24,296 INFO    (Thread-18702) [web] START [192.168.0.128] PUT /images/4e8567f6-939d-471f-8ea8-e64d172c0a26<br>
2018-03-29 12:59:24,296 WARNING (Thread-18702) [web] ERROR [192.168.0.128] PUT /images/4e8567f6-939d-471f-8ea8-e64d172c0a26: [403] Ticket u'4e8567f6-939d-471f-8ea8-e64d172c0a26' expired (0.00s)<br>
<br>
We had suspected this before but now I think I've proven that<br>
it's a problem.<br>
<br>
I believe the timeout was after 30 minutes (but we were writing<br>
constantly the whole time).  Is this a bug in imageio?<br></blockquote><div><br></div><div>The ticket has expired. Engine is monitoring download/upload activity for tickets</div><div>and extend the ticket when needed. We need complete daemon and engine logs</div><div>to check why the ticket was not extended.</div><div><br></div><div>Nir</div></div></div>