Bug 1651297
Summary: | Very slow query when using facts on user roles as filters | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Karl Abbott <kabbott> |
Component: | Fact | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Radovan Drazny <rdrazny> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.3.4 | CC: | andrew.schofield, aruzicka, baitken, inecas, kabbott, mhulan, pmoravec, tbrisker |
Target Milestone: | 6.8.0 | Keywords: | Performance, Triaged |
Target Release: | Unused | Flags: | kabbott:
needinfo-
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | foreman-1.23 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 12:58:03 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: |
Description
Karl Abbott
2018-11-19 16:12:27 UTC
Imho this is a duplicate of: https://bugzilla.redhat.com/show_bug.cgi?id=1511254 that is linked to: https://projects.theforeman.org/issues/21625 that explicitly speaks about slow query (and also duplicate results). Worth to close? Pavel, I'm going to ask Blair on that one, but from my recollection, we're probably good to close this one and continue work in 1511254. Cheers, Karl Linking support cases from the closed duplicated BZ and making this BZ public (havent found nothing secret in either public comment). Reviewing the upstream issue and this bug description, they dont match - unlinking. Tested on Sat 6.8 Snap 13.1 using the reproducer from the original record. Using a Satellite with more than 30k hosts registered. An user has been created with a custom user role with a host filter using facts enabled. The initial listing of filtered hosts took about four seconds, browsing the list was quick and without issues. 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 (Important: Satellite 6.8 release), 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-2020:4366 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |