Bug 1641622 - link for cluster's networkfilters returns 404
Summary: link for cluster's networkfilters returns 404
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.2.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.2.8
: ---
Assignee: Ales Musil
QA Contact: msheena
URL:
Whiteboard:
Depends On: 1550987
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-22 11:22 UTC by Ales Musil
Modified: 2019-01-22 10:23 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.2.8.1
Clone Of: 1550987
Environment:
Last Closed: 2019-01-22 10:23:19 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 90489 0 None None None 2018-10-22 11:22:34 UTC
oVirt gerrit 95059 0 ovirt-engine-4.2 MERGED restapi: Fix 404 for network filters 2018-11-05 11:31:14 UTC

Description Ales Musil 2018-10-22 11:22:34 UTC
+++ This bug was initially created as a clone of Bug #1550987 +++

Description of problem:
Network filters for given cluster via API can't be listed. API call returns 404 Not Found.

Version-Release number of selected component (if applicable):
ovirt-engine-restapi-4.2.2.1-0.1.el7.noarch

How reproducible: always


Steps to Reproduce:
1. list cluster via api
# curl -k -u admin@internal:xxx -H "Prefer: persistent-auth" https://engine/ovirt-engine/api/clusters

2. get networkfilters url from <links>, call it
# curl -k -u admin@internal:xxx -H "Prefer: persistent-auth" https://engine/ovirt-engine/api/clusters/b920aa73-8f04-4e13-93aa-79dea09df826/networkfilters


Actual results: 404 Not Found


Expected results: 200 and list of filters returned


Additional info:
no error in engine.log or server.log

--- Additional comment from Ondra Machacek on 2018-03-02 09:06:08 EST ---

Since model version 4.0.7, we forgot to implement it on backend:

 https://github.com/oVirt/ovirt-engine/blob/d77001c60eb7ceff5d3e3a0b187775b2de1d4bf0/backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendClusterResource.java#L115

--- Additional comment from Michael Burman on 2018-08-21 04:15:45 EDT ---

Verified on - 4.3.0-0.0.master.20180819104048.git932969e.el7

Comment 1 msheena 2018-12-03 12:06:03 UTC
Verified on:
4.2.8-0.1.el7ev

Comment 2 Sandro Bonazzola 2019-01-22 10:23:19 UTC
This bugzilla is included in oVirt 4.2.8 release, published on January 22nd 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.2.8 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.


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