You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Maciej Strzelecki <ma...@crealytics.com> on 2016/11/21 17:46:16 UTC

Mesos-slave fails to start with --default_role

mesos version: 1.1.0-2.0.107.ubuntu1404


if i try to start mesos-slave with default_role or specify resources explicitly via resources: cpus(role):xxx,mem(role):yyy the mesos-slave dies. Its not logging anything either. Just silent death.


Can someone help me to explain this behaviour and/or point out some verbose logging flags that would force mesos-slave to log *why* its dying?



Maciej Strzelecki
Senior Operations Engineer

crealytics GmbH - Semantic Advertising Technology

Brunngasse 1 * 94032 Passau * Germany

Oranienstraße 185 * 10999 Berlin * Germany
1 Bath Street · EC1V 9LB London · United Kingdom

Managing directors: Andreas Reiffen, Dr. Markus Kurch
Register court: Amtsgericht Passau, HRB 7466

Re: Mesos-slave fails to start with --default_role

Posted by Tomek Janiszewski <ja...@gmail.com>.
I'm glad I could help :)

pon., 21.11.2016, 19:05 użytkownik Maciej Strzelecki <
maciej.strzelecki@crealytics.com> napisał:

> (i think ive reached the pinnacle of dumb. This is a good sign to go home
> and finish the working day)
>
>
> Actually your response was very helpful - i stopped
> mashing the restart button of mesos-slave service and actually instead
> invoked it via /usr/sbin/mesos-slave [opts]
>
>
> It then told me that i have: Incompatible agent info detected.
>
> and i need to clear the /var/lib/mesos/meta/slaves/latest
>
>
> :D Thank you kind sir!
>
>
> Maciej Strzelecki
> Senior Operations Engineer
>
> crealytics GmbH – Semantic Advertising Technology
>
> Brunngasse 1 • 94032 Passau • Germany
>
> Oranienstraße 185 • 10999 Berlin • Germany
> 1 Bath Street · EC1V 9LB London · United Kingdom
>
> Managing directors: Andreas Reiffen, Dr. Markus Kurch
> Register court: Amtsgericht Passau, HRB 7466
>
> ------------------------------
> *From:* Tomek Janiszewski <ja...@gmail.com>
> *Sent:* Monday, November 21, 2016 6:50 PM
> *To:* user@mesos.apache.org
> *Subject:* Re: Mesos-slave fails to start with --default_role
>
>
> Could you show actual cmd that you are using and output that it generates?
>
> pon., 21.11.2016, 18:46 użytkownik Maciej Strzelecki <
> maciej.strzelecki@crealytics.com> napisał:
>
> mesos version: 1.1.0-2.0.107.ubuntu1404
>
>
> if i try to start mesos-slave with default_role or specify resources
> explicitly via resources: cpus(role):xxx,mem(role):yyy the mesos-slave
> dies. Its not logging anything either. Just silent death.
>
>
> Can someone help me to explain this behaviour and/or point out some
> verbose logging flags that would force mesos-slave to log *why* its dying?
>
>
>
> Maciej Strzelecki
> Senior Operations Engineer
>
> crealytics GmbH – Semantic Advertising Technology
>
> Brunngasse 1 • 94032 Passau • Germany
>
> Oranienstraße 185 • 10999 Berlin • Germany
> 1 Bath Street · EC1V 9LB London · United Kingdom
>
> Managing directors: Andreas Reiffen, Dr. Markus Kurch
> Register court: Amtsgericht Passau, HRB 7466
>
>

Re: Mesos-slave fails to start with --default_role

Posted by Maciej Strzelecki <ma...@crealytics.com>.
(i think ive reached the pinnacle of dumb. This is a good sign to go home and finish the working day)


Actually your response was very helpful - i stopped mashing the restart button of mesos-slave service and actually instead invoked it via /usr/sbin/mesos-slave [opts]


It then told me that i have: Incompatible agent info detected.

and i need to clear the /var/lib/mesos/meta/slaves/latest


:D Thank you kind sir!


Maciej Strzelecki
Senior Operations Engineer

crealytics GmbH - Semantic Advertising Technology

Brunngasse 1 * 94032 Passau * Germany

Oranienstraße 185 * 10999 Berlin * Germany
1 Bath Street · EC1V 9LB London · United Kingdom

Managing directors: Andreas Reiffen, Dr. Markus Kurch
Register court: Amtsgericht Passau, HRB 7466

________________________________
From: Tomek Janiszewski <ja...@gmail.com>
Sent: Monday, November 21, 2016 6:50 PM
To: user@mesos.apache.org
Subject: Re: Mesos-slave fails to start with --default_role


Could you show actual cmd that you are using and output that it generates?

pon., 21.11.2016, 18:46 uzytkownik Maciej Strzelecki <ma...@crealytics.com>> napisal:

mesos version: 1.1.0-2.0.107.ubuntu1404


if i try to start mesos-slave with default_role or specify resources explicitly via resources: cpus(role):xxx,mem(role):yyy the mesos-slave dies. Its not logging anything either. Just silent death.


Can someone help me to explain this behaviour and/or point out some verbose logging flags that would force mesos-slave to log *why* its dying?



Maciej Strzelecki
Senior Operations Engineer

crealytics GmbH - Semantic Advertising Technology

Brunngasse 1 * 94032 Passau * Germany

Oranienstraße 185 * 10999 Berlin * Germany
1 Bath Street · EC1V 9LB London · United Kingdom

Managing directors: Andreas Reiffen, Dr. Markus Kurch
Register court: Amtsgericht Passau, HRB 7466

Re: Mesos-slave fails to start with --default_role

Posted by Tomek Janiszewski <ja...@gmail.com>.
Could you show actual cmd that you are using and output that it generates?

pon., 21.11.2016, 18:46 użytkownik Maciej Strzelecki <
maciej.strzelecki@crealytics.com> napisał:

> mesos version: 1.1.0-2.0.107.ubuntu1404
>
>
> if i try to start mesos-slave with default_role or specify resources
> explicitly via resources: cpus(role):xxx,mem(role):yyy the mesos-slave
> dies. Its not logging anything either. Just silent death.
>
>
> Can someone help me to explain this behaviour and/or point out some
> verbose logging flags that would force mesos-slave to log *why* its dying?
>
>
>
> Maciej Strzelecki
> Senior Operations Engineer
>
> crealytics GmbH – Semantic Advertising Technology
>
> Brunngasse 1 • 94032 Passau • Germany
>
> Oranienstraße 185 • 10999 Berlin • Germany
> 1 Bath Street · EC1V 9LB London · United Kingdom
>
> Managing directors: Andreas Reiffen, Dr. Markus Kurch
> Register court: Amtsgericht Passau, HRB 7466
>
>