Description of problem: When upgrading a host the action fails on creating of certificate dirs. "stdout" : "fatal: [host]: FAILED! => {\"changed\": false, \"module_stderr\": \"Shared connection to host closed.\\r\\n\", \"module_stdout\": \"/bin/sh: /usr/bin/python2: No such file or directory\\r\\n\", \"msg\": \"The module failed to execute correctly, you probably need to set the interpreter.\\nSee stdout/stderr for the exact error\", \"rc\": 127}", Version-Release number of selected component (if applicable): ovirt-engine-4.4.0-0.32.master.el8ev.noarch How reproducible: actually not sure, another host succeed without problems Steps to Reproduce: 1. have a host with upgrades available 2. upgrade the host 3. Actual results: fails on cert dir creation Expected results: upgrade successful Additional info:
(In reply to Petr Matyáš from comment #0) > Description of problem: > When upgrading a host the action fails on creating of certificate dirs. > "stdout" : "fatal: [host]: FAILED! => {\"changed\": false, > \"module_stderr\": \"Shared connection to host closed.\\r\\n\", > \"module_stdout\": \"/bin/sh: /usr/bin/python2: No such file or > directory\\r\\n\", \"msg\": \"The module failed to execute correctly, you > probably need to set the interpreter.\\nSee stdout/stderr for the exact > error\", \"rc\": 127}", > > > Version-Release number of selected component (if applicable): > ovirt-engine-4.4.0-0.32.master.el8ev.noarch > > How reproducible: > actually not sure, another host succeed without problems Were boths hosts EL8 or one of them was EL7?
All hosts are regular RHEL 8, same HW even. The one that failed was the original host in this HE setup.
Was this vm installed different somehow? Its parameters look strange- "distribution": "OtherLinux", "distribution_major_version": "NA", "distribution_release": "NA", "distribution_version": "NA", And the even more interesting thing is, that 'OtherLinux' doesn't even exist in the OS_FAMILY_MAP: https://github.com/ansible/ansible/blob/f58780fb28341fb07cd8fe188c983097574fb436/lib/ansible/module_utils/facts/system/distribution.py#L413
/etc/redhat-release is empty. Dunno what happened to it, but it's not a valid change, system is failing to recognize OS. It's like that since at least: 2020-04-02T15:23:04Z CRITICAL Detection of Platform Module failed: No valid Platform ID detected We don't support unknown OSes