RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2094483 - document minimum supported redis version required by rhel-system-roles
Summary: document minimum supported redis version required by rhel-system-roles
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rhel-system-roles
Version: 7.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rich Megginson
QA Contact: Vaclav Danek
URL:
Whiteboard: role:metrics
Depends On:
Blocks: 2100285 2100286
TreeView+ depends on / blocked
 
Reported: 2022-06-07 17:24 UTC by Suraj Raskar
Modified: 2023-10-06 04:25 UTC (History)
8 users (show)

Fixed In Version: rhel-system-roles-1.21.1-1.el7_9
Doc Type: Bug Fix
Doc Text:
.The `metrics` RHEL System Role README and documentation now clearly specifies supported Redis and Grafana versions on specific versions of RHEL by the role Previously, when trying to use the `metrics` role with unsupported versions of Redis and Grafana on unsupported platforms, the role failed. This update clarifies the documentation about which versions of Redis and Grafana are supported on which versions of RHEL by the role. As a result, you can avoid trying to use unsupported versions of Redis and Grafana on unsupported platforms.
Clone Of:
: 2100285 (view as bug list)
Environment:
Last Closed: 2023-06-07 07:41:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-124565 0 None None None 2022-06-07 17:29:25 UTC

Description Suraj Raskar 2022-06-07 17:24:31 UTC
Description of problem:
-----------------------

One of the cu following the below document to configure the system role which will be executed by the ansible -

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/administration_and_configuration_tasks_using_system_roles_in_rhel_7.9/monitoring-performance-using-rhel-system-roles_administration-and-configuration-tasks-using-system-roles-in-rhel-7.9#using-the-metrics-role-to-monitor-a-fleet-of-machines-centrally-via-your-local-machine_monitoring-performance-using-rhel-system-roles.



Version-Release number of selected component (if applicable):
-------------------------------------------------------------

rhel-system-roles-1.7.3-4.el7_9.noarch


How reproducible:
-----------------

Always


Steps to Reproduce:
-------------------

1. Install below ansible & rhel-system-roles package -

- rhel-system-roles-1.7.3-4.el7_9.noarch
- ansible-2.9.27-1.el7ae.noarch

2. Create the playbook with below content -

---
	- hosts: localhost
	  vars:
	    metrics_graph_service: yes
	    metrics_query_service: yes
	    metrics_retention_days: 10
	    metrics_monitored_hosts:
	      - rhel-t4.hrz.uni-bielefeld.de
	      - uhrz-rhel-t3.hrz.uni-bielefeld.de
	  roles:
	    - rhel-system-roles.metrics


3. Run the playbook as per below -
----------------------------------

# ansible-playbook -vvv -i hosts -u root deploy_rhel_system_role_metrics.yml >/tmp/ansible-output_20220525.txt 2>1


Actual results:
---------------

- Fails with below messages -

"msg": "No package matching 'redis-doc' found available, installed or updated", 
    "rc": 126, 
    "results": [
        "redis-3.2.12-2.el7.x86_64 providing redis is already installed", 
        "No package matching 'redis-doc' found available, installed or updated"


Workaround -
------------

Downgrade the rhel-system-roles to version 1.0-12.el7_8.

Comment 3 Nathan Scott 2022-06-20 04:16:52 UTC
These options are not going to work on RHEL7 using the bits we ship:

	    metrics_graph_service: yes
	    metrics_query_service: yes

because there is no grafana in RHEL7 (first option) and the Redis in RHEL7 is far too old (Redis v3, minimum is v5).

However, the rest of the metrics role being used here is functional.

The downgrade described as a workaround is not really, it doesn't "fix" anything just fails differently (the requested Grafana and Redis packages are still not installed at the end of the process).

I think the only thing we can do here is close this out with WONTFIX since these missing packages will never exist on RHEL7.  Thoughts?
Customers could provide their own yum repo with latest Grafana and Redis (EPEL doesn't have sufficiently recent versions either FWIW).

Comment 4 Rich Megginson 2022-06-21 02:23:54 UTC
(In reply to Nathan Scott from comment #3)
> These options are not going to work on RHEL7 using the bits we ship:
> 
> 	    metrics_graph_service: yes
> 	    metrics_query_service: yes
> 
> because there is no grafana in RHEL7 (first option) and the Redis in RHEL7
> is far too old (Redis v3, minimum is v5).
> 
> However, the rest of the metrics role being used here is functional.
> 
> The downgrade described as a workaround is not really, it doesn't "fix"
> anything just fails differently (the requested Grafana and Redis packages
> are still not installed at the end of the process).
> 
> I think the only thing we can do here is close this out with WONTFIX since
> these missing packages will never exist on RHEL7.  Thoughts?
> Customers could provide their own yum repo with latest Grafana and Redis
> (EPEL doesn't have sufficiently recent versions either FWIW).

We should definitely document in the README and official Red Hat docs that redis is not supported on RHEL7.

But I think we will have to change https://github.com/performancecopilot/ansible-pcp/blob/main/roles/redis/meta/main.yml#L16 to be

  platforms:
    - name: EL
      versions:
        - 8
        - 9

because `all` is misleading.

Comment 5 Nathan Scott 2022-06-21 03:01:38 UTC
OK, thanks Rich - I'll make that change (and a similar one for grafana).

Comment 6 Nathan Scott 2022-06-21 03:07:52 UTC
Actually, it is already documented in the README:
https://github.com/linux-system-roles/metrics#requirements

I'll document it again within the sections describing the
metrics_graph_service and metrics_query_service options.

Comment 7 Joerg K 2022-06-21 06:15:56 UTC
(In reply to Rich Megginson from comment #4)
> We should definitely document in the README and official Red Hat docs that
> redis is not supported on RHEL7.

I agree with that. Some info in chapter 15 would be helpful - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/administration_and_configuration_tasks_using_system_roles_in_rhel_7.9/monitoring-performance-using-rhel-system-roles_administration-and-configuration-tasks-using-system-roles-in-rhel-7.9#introduction-to-the-metrics-role_monitoring-performance-using-rhel-system-roles.

(In reply to Nathan Scott from comment #3)
> The downgrade described as a workaround is not really, it doesn't "fix"
> anything just fails differently (the requested Grafana and Redis packages
> are still not installed at the end of the process).
> 
> I think the only thing we can do here is close this out with WONTFIX since
> these missing packages will never exist on RHEL7.  Thoughts?

When it's documented in official docs as well as the README.md it would suffice and I can understand that Red Hat won't fix it for RHEL 7 which is closer to its EoL than being a new release.

Thanks for being so transparent about it.

Regards,  
Jörg

Comment 8 Nathan Scott 2022-06-27 04:50:14 UTC
Thanks for the feedback Jörg and Rich for opening the official docs BZs.

Docs changes have been merged in the roles upstream now:
https://github.com/performancecopilot/ansible-pcp/pull/38
https://github.com/linux-system-roles/metrics/pull/116

re-assigning to Rich for future RHEL builds pulling these changes in.

Comment 22 errata-xmlrpc 2023-06-07 07:41:17 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 (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:3526

Comment 23 Red Hat Bugzilla 2023-10-06 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.