I see that your [OSEv3:children] section does not contain new_nodes.  Maybe
try adding that?  Mine contains masters, nodes, and new_nodes (we're using
built-in etcd right now).

On Tue, Jul 12, 2016 at 1:27 PM, Den Cowboy <dencow...@hotmail.com> wrote:

> 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
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 

Alex Wauck // DevOps Engineer

*E X O S I T E*
*www.exosite.com <http://www.exosite.com/>*

Making Machines More Human.
_______________________________________________
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to