Re: Mesos and Openstack

2016-05-25 Thread Guangya Liu
The public (floating) IP in OpenStack was generated by some NAT or iptables rules, and this will not be shown via `ifconfig`. I think that you can try private IP for your whole cluster. Thanks, Guangya On Thu, May 26, 2016 at 10:12 AM, haosdent wrote: > Hi, @Omar > May you change both /etc/mes

Re: Mesos and Openstack

2016-05-25 Thread haosdent
Hi, @Omar May you change both /etc/mesos/mesos-slave/ip and /etc/mesos/mesos-slave/hostname to private ip as well (192.168.100.xx)? Because if you public ip could not be shown via ifconfig, you need to use LIBPROCESS_ADVERTISE_IP to export public ip. And could you show the log under /var/log/mesos

Re: Mesos and Openstack

2016-05-25 Thread Radoslaw Gruchalski
Omar, For mesos, master and agents need to be able to reach zookeeper (2181 by default). Agents need 5050 avaialble on the master and master needs 5051 on the agent. Are you trying to bind mesos to an IP address which is not assigned to the interface? This will not work, right? – Best regards

Re: Mesos and Openstack

2016-05-25 Thread Omar Sobh
In my /etc/hosts I have the IP mapped to the VM's private IP address: 192.168.100.38 dev01.org and it's public IP (allocated floating IP) would be something like 140.141.210.220. within the VM itself if i type ifconfig it only shows eth0 being the 192 address. in the /etc/mesos/mesos-slave

Re: Mesos and Openstack

2016-05-25 Thread Stefano Bianchi
Yes, you should also edit the hosts file where you associate the hostnames of each VM to the correspondent private IP address. Il 25/mag/2016 18:46, "haosdent" ha scritto: > >If I use the slaves internal IP address like 192.168.1.40 it can make > the connection with Mesos master, but then dies an

Re: Mesos and Openstack

2016-05-25 Thread Stefano Bianchi
Hi I deployed exactly the same architecture and all is stable. I get your same error, and i solved specifying in /etc/mesos-slave/ip file, the FLOATING IP of the slave. Moreover, be sure that your subnets are connected to the same virtual router. My deployment works very well. J Il 25/mag/2016 17:

Re: Mesos and Openstack

2016-05-25 Thread haosdent
>If I use the slaves internal IP address like 192.168.1.40 it can make the connection with Mesos master, but then dies and keeps reconnecting. Does the network from Master to Slave and from Slave to Master work fine if you use internal IP? And may you show the log related to "dies and keeps reconne

Mesos and Openstack

2016-05-25 Thread Omar Sobh
Hello all, I have a number of mesos slave inside and openstack installation that i'm trying to connect to a master on a different subnet. If I use the slaves internal IP address like 192.168.1.40 it can make the connection with Mesos master, but then dies and keeps reconnecting. If I map it to