Master scale up fails with error dict object has no attribute master.

Solution Verified - Updated -

Issue

  • When scaling up new master node, the scaleup.yml playbook is failing at below task :

    TASK [openshift_ca : Generate the loopback master client config] *****************************************************************************************************************************************************************************
    task path: /usr/share/ansible/openshift-ansible/roles/openshift_ca/tasks/main.yml:201
    fatal: [newmaster.example.com]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'master'\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_ca/tasks/main.yml': line 201, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n    register: openshift_ca_loopback_tmpdir\n  - name: Generate the loopback master client config\n    ^ here\n"}
    

Environment

  • Red Hat OpenShift Container Platform 3.11

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