Bug 1684681

Summary: [RFE] API Filtering for multiple IP's
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: APIAssignee: Joe Vlcek <jvlcek>
Status: CLOSED ERRATA QA Contact: Parthvi Vala <pvala>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.6CC: dmetzger, jvlcek, mshriver, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:36:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 4 CFME Bot 2019-06-06 19:07:59 UTC
New commit detected on ManageIQ/manageiq-api/master:

https://github.com/ManageIQ/manageiq-api/commit/8b3a4e8397221cf04647007412e74eed0aaa08ff
commit 8b3a4e8397221cf04647007412e74eed0aaa08ff
Author:     Joe VLcek <jvlcek>
AuthorDate: Mon Jun  3 17:26:20 2019 -0400
Commit:     Joe VLcek <jvlcek>
CommitDate: Mon Jun  3 17:26:20 2019 -0400

    Support filtering for multiple IPs

    This commit combines processing for double and single quoted filter_value

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1684681

 lib/api/filter.rb | 7 +-
 1 file changed, 3 insertions(+), 4 deletions(-)

Comment 5 Parthvi Vala 2019-06-12 12:38:57 UTC
FIXED. Verified on 5.11.0.8.20190611155126_01e077e.

Previously the query used to return an empty list of resources if the IP belonged to a VM with multiple IPAdresses, it now returns the VM.

Comment 7 errata-xmlrpc 2019-12-12 13:36:02 UTC
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.

https://access.redhat.com/errata/RHBA-2019:4199