Bug 1591422
| Summary: | Proxy Error when performing advanced search | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
| Component: | Appliance | Assignee: | Nick LaMuro <nlamuro> |
| Status: | CLOSED ERRATA | QA Contact: | Matouš Mojžíš <mmojzis> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.9.0 | CC: | abellott, jrafanie, nlamuro, obarenbo, rovalent, rspagnol, smallamp |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.9.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | 5.9.3.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1588082 | Environment: | |
| Last Closed: | 2018-07-12 13:16:01 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1588082 | ||
| Bug Blocks: | |||
|
Comment 2
CFME Bot
2018-06-14 17:06:26 UTC
To replicate this bug, you can run the following script to populate a fresh database with data to replicate the issue:
https://gist.github.com/NickLaMuro/1795ac3a02b7db76f770aa1699d3e1ab
To run script, you can do the following in the project dir on an appliance:
$ bin/rails r bz_1588082_db_replication_script.rb
* * *
To replicate the issue, the easiest way is through the UI:
1. Go to `Compute` > `Infrastructure` > `VirtualMachines`
2. Select "All VMs" from the tree on the left
3. Click the down arrow to the right of the search box
4. Create the following query (replace "XXX.XXX.XXX" with something that makes sense for your environment)
Virtual Machine : IP Addresses INCLUDES ANY ['XXX.XXX.XXX']
The script will create random IPs resulting between the 10.XXX.XXX.XXX and 11.XXX.XXX.XXX, with around 25% not having any IP at all.
You can start with just "10." in the search criteria and should end up with around 35% of your records in the totals.
Verified in 5.9.3.2. In older versions performing advanced search for filtering IP addresses in big environments take too long and also returns no results. In 5.9.3.2 it returns all the VMs containing the pattern and also rendering the view is fast. 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/RHSA-2018:2184 |