Bug 1753889

Summary: [v3 REST API] Remove v3 API support
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: RestAPIAssignee: Ori Liel <oliel>
Status: CLOSED CURRENTRELEASE QA Contact: Guilherme Santos <gdeolive>
Severity: medium Docs Contact:
Priority: medium    
Version: futureCC: amarchuk, bugs, dfodor, eedri, grosenth, mperina, oliel, rdlugyhe
Target Milestone: ovirt-4.4.0Flags: pm-rhel: ovirt-4.4+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:02:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1753894, 1753896    
Bug Blocks: 1399714, 1399717    

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