Upgrade fails in play "Check if temp file exists on any masters" for OCP 3
Issue
-
When applying an Errata to the node fails in the following play:
Play: Check if temp file exists on any masters Task: stat Message: The conditional check ''stdout' in hostvars.localhost.mktemp' failed. The error was: error while evaluating conditional ('stdout' in hostvars.localhost.mktemp): Unable to look up a name or access an attribute in template string ({% if 'stdout' in hostvars.localhost.mktemp %} True {% else %} False {% endif %}). Make sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable The error appears to have been in '/usr/share/ansible/openshift-ansible/playbooks/openshift-master/private/validate_restart.yml': line 26, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - stat: ^ here
Environment
- Red Hat OpenShift Container Platform (OCP) 3.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.