Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-135586

ansible-pcp fails to provision redis

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.8
    • ansible-pcp
    • Yes
    • None
    • rhel-pt-pcp
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Run /usr/share/ansible/collections/ansible_collections/redhat/rhel_metrics//tests/tests_verify_auth.yml test and it will fail.

      What is the impact of this issue to you?

      ansible-pcp does not correctly provision redis as a backend for the PCP

      Please provide the package NVR for which the bug is seen:

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1.  Run /usr/share/ansible/collections/ansible_collections/redhat/rhel_metrics//tests/tests_verify_auth.yml test

      Expected results

      The test passes without any issue

      Actual results

      The test is failing as it can not find the redis instance

      skipping: [10.89.1.2] => (item=redis)  => {"ansible_loop_var": "item", "changed": false, "item": "redis", "skip_reason": "Conditional result was False"}
      skipping: [10.89.1.2] => (item=grafana-server)  => {"ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False"}
      failed: [10.89.2.2] (item=redis) => {"ansible_loop_var": "item", "changed": false, "item": "redis", "msg": "Could not find the requested service redis: host"}
      skipping: [10.89.2.2] => (item=grafana-server)  => {"ansible_loop_var": "item", "changed": false, "item": "grafana-server", "skip_reason": "Conditional result was False"}
      

              pcp-maint pcp-maint
              jkurik@redhat.com Jan Kurik
              pcp-maint pcp-maint
              Jan Kurik Jan Kurik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: