Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1662992

Summary: When running openshift_certificate_expiry playbook get "The conditional check 'not openshift_is_atomic | bool' failed"
Product: OpenShift Container Platform Reporter: emahoney
Component: InstallerAssignee: Scott Dodson <sdodson>
Installer sub component: openshift-ansible QA Contact: Johnny Liu <jialiu>
Status: CLOSED DUPLICATE Docs Contact:
Severity: low    
Priority: unspecified    
Version: 3.11.0   
Target Milestone: ---   
Target Release: ---   
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: 2019-01-03 14:43:55 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 emahoney 2019-01-02 16:38:35 UTC
Description of problem:
When running the openshift_certificate_expiry playbook after updating to v3.11.43, the playbook fails with the below errors on all hosts:

~~~
TASK [openshift_certificate_expiry : Ensure python dateutil library is present] ****************************************************
task path: /usr/share/ansible/openshift-ansible/roles/openshift_certificate_expiry/tasks/main.yml:2
fatal: [hostc]: FAILED! => {
    "msg": "The conditional check 'not openshift_is_atomic | bool' failed. The error was: error while evaluating conditional (not openshift_is_atomic | bool): 'openshift_is_atomic' is undefined\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_certificate_expiry/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- name: Ensure python dateutil library is present\n  ^ here\n"
}
~~~

Looks very similar to this 3.10 BZ: 
https://bugzilla.redhat.com/show_bug.cgi?id=1563132

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

[user@hostc ~]$ oc version
oc v3.11.43
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://master.lab.example.com:8443
openshift v3.11.43
kubernetes v1.11.0+d4cacc0
[user@hostc ~]$ rpm -q openshift-ansible
openshift-ansible-3.11.43-1.git.0.fa69a02.el7.noarch


How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results: Will attach playbook output. 
Please include the entire output from the last TASK line through the end of output if an error is generated

Expected results: Playbook runs without error

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 2 Scott Dodson 2019-01-03 14:43:55 UTC

*** This bug has been marked as a duplicate of bug 1655183 ***