Re: How to tell master which ip to connect.

2015-12-06 Thread Xiaodong Zhang
also OK when you using mesos. On Fri, Oct 30, 2015 at 7:50 AM, Xiaodong Zhang <xdzh...@alauda.io<mailto:xdzh...@alauda.io>> wrote: oh!connect via ssl and register with auth is not safety enough? 发自我的 iPhone 在 2015年10月30日,上午12:55,tommy xiao <xia...@gmail.com<mailto:xia...@gm

Re: mess slave can't register to master via master ip:port

2015-11-10 Thread Xiaodong Zhang
filed a jira ticket https://issues.apache.org/jira/browse/MESOS-3822 to trace this. Thanks. On Tue, Nov 3, 2015 at 2:02 PM, haosdent <haosd...@gmail.com<mailto:haosd...@gmail.com>> wrote: I think it is not correct. On Tue, Nov 3, 2015 at 12:44 PM, Xiaodong Zhang <xdzh...@a

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-02 Thread Xiaodong Zhang
imeout=“0ns" 2、the patch works well.(thanks again) 1 and 2 read the same cert file. The format of the cert file like this: -BEGIN CERTIFICATE- Xx -END CERTIFICATE—— 发件人: Xiaodong Zhang <xdzh...@alauda.io<mailto:xdzh...@alauda.io>> 日期: 2015年11月2日 星期一 上午11:22 至: "user

mess slave can't register to master via master ip:port

2015-11-02 Thread Xiaodong Zhang
Hi all: My slave command like this: /usr/sbin/mesos-slave --master=IP1:5050,IP2:5050,IP3:5050 …. --credential … Only if IP1 is the leader, the slave can register to master successfully, Or it will register fail. Slave log like this: Creating new client SASL connection Authentication timed

Re: mess slave can't register to master via master ip:port

2015-11-02 Thread Xiaodong Zhang
.@gmail.com>> wrote: After checking code, seems Mesos only support --master=IP1:5050 or --master=zk://xx or --master=file:///. On Tue, Nov 3, 2015 at 12:15 PM, haosdent <haosd...@gmail.com<mailto:haosd...@gmail.com>> wrote: Do your masters have already managed by zookeeper? And wh

Re: Can't start docker container when SSL_ENABLED is on.

2015-11-01 Thread Xiaodong Zhang
015 at 2:56 PM, Tim Chen <t...@mesosphere.io<mailto:t...@mesosphere.io>> wrote: Hi Xiaodong, If you follow the reviewboard you'll see that the fix is not correct, I believe Jojy will be posting a new patch. Tim On Fri, Oct 30, 2015 at 6:58 PM, Xiaodong Zhang <xdzh...@alauda.io<

Re: Can't start docker container when SSL_ENABLED is on.

2015-10-30 Thread Xiaodong Zhang
aodong. Based on the hypothesis that the container process launched with SSL_ENABLED in environment is the problem, I have created a patch https://reviews.apache.org/r/39818/. This might be a quick and dirty was to test the hypothesis. Would it be possible for you to test again after applying the

Re: Can't start docker container when SSL_ENABLED is on.

2015-10-30 Thread Xiaodong Zhang
it is still not working! Only if I remove SSL_ENABLED from envs before I start the slave it works well. I applied the patch in version 0.24.1. And rebuild it with `--enable-libevent --enable-ssl` 。 发件人: Xiaodong Zhang <xdzh...@alauda.io<mailto:xdzh...@alauda.io>> 日期: 2015年10月31日

Re: Can't start docker container when SSL_ENABLED is on.

2015-10-30 Thread Xiaodong Zhang
j...@mesosphere.io<mailto:j...@mesosphere.io>> 答复: "user@mesos.apache.org<mailto:user@mesos.apache.org>" <user@mesos.apache.org<mailto:user@mesos.apache.org>> 日期: 2015年10月30日 星期五 下午11:17 至: "user@mesos.apache.org<mailto:user@mesos.apache.org>&

Re: Can't start docker container when SSL_ENABLED is on.

2015-10-28 Thread Xiaodong Zhang
er@mesos.apache.org<mailto:user@mesos.apache.org>> 日期: 2015年10月29日 星期四 下午12:02 至: user <user@mesos.apache.org<mailto:user@mesos.apache.org>> 主题: Re: Can't start docker container when SSL_ENABLED is on. Oh, I mean you task logs. They could be get from Mesos webui. On Thu, Oct 29,

Re: Can't start docker container when SSL_ENABLED is on.

2015-10-28 Thread Xiaodong Zhang
t;mailto:user@mesos.apache.org>> 主题: Re: Can't start docker container when SSL_ENABLED is on. Do you compile mesos with ssl support? The default compile don't contains ssl. And does docker container have stdour and stderr? On Thu, Oct 29, 2015 at 11:41 AM, Xiaodong Zhang <xdzh...@alauda.io

Re: Can't start docker container when SSL_ENABLED is on.

2015-10-28 Thread Xiaodong Zhang
the normal log, it shows: I1014 15:22:21.276007 23163 slave.cpp:3326] Executor 'ffc08dce-997f-41f7-9b03-57c1b4bc1f85.47ed02aa-7285-11e5-80d7-000d3a8033de' of framework 20150814-115157-1677721866-5050-6185- exited with status 0 Is this helpful? 发件人: Xiaodong Zhang <xdzh...@alauda

Re: How to tell master which ip to connect.

2015-10-27 Thread Xiaodong Zhang
ect. Do you try `export LIBPROCESS_ADVERTISE_IP=xxx` and `LIBPROCESS_ADVERTISE_PORT` when start slave? On Wed, Oct 28, 2015 at 10:16 AM, Xiaodong Zhang <xdzh...@alauda.io<mailto:xdzh...@alauda.io>> wrote: Hi teams: My scenarios is like this: My master nodes were deployed in AWS. My slaves were in AZURE.S

Re: How to tell master which ip to connect.

2015-10-27 Thread Xiaodong Zhang
lly, HTTPS support was added to the Mesos WebUI. I think you refer to ssl https://github.com/apache/mesos/blob/master/docs/ssl.md On Wed, Oct 28, 2015 at 10:43 AM, Xiaodong Zhang <xdzh...@alauda.io<mailto:xdzh...@alauda.io>> wrote: It works! Thanks a lot. Another question. Do masters