Bug 1585967
Summary: | Playbooks failed for rhel_subscribe task error | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
Component: | Installer | Assignee: | Michael Gugino <mgugino> |
Status: | CLOSED ERRATA | QA Contact: | Gaoyun Pei <gpei> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.10.0 | CC: | anli, aos-bugs, jokerman, jupierce, mmccomas, qitang, wsun |
Target Milestone: | --- | ||
Target Release: | 3.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-07-30 19:17:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gaoyun Pei
2018-06-05 08:30:55 UTC
With more standalone playbooks tested, found some more playbooks would fail at this task, so raise the Priority and Severity. The following two playbooks would fail on non-master hosts. /usr/share/ansible/openshift-ansible/playbooks/openshift-management/config.yml /usr/share/ansible/openshift-ansible/playbooks/openshift-provisioners/config.yml PLAY [Setup yum repositories for all hosts] ********************************************************************************************************************************* TASK [rhel_subscribe : fail] ************************************************************************************************************************************************ fatal: [ec2-52-90-131-235.compute-1.amazonaws.com]: FAILED! => {"failed": true, "msg": "The conditional check 'ansible_distribution == 'RedHat'' failed. The error was: error while evaluating conditional (ansible_distribution == 'RedHat'): 'ansible_distribution' is undefined\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/roles/rhel_subscribe/tasks/main.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- fail:\n ^ here\n"} skipping: [ec2-34-239-183-87.compute-1.amazonaws.com] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true} fatal: [ec2-34-230-8-200.compute-1.amazonaws.com]: FAILED! => {"failed": true, "msg": "The conditional check 'ansible_distribution == 'RedHat'' failed. The error was: error while evaluating conditional (ansible_distribution == 'RedHat'): 'ansible_distribution' is undefined\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/roles/rhel_subscribe/tasks/main.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- fail:\n ^ here\n"} *** Bug 1585593 has been marked as a duplicate of this bug. *** *** Bug 1588091 has been marked as a duplicate of this bug. *** The PR has been merged to openshift-ansible-3.10.0-0.64.0,please check Tried the above playbooks with openshift-ansible-3.10.0-0.64.0.git.20.48df973.el7.noarch. The step is skipped. PLAY [Setup yum repositories for all hosts] ********************************************************************************************************************************* skipping: no hosts matched Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1816 |