Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1641622

Summary: link for cluster's networkfilters returns 404
Product: [oVirt] ovirt-engine Reporter: Ales Musil <amusil>
Component: RestAPIAssignee: Ales Musil <amusil>
Status: CLOSED CURRENTRELEASE QA Contact: msheena
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.2CC: bugs, lleistne, mburman
Target Milestone: ovirt-4.2.8Keywords: Automation
Target Release: ---Flags: rule-engine: ovirt-4.2+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.8.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1550987 Environment:
Last Closed: 2019-01-22 10:23:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1550987    
Bug Blocks:    

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.