Migration of etcd from v2 to v3 fails

Solution Unverified - Updated -

Issue

  • While migrating etcd from v2 to v3 playbook 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content