Re: Mesos Marathon weird behavior

2015-02-09 Thread Dario Rexin
This looks normal. But could you try updating to Marathon 0.8.0? We fixed a couple of deployment related bugs in there. On 09 Feb 2015, at 16:38, Emre Tekelioğlu emre.tekelio...@gmail.com wrote: Hi Dario, I found these logs in syslog. Is it normal? Feb 9 15:26:38 maas01

Re: Mesos Marathon weird behavior

2015-02-09 Thread Dario Rexin
It should be in the Mesosphere repos since Thursday last week. On 09 Feb 2015, at 17:02, Emre Tekelioğlu emre.tekelio...@gmail.com wrote: I installed mesos from repo, did you know when ubuntu repo will update? 2015-02-09 17:46 GMT+02:00 Dario Rexin da...@mesosphere.io

Re: Mesos Marathon weird behavior

2015-02-09 Thread Emre Tekelioğlu
Yes, they are on the samebox. 2015-02-09 17:47 GMT+02:00 David Kesler dkes...@yodle.com: Are you running marathon and mesos on the same box? If not, check the frameworks page in mesos. If marathon has a ‘re-registered’ value that is always ‘just now’, you’re suffering from the issue

Re: Mesos Marathon weird behavior

2015-02-09 Thread Emre Tekelioğlu
I installed mesos from repo, did you know when ubuntu repo will update? 2015-02-09 17:46 GMT+02:00 Dario Rexin da...@mesosphere.io: This looks normal. But could you try updating to Marathon 0.8.0? We fixed a couple of deployment related bugs in there. On 09 Feb 2015, at 16:38, Emre

Re: Total resources available versus actually available

2015-02-09 Thread Niklas Nielsen
The slave picks up total available resources (not free) on startup, but this can be overridden by the --resources= flag. That way, you can leave resources for your out of bound processes. If you want to compute the slack (difference between allocated and actually used), you can compute that from

Re: Total resources available versus actually available

2015-02-09 Thread craig w
Is this the issue? https://issues.apache.org/jira/browse/MESOS-354 On Mon, Feb 9, 2015 at 12:30 PM, Niklas Nielsen nik...@mesosphere.io wrote: The slave picks up total available resources (not free) on startup, but this can be overridden by the --resources= flag. That way, you can leave

Re: Mesos Marathon weird behavior

2015-02-09 Thread Emre Tekelioğlu
I added the app with REST API, but nothing changed. Status stuck in Deploying I also run these commands; echo 'docker,mesos' /etc/mesos-slave/containerizers echo '5mins' /etc/mesos-slave/executor_registration_timeout App config is like that { id:/test2, cmd:null, args:[ ],

Re: Mesos Marathon weird behavior

2015-02-09 Thread Dario Rexin
Could you please post the relevant log output of Mesos and Marathon? On 09 Feb 2015, at 15:06, Emre Tekelioğlu emre.tekelio...@gmail.com wrote: I added the app with REST API, but nothing changed. Status stuck in Deploying I also run these commands; echo 'docker,mesos'

Total resources available versus actually available

2015-02-09 Thread craig w
Mesos slaves report the total resources they have available, such as 2 CPU, 8GB Memory and 100GB disk. Does Mesos keep track of the amount of resources that are actually available to best schedule tasks? For example, imagine a slave has some other processes running on it (that are not mesos

Re: Mesos Marathon weird behavior

2015-02-09 Thread Dario Rexin
Hi Emre, what are the versions of Mesos and Marathon and what does your app definition look like? Cheers, Dario On 09 Feb 2015, at 13:50, Emre Tekelioğlu emre.tekelio...@gmail.com wrote: Hi, I have a single node mesos cluster on Ubuntu 14.04 host machine, with one node mesos-master and

Re: Mesos Marathon weird behavior

2015-02-09 Thread Emre Tekelioğlu
Hi Dario Mesos version 0.21.1, Marathon version 0.7.6. App config; { id:/progressed-io, cmd:sudo docker run fehmicansaglam/progressed.io, args:null, user:null, env:{ }, instances:5, cpus:0.1, mem:128.0, disk:512.0, executor:, constraints:[ ], uris:[

Re: Mesos Marathon weird behavior

2015-02-09 Thread Emre Tekelioğlu
Hi Dario, I couldn't find the container section in my Marathon UI when i click New App, should i use only REST API to do that? Regards, Emre 2015-02-09 15:09 GMT+02:00 Dario Rexin da...@mesosphere.io: Hi Emre, Mesos and Marathon have full support for running Docker containers, you can just

Re: Mesos Marathon weird behavior

2015-02-09 Thread Dario Rexin
Yes, it’s currently not possible to deploy containers with the web UI. On 09 Feb 2015, at 14:42, Emre Tekelioğlu emre.tekelio...@gmail.com wrote: Hi Dario, I couldn't find the container section in my Marathon UI when i click New App, should i use only REST API to do that? Regards,

Re: Mesos Marathon weird behavior

2015-02-09 Thread Dario Rexin
Hi Emre, Mesos and Marathon have full support for running Docker containers, you can just specify them in the app definition, no need to run `docker run …` as a command. Try this app definition instead: { id:/progressed-io, instances:5, cpus:0.1, mem:128.0, disk:512.0,