On Mon, Jul 18, 2016 at 10:51 AM, Miloslav Vlach <miloslav.vl...@rohlik.cz> wrote:
> Hi, I tried what you suggest but with no success. Maybe I don’t correctly > write what I want. > > I can connect to master, node1, node2 - the installation process works > good. The problem is that the IP address in master-config.yuml points to > the wrong interface. Wrong IP address in config is 10.0.2.15 (NAT interface > not accessible from other hosts) and the correct IP address is 10.2.2.10. > Ah, my apologies. I misunderstood the issue originally. 'etcd_ip' should be the variable that you want to override to fix the issue. > > I don’t know how to specify the IP 10.2.2.10 for the etcd… > > Thanks Mila > > > > Dne 18. července 2016 v 16:33:41, Jason DeTiberus (jdeti...@redhat.com) > napsal/a: > > If you are using ansible > 2.0, then you would set 'ansible_host' for each > host. If using ansible < 2.0, then the variable is 'ansible_ssh_host' > > -- > Jason DeTiberus > > On Mon, Jul 18, 2016 at 10:12 AM, Miloslav Vlach <miloslav.vl...@rohlik.cz > > wrote: > >> Hi all, >> >> I would like to install one master and two nodes to my virtual box. I >> have problem with setting the primary IP address. >> >> All my VM have two interfaces: 10.0.2.15 (master NAT) and 10.2.2.10 (host >> only). >> >> When I run the ansible-playbook I got error with etcd, which tries to >> connect to the 10.0.2.15. There is nothing. How can I setup the IP address ? >> >> My inventory looks like this >> >> [masters] >> >> master openshift_ip=10.2.2.10 openshift_public_ip=10.2.2.10 >> >> >> [etcd] >> >> master openshift_ip=10.2.2.10 openshift_public_ip=10.2.2.10 >> >> >> [nodes] >> >> master openshift_node_labels="{'region': 'infra', 'zone': 'default'}" >> openshift_ip=10.2.2.10 >> openshift_public_ip=10.2.2.10 >> >> node1 openshift_node_labels="{'region': 'primary', 'zone': 'default'}" >> openshift_ip=10.2.2.11 >> openshift_public_ip=10.2.2.11 >> >> node2 openshift_node_labels="{'region': 'primary', 'zone': 'default'}" >> openshift_ip=10.2.2.12 >> openshift_public_ip=10.2.2.12 >> >> >> When I manually change the master-config.yaml, the etched starts working. >> But I can’t do this by the ansible. >> >> etcdClientInfo: >> >> ca: master.etcd-ca.crt >> >> certFile: master.etcd-client.crt >> >> keyFile: master.etcd-client.key >> >> urls: >> >> - https://10.2.2.10:2379 >> >> >> >> Thanks Mila >> >> >> _______________________________________________ >> users mailing list >> users@lists.openshift.redhat.com >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users >> >> > > > -- Jason DeTiberus
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users