Bug 1753889 - [v3 REST API] Remove v3 API support
Summary: [v3 REST API] Remove v3 API support
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: future
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.0
: ---
Assignee: Ori Liel
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On: 1753894 1753896
Blocks: 1399714 1399717
TreeView+ depends on / blocked
 
Reported: 2019-09-20 07:40 UTC by Sandro Bonazzola
Modified: 2023-09-14 05:43 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Removed functionality
Doc Text:
In RHV version 4.4, oVirt Engine REST API v3 has been removed. Update your custom scripts to use REST API v4.
Clone Of:
Environment:
Last Closed: 2020-05-20 20:02:10 UTC
oVirt Team: Infra
Embargoed:
pm-rhel: ovirt-4.4+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 103622 0 master ABANDONED restapi: Remove Support for API Version 3 2020-12-10 13:32:43 UTC
oVirt gerrit 105297 0 master MERGED restapi: Remove Support for API Version 3 2020-12-10 13:32:43 UTC

Description Sandro Bonazzola 2019-09-20 07:40:03 UTC
v3 API has been deprecated in previous releases, we should remove them in 4.4

Comment 1 RHEL Program Management 2019-09-20 07:40:32 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 2 Eyal Edri 2019-09-22 07:17:15 UTC
oVirt system tests are still using SDKV3, so the removal of it from the engine should only be done after all tests are moved to SDKV4,
otherwise, some tests will fail or OST won't work.

Comment 3 Martin Perina 2019-09-23 06:31:25 UTC
(In reply to Eyal Edri from comment #2)
> oVirt system tests are still using SDKV3, so the removal of it from the
> engine should only be done after all tests are moved to SDKV4,
> otherwise, some tests will fail or OST won't work.

This is tracked in https://ovirt-jira.atlassian.net/browse/OST-118

Comment 4 Guilherme Santos 2020-03-19 20:19:46 UTC
Verified on:
ovirt-engine-4.4.0-0.25.master.el8ev.noarch

Steps:
1. Made a few request to v3 api such as # curl -X GET -H 'All-content: true' -H "Accept: application/json" -u admin@internal:<password> --insecure https://<engine-fqdn>/ovirt-engine/api/v3/storagedomains
2. Made a few request to v4 api such as # curl -X GET -H 'All-content: true' -H "Accept: application/json" -u admin@internal:<password> --insecure https://<engine-fqdn>/ovirt-engine/api/v4/storagedomains

Results:
1. Error
2. 200 response returned requested info

Comment 5 Sandro Bonazzola 2020-05-20 20:02:10 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.

Comment 7 Red Hat Bugzilla 2023-09-14 05:43:30 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.