Red Hat Bugzilla – Bug 1277447
libgovirt needs to access /ovirt-engine/api/ rather than /api/
Last modified: 2016-05-10 17:18:54 EDT
When opening a .vv file from a RHEV 3.6+ instance, the .vv file should have an [ovirt] section with several items including a jsessionid cookie to use to authenticate with the instance. However, as described in https://bugzilla.redhat.com/show_bug.cgi?id=1276083#c3 , the jsessionid cookie to use is different for /ovirt-engine/api and /api. The jsessionid value in the .vv file is meant for /ovirt-engine/api, but RHEL6 libgovirt tries to use /api, which means authentication to the REST API is not going to work in this scenario (RHEL6 client).
Changing libgovirt so that it uses /ovirt-engine/api (as in RHEL7) seems to be the easiest/cleanest way of fixing that. Other options involve adding more fields to the .vv file.
(In reply to Christophe Fergeau from comment #0)
> Changing libgovirt so that it uses /ovirt-engine/api (as in RHEL7)
Moving to POST as this is already done upstream.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.