Upgrading Red Hat OpenShift Container Platform to version 3.10 fails with error "error while evaluating conditional (item.kind == 'HTPasswdPasswordIdentityProvider'): 'dict object' has no attribute 'kind'"
Issue
-
Upgrading the OCP control plane to version 3.10 via the
upgrade_control_plane.yml
Ansible playbook fails with the following error:1. Hosts: master.example.com Play: Upgrade master Task: Install httpd-tools if needed Message: The conditional check 'item.kind == 'HTPasswdPasswordIdentityProvider'' failed. The error was: error while evaluating conditional (item.kind == 'HTPasswdPasswordIdentityProvider'): 'dict object' has no attribute 'kind' The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_control_plane/tasks/htpass_provider.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- - name: Install httpd-tools if needed ^ here
Environment
- Red Hat OpenShift Container Platform (OCP)
- 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.