-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.6
-
No
-
Important
-
rhel-pt-pcp
-
ssg_platform_tools
-
21
-
2
-
QE ack
-
False
-
False
-
-
No
-
Red Hat Enterprise Linux
-
None
-
None
-
Automated
-
Unspecified Release Note Type - Unknown
-
-
All
-
None
What were you trying to do that didn't work?
ansible-pcp can not provision hosts (managed machines) running Fedora > 40 or rhel-10 (centos-stream-10) due to missing redis service.
What is the impact of this issue to you?
Playbooks using redis role fail and can not be used.
Please provide the package NVR for which the bug is seen:
ansible-pcp-2.3.0-1.el9
How reproducible is this bug?:
Always when a managed host is running a distro without redis service available
Steps to reproduce
- Run i.e. tests_verify_auth.yml playbook from the ansible-pcp testsuite against a managed node running rhel-10.
Expected results
The managed host is provisioned
Actual results
The playbook fails with the following error message:
failed: [10.89.0.2] (item=redis) => {"ansible_loop_var": "item", "changed": false, "item": "redis", "msg": "Could not find the requested service redis: host"} skipping: [10.89.0.2] => (item=grafana-server) => {"ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False"}
Note
I believe the issue is fixed in the latest upstream release of ansible-pcp ( ansible-pcp-2.4.1 ) and upgrade to this version will solve this issue.