<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 19, 2017 at 1:53 PM Nir Soffer <<a href="mailto:nsoffer@redhat.com">nsoffer@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Tue, Sep 19, 2017 at 1:27 PM Nathanaël Blanchet <<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When trying to upload a raw/qcow2 image, I get this issue:<br>
<br>
Unable to upload image to disk b9099a35-247d-40e5-9f24-b4c39db2dfff due<br>
to a network error. Make sure ovirt-imageio-proxy service is installed<br>
and configured, and ovirt-engine's certificate is registered as a valid<br>
CA in the browser. The certificate can be fetched from<br>
https://<engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA<br>
<br>
While certificate is already imported into browser, ovirt-imageio-proxy<br>
is started on engine and ovirt-imageio-daemon started on nodes. Ports<br>
are correctly opened on proxy and nodes and hosts are reachable by their<br>
fqdn<br>
<br>
Here are logs on the proxy<br>
<br>
ovirt-imageio-proxy web ERROR 10.34.10.191 - PUT 500 209<br>
(0.00s)#012Traceback (most recent call last):#012 Fil e<br>
"/usr/lib/python2.7/site-packages/ovirt_imageio_common/web.py", line 48,<br>
in __call__#012 resp = self.dispatch(request)#012 File "/usr/lib<br>
/python2.7/site-packages/ovirt_imageio_common/web.py", line 73, in<br>
dispatch#012 return method(*match.groups())#012 File<br>
"/usr/lib/python2.7 /site-packages/ovirt_imageio_proxy/http_helper.py",<br>
line 88, in wrapper#012 ret = func(self, *args)#012 File<br>
"/usr/lib/python2.7/site-packa ges/ovirt_imageio_proxy/http_helper.py",<br>
line 59, in wrapper#012 ret = func(self, *args)#012 File<br>
"/usr/lib/python2.7/site-packages/ovirt_i<br>
mageio_proxy/image_handler.py", line 75, in put#012 return<br>
self.send_data(self.request)#012 File<br>
"/usr/lib/python2.7/site-packages/ovirt_im<br>
ageio_proxy/image_handler.py", line 107, in send_data#012 body =<br>
web.CappedStream(request.body_file,<br>
max_transfer_bytes)#012AttributeError: 'module' object has no<br>
attribute 'CappedStream'<br></blockquote><div><br></div></div></div><div dir="ltr"><div class="gmail_quote"><div>You have an old ovirt-imageio-common package, please update to</div><div>latest versions of ovirt-imageio-* packages and restart the proxy.</div><div><br></div><div>If you can reproduce this issue by installing or upgrading, please</div><div>file a bug, maybe we don't have correct requirements in the proxy</div><div>spec.</div></div></div></blockquote><div><br></div><div>Looking at the spec we do not require a specific version of the ovirt-imageio-common</div><div>package, so updating ovirt-imageio-proxy can cause this issue.</div><div><br></div><div>Please file a bug.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>Nir</div></div></div><div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thank you for your help.<br>
<br>
--<br>
Nathanaël Blanchet<br>
<br>
Supervision réseau<br>
Pôle Infrastrutures Informatiques<br>
<a href="https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&entry=gmail&source=g" target="_blank">227 avenue Professeur-Jean-Louis-Viala</a><br>
34193 MONTPELLIER CEDEX 5<br>
Tél. 33 (0)4 67 54 84 55<br>
Fax 33 (0)4 67 54 84 14<br>
<a href="mailto:blanchet@abes.fr" target="_blank">blanchet@abes.fr</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote></div></div></blockquote></div></div>