I try to add nodes to our v1.2 cluster:
I added the new_nodes section to my /etc/ansible/host

[OSEv3:children]
masters
nodes
etcd

# Set variables common for all OSEv3 hosts
[OSEv3:vars]
ansible_ssh_user=root
deployment_type=origin
openshift_pkg_version=-1.2.0-4.el7


# uncomment the following to enable htpasswd authentication; defaults to 
DenyAllPasswordIdentityProvider
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 
'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': 
'/etc/origin/master/htpasswd'}]


# host group for masters
[masters]
master


# host group for etcd
[etcd]
master

# host group for nodes, includes region info
[nodes]
node1 openshift_node_labels="{'xx'}"
master openshift_node_labels="{'xx}"

[new_nodes]
node2 openshift_node_labels="{'xx}"
node3 openshift_node_labels="{'xx}"
node4 openshift_node_labels="{'xx}"
~


I execute:
ansible-playbook ~/openshift-ansible/playbooks/byo/openshift-node/scaleup.yml

It seems to start fine but pretty fast I get the following error:
TASK [openshift_facts : Gather Cluster facts and set is_containerized if 
needed] ***
fatal: [node2]: FAILED! => {"failed": true, "msg": "{{ deployment_type }}: 
'deployment_type' is undefined"}
fatal: [node3]: FAILED! => {"failed": true, "msg": "{{ deployment_type }}: 
'deployment_type' is undefined"}
fatal: [node4]: FAILED! => {"failed": true, "msg": "{{ deployment_type }}: 
'deployment_type' is undefined"}

But the deployment_type is described in my /etc/ansible/hosts file? Also the 
first deployment( some weeks ago) went well.
                                          
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to