Ansible playbook fails randomly with error "RedHatInsights.insights-client : Check for 'insights-client' RPM availability"

Solution Verified - Updated -

Issue

  • On random hosts Insights Ansible playbook fails with following error intermittently.
 output: "fatal: [satellite.example.com]: FAILED! => changed=false \r\n  module_stderr:
      |-\r\n    Connection to satellite.example.com closed.\r\n  module_stdout:
      |-\r\n    Traceback (most recent call last):\r\n      File \"/local/home/saconmgt/.ansible/tmp/ansible-tmp-1589480089.32-4748-211352415205228/AnsiballZ_yum.py\",
      line 114, in \r\n        _ansiballz_main()\r\n      File \"/local/home/saconmgt/.ansible/tmp/ansible-tmp-1589480089.32-4748-211352415205228/AnsiballZ_yum.py\",
      line 106, in _ansiballz_main\r\n        invoke_module(zipped_mod, temp_path,
      ANSIBALLZ_PARAMS)\r\n      File \"/local/home/saconmgt/.ansible/tmp/ansible-tmp-1589480089.32-4748-211352415205228/AnsiballZ_yum.py\",
      line 49, in invoke_module\r\n        imp.load_module('__main__', mod, module,
      MOD_DESC)\r\n      File \"/tmp/ansible_yum_payload_NgxJ8W/__main__.py\", line
      1657, in \r\n      File \"/tmp/ansible_yum_payload_NgxJ8W/__main__.py\",
      line 1653, in main\r\n      File \"/tmp/ansible_yum_payload_NgxJ8W/__main__.py\",
      line 1589, in run\r\n      File \"/tmp/ansible_yum_payload_NgxJ8W/__main__.py\",
      line 868, in list_stuff\r\n      File \"/tmp/ansible_yum_payload_NgxJ8W/__main__.py\",
      line 809, in pkg_to_dict\r\n    ValueError: need more than 1 value to unpack\r\n
      \ msg: |-\r\n    MODULE FAILURE\r\n    See stdout/stderr for the exact error\r\n
      \ rc: 1\r\n\r\nPLAY RECAP *********************************************************************\r\host.example.com
      : ok=1    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ign

Environment

  • Red Hat Satellite 6.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content