Bug 2209200
| Summary: | rhc system role does not apply Insights tags | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Benjamin Blasco <bblasco> | |
| Component: | rhel-system-roles | Assignee: | Rich Megginson <rmeggins> | |
| Status: | CLOSED ERRATA | QA Contact: | Jakub Haruda <jharuda> | |
| Severity: | low | Docs Contact: | Sagar Dubewar <sdubewar> | |
| Priority: | high | |||
| Version: | 9.2 | CC: | bblasco, briasmit, cdonnell, djez, fkrska, jharuda, lmanasko, pkettman, ptoscano, rmeggins, spetrosi, vdanek | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | 9.3 | Flags: | fkrska:
needinfo+
pm-rhel: mirror+ |
|
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | role:rhc | |||
| Fixed In Version: | rhel-system-roles-1.22.0-0.7.el9 | Doc Type: | Bug Fix | |
| Doc Text: |
.Insights tags created by using the `rhc` role are now applied correctly
Previously, when you created Insights tags by using the `rhc` role, tags were not stored in the correct file. Consequently, tags were not sent to Insights and as a result they were not applied to the systems in the Insights inventory.
With this fix, tags are stored correctly and applied to the systems present in the Insights inventory.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2209441 2214284 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-07 08:29:47 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2209441, 2214284 | |||
|
Description
Benjamin Blasco
2023-05-23 05:16:30 UTC
Also worth noting that there's an indentation discrepancy between the documentation on the tags in the following two locations: https://github.com/linux-system-roles/rhc vs. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/automating_system_administration_by_using_rhel_system_roles/index#configuring-insights-tags-using-rhc-system-role_using-the-rhc-system-role-to-register-the-system I have found the issue. The role is templating out a file called tags.yml when insights expects it to be tags.yaml (YAML not YML). The code that does this can be found on line 15 here: https://github.com/linux-system-roles/rhc/blob/main/tasks/insights-client.yml (In reply to Benjamin Blasco from comment #2) > I have found the issue. > > The role is templating out a file called tags.yml when insights expects it > to be tags.yaml (YAML not YML). The code that does this can be found on > line 15 here: > https://github.com/linux-system-roles/rhc/blob/main/tasks/insights-client.yml d'oh, thanks! hopefully easy fix for this: https://github.com/linux-system-roles/rhc/pull/102 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 (rhel-system-roles bug fix and enhancement update), 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/RHEA-2023:6390 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |