Hi All,
I am trying to install OpenShift Origin V3 (following this) using ansible and it fails with following error:
TASK: [openshift_facts | Ensure PyYaml is installed] **************************
ok: [192.168.144.132] => (item=PyYAML)
TASK: [openshift_facts | Gather Cluster facts] ********************************
ok: [192.168.144.132]
TASK: [openshift_repos | assert ] *********************************************
failed: [192.168.144.132] => {“assertion”: “openshift.common.deployment_type in known_openshift_deployment_types”, “evaluated_to”: false, “failed”: true}
FATAL: all hosts have already failed – aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/suryaveer/config.retry
192.168.144.132 : ok=20 changed=2 unreachable=0 failed=1
localhost : ok=8 changed=0 unreachable=0 failed=0
Below is my ansible host file:
[OSEv3:children"]
masters
nodes
[OSEv3:vars]
ansible_ssh_user=centos
ansible_sudo=true
#ansible_ssh_user=root
product_type=openshift
deployment_type=origin
[masters]
192.168.144.132 openshift_public_hostname=master openshift_ip=10.0.1.163 openshift_public_ip=192.168.144.132
[nodes]
192.168.144.128 openshift_public_hostname=node1 openshift_ip=10.0.1.164 openshift_public_ip=192.168.144.128 openshift_node_labels=“{‘region’: ‘primary’, ‘zone’: ‘east’}”
192.168.144.129 openshift_public_hostname=node2 openshift_ip=10.0.1.165 openshift_public_ip=192.168.144.129 openshift_node_labels=“{‘region’: ‘primary’, ‘zone’: ‘west’}”
I found one post on github for similar error but was inconclusive.
Thanks