Bug 1992495
| Summary: | [RFE] add more search options on the base of status information | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Stefan Nemeth <snemeth> |
| Component: | Search | Assignee: | Marek Hulan <mhulan> |
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.10.0 | CC: | afeferku, apatel, aruzicka, kgaikwad, mhulan |
| Target Milestone: | 6.15.0 | Keywords: | FutureFeature |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | foreman-3.7.0, foreman_rh_cloud-7.0.45 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-04-23 17:10:50 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
Stefan Nemeth
2021-08-11 08:50:56 UTC
Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team. Thank you. Upon review of our valid but aging backlog the Satellite Team has concluded that this Bugzilla does not meet the criteria for a resolution in the near term, and are planning to close in a month. This message may be a repeat of a previous update and the bug is again being considered to be closed. If you have any concerns about this, please contact your Red Hat Account team. Thank you. This request shouldn't get closed. Few updates that we recently clarified 1) some of the states are searcheable, but not all, we should make sure all of them are searchable, e.g. "errata_status = security_needed" or "subscription_status = valid" or "trace_status = reboot_needed" works today, but insights_status definition does not exist 2) searching by facts is already possible today, e.g. "reported.sockets > 2" "reported.cores = 4" facts.processor0 = "Intel Core Processor (Broadwell, no TSX)" but we have seen that more data should be added to the reported_data facet and should be searchable Based on the list above, we have identified two main categories of the data that are missing. The next steps: 1) go through all statuses (including plugins) and add missing definitions 2) go through all reported data and add missing search definitions Regrading 1) the only missing statuses found were for insights, here's the list of all available status searching terms errata_status addon_status role_status sla_status purpose_status usage_status subscription_status trace_status compliance_status execution_status configuration_status.$metric** build_status insights_client_report_status* insights_inventory_sync_status* * pending https://github.com/theforeman/foreman_rh_cloud/pull/790 ** configuration status alias introduced by https://github.com/theforeman/foreman/pull/9546, currently it's available only as "status.$metric" where $metric is e.g. applied, failed. One special metric is "interesting", user can find all hosts with events in the last report by "status.interesting = true" Besides things that can be found through facts, we added more things to "reported data", which is based on all fact sources and is easier to search on. Currently this list is reported.boot_time reported.cores reported.disk_total reported.kernel_version reported.ram reported.sockets reported.virtual reported.bios_version* reported.bios_release_date* reported.bios_vendor* * pending https://projects.theforeman.org/issues/35845 From the explicit list we also added pxe_loader in https://projects.theforeman.org/issues/35846 Katello Agent is deprecated so we probably won't introduce that. The Traces status should be searchable through trace_status. For hosts not having any trace status, the following search syntax will work "null? trace_status". Upstream bug assigned to mhulan Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35845 has been resolved. Verified in Satellite 6.15 snap 8: satellite-6.15.0-2.el8sat.noarch foreman-3.9.1.5-1.el8sat.noarch rubygem-foreman_rh_cloud-9.0.55-1.el8sat.noarch New search parameters: 'configuration_status' alias for 'status' reported.bios_release_date reported.bios_vendor reported.bios_version insights_client_report_status insights_inventory_sync_status Search examples: configuration_status.enabled = true # equals to 'status.enabled = true' reported.bios_release_date ~ 2014 # note: the date field is handled as a plain-text, it is not possible to do a time-based search like 'reported.bios_release_date >= 01/01/2014' reported.bios_vendor = SeaBIOS # the '=' operator is case sensitive. for case-insensitive search use the '~' operator reported.bios_version ~ 1.14 insights_client_report_status = reporting insights_inventory_sync_status = disconnect 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.15.0 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-2024:2010 |