Bug 1824680
Summary: | Host upgrade failed on ovirt-host-deploy-vnc-certificates : Create cert dir using python2 instead of python3 | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Petr Matyáš <pmatyas> |
Component: | ovirt-host-deploy-ansible | Assignee: | Dana <delfassy> |
Status: | CLOSED NOTABUG | QA Contact: | Lucie Leistnerova <lleistne> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 4.4.0 | CC: | bugs, michal.skrivanek, mperina |
Target Milestone: | ovirt-4.4.1 | Flags: | pm-rhel:
ovirt-4.4+
|
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-17 05:55:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1819248 | ||
Bug Blocks: |
Description
Petr Matyáš
2020-04-16 11:54:22 UTC
(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 |