On Tue, Sep 19, 2017 at 1:27 PM Nathanaël Blanchet <blanc...@abes.fr> wrote:

> When trying to upload a raw/qcow2 image, I get this issue:
>
> Unable to upload image to disk b9099a35-247d-40e5-9f24-b4c39db2dfff due
> to a network error. Make sure ovirt-imageio-proxy service is installed
> and configured, and ovirt-engine's certificate is registered as a valid
> CA in the browser. The certificate can be fetched from
> https://
> <engine_url>/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA
>
> While certificate is already imported into browser, ovirt-imageio-proxy
> is started on engine and ovirt-imageio-daemon started on nodes. Ports
> are correctly opened on proxy and nodes and hosts are reachable by their
> fqdn
>
> Here are logs on the proxy
>
> ovirt-imageio-proxy web ERROR 10.34.10.191 - PUT  500 209
> (0.00s)#012Traceback (most recent call last):#012  Fil    e
> "/usr/lib/python2.7/site-packages/ovirt_imageio_common/web.py", line 48,
> in __call__#012    resp = self.dispatch(request)#012 File "/usr/lib
> /python2.7/site-packages/ovirt_imageio_common/web.py", line 73, in
> dispatch#012    return method(*match.groups())#012  File
> "/usr/lib/python2.7 /site-packages/ovirt_imageio_proxy/http_helper.py",
> line 88, in wrapper#012    ret = func(self, *args)#012  File
> "/usr/lib/python2.7/site-packa ges/ovirt_imageio_proxy/http_helper.py",
> line 59, in wrapper#012    ret = func(self, *args)#012  File
> "/usr/lib/python2.7/site-packages/ovirt_i
> mageio_proxy/image_handler.py", line 75, in put#012    return
> self.send_data(self.request)#012  File
> "/usr/lib/python2.7/site-packages/ovirt_im
> ageio_proxy/image_handler.py", line 107, in send_data#012    body =
> web.CappedStream(request.body_file,
> max_transfer_bytes)#012AttributeError:     'module' object has no
> attribute 'CappedStream'
>

You have an old ovirt-imageio-common package, please update to
latest versions of ovirt-imageio-* packages and restart the proxy.

If you can reproduce this issue by installing or upgrading, please
file a bug, maybe we don't have correct requirements in the proxy
spec.

Nir


>
> Thank you for your help.
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> <https://maps.google.com/?q=227+avenue+Professeur-Jean-Louis-Viala&entry=gmail&source=g>
> 34193 MONTPELLIER CEDEX 5
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14
> blanc...@abes.fr
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to