After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767724 - Add support for oVirt 4.0 REST API
Add support for oVirt 4.0 REST API
Status: RESOLVED OBSOLETE
Product: libgovirt
Classification: Other
Component: general
0.3.x
Other Linux
: Normal normal
: ---
Assigned To: libgovirt maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-06-16 09:41 UTC by Christophe Fergeau
Modified: 2021-05-25 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christophe Fergeau 2016-06-16 09:41:46 UTC
There were some changes in oVirt 4.0 REST API. This is documented at https://github.com/oVirt/ovirt-engine/tree/master/backend/manager/modules/restapi

For now, libgovirt works around this by sending a Version: 3 header with each requests but support for this might go away with oVirt 4.1

Known issues right now:
- parsing of 'state' nodes (both for VMs and storage domains)
- I think I noticed some issue with the 'ticket' action
Comment 1 Marco 2016-07-25 14:01:22 UTC
Hello Christophe, 

we are currently trying to connect with gnome-boxes to our oVirt 4.0 environment via libgovirt. 

We are getting always the following output on the terminal when trying to connect to the ovirt engine via boxes:

** (gnome-boxes:14248): WARNING **: Using a file (/usr/share/gnome-boxes/gnome-boxes-logos-db.xml) as a database location is deprecated, use a directory instead

(gnome-boxes:14248): libgovirt-WARNING **: Passing a full http:// or https:// URI to ovirt_proxy_new() is deprecated


Is this related to your initial comment about the REST Api of oVirt 4.0 ? 
How can we workaround this? 

thanks and best regards
Marco
Comment 2 Christophe Fergeau 2016-07-25 14:24:44 UTC
These are just warnings, REST_PROXY=debug gnome-boxes should give more details as to what's going on. My guess would be invalid certificates.
Comment 3 Marco 2016-07-25 14:49:01 UTC
Hello Christophe, 
thanks for the quick answer. 

With this command we are not getting more details on the issue. 
Any other ideas how to debug a little bit more?
Comment 4 Christophe Fergeau 2016-07-25 14:53:30 UTC
Arg, sorry, I meant REST_DEBUG=proxy /o\
This bug is definitely not the right place to investigate the issue you are having though :(
Comment 5 Marco 2016-07-25 15:08:15 UTC
ok does still not work. 
Wrote you a private message to your mail address.
Comment 6 André Klapper 2021-05-25 11:23:42 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new enhancement request ticket at
  https://gitlab.gnome.org/GNOME/libgovirt/-/issues/

Thank you for your understanding and your help.