Migration of etcd from v2 to v3 fails
Issue
- While migrating
etcdfromv2tov3playbook fails at following task with error:
TASK [Validate openshift_hostname when defined] ************************************************************************************************************************
fatal: [xyz.example.com]: FAILED! => {"msg": "The conditional check 'lookupip.stdout != '127.0.0.1'' failed. The error was: error while evaluating conditional (lookupip.stdout != '127.0.0.1'): 'dict object' has no attribute 'stdout'\n\nThe error appears to have been in '/etc/ansible/openshift-ansible-3.7/playbooks/common/openshift-cluster/validate_hostnames.yml': line 13, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Validate openshift_hostname when defined\n ^ here\n"}
Environment
- OpenShift Container Platform
- 3.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.