Description of problem: In openshift-ansible/inventory/byo/hosts.example, the following lines: # Native high availbility cluster method with optional load balancer. # If no lb group is defined installer assumes that a load balancer has # been preconfigured. For installation the value of # openshift_master_cluster_hostname must resolve to the load balancer # or to one or all of the masters defined in the inventory if no load # balancer is present. #openshift_master_cluster_method=native #openshift_master_cluster_hostname=openshift-ansible.test.example.com #openshift_master_cluster_public_hostname=openshift-ansible.test.example.com If user is following these lines to install native master ha, would encounter such error: TASK: [openshift_master | fail ] ********************************************** failed: [test61.cluster.local] => {"failed": true} msg: openshift_master_cluster_method must be set to either 'native' or 'pacemaker' for multi-master installations FATAL: all hosts have already failed -- aborting According to the above error message, user do not know where is wrong. Dig into code, found need add one more parameter in ansilbe host file: openshift_master_ha=True Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I think this has been fixed now. Today I installed an native HA environment and openshift_master_ha=True was not needed.
Verified this bug with latest openshift-ansible, and PASS. Now no need to add "openshift_master_ha=True" in ansible host file when install native ha env.