Re: Get List of Active Slaves

2015-08-04 Thread Marco Massenzio
Now that Mesos (0.24, to be released soon) publishes the Master info to ZooKeeper in JSON, it should be (relatively) easier to get the info about the leading master directly from there (or even set a Watcher on the znode to be alerted of leadership changes). Not as easy as hitting an HTTP endpoint,

Re: Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread Jeff Schroeder
I made no changes. The mesos Makefile did this! It is a non-modified RHEL7.1 install. This is likely an issue. I'll work with Tim tomorrow to hopefully fix it and can send a patch to the docs to fix it. Text by Jeff, typos by iPhone On Tuesday, August 4, 2015, haosdent wrote: > No, I think thi

Re: Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread haosdent
No, I think this should use g++ ``` gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2

Re: Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread Jeff Schroeder
Because gcc can compile mesos? On Tuesday, August 4, 2015, haosdent wrote: > Why the compiler in your log is gcc? > > On Wed, Aug 5, 2015 at 9:58 AM, Tim St Clair > wrote: > >> I'll take a look in the a.m. feel free to ping me on irc. >> >> Cheers, >> Tim >> >> -- >>

Re: Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread Jeff Schroeder
Will do, I'll be in around 9am CST. Thanks Tim On Tuesday, August 4, 2015, Tim St Clair wrote: > I'll take a look in the a.m. feel free to ping me on irc. > > Cheers, > Tim > > -- > > *From: *"Jeff Schroeder" > > *To: *"Mesos Users" > > *Sent: *Tuesday, August 4, 20

Re: Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread haosdent
Why the compiler in your log is gcc? On Wed, Aug 5, 2015 at 9:58 AM, Tim St Clair wrote: > I'll take a look in the a.m. feel free to ping me on irc. > > Cheers, > Tim > > -- > > *From: *"Jeff Schroeder" > *To: *"Mesos Users" > *Sent: *Tuesday, August 4, 2015 6:21:39

Re: Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread Tim St Clair
I'll take a look in the a.m. feel free to ping me on irc. Cheers, Tim - Original Message - > From: "Jeff Schroeder" > To: "Mesos Users" > Sent: Tuesday, August 4, 2015 6:21:39 PM > Subject: Problem building 0.23.0 under mock for RHEL7 > I'm trying to build Mesos 0.23.0, using a lig

Re: How does Mesos Debian packaging work?

2015-08-04 Thread Jay Taylor
I see, thank you Tomas for that updated mesos-deb-packaging link. Helpful information to be sure. I'm am still curious about why mesosphere-hosted deb's end up with less dependencies than the builds done by the mesos-deb-packaging scripts. Is there really no way to generate a roughly equivalent

Re: Get List of Active Slaves

2015-08-04 Thread Steven Schlansker
Unfortunately that sort of solution is also prone to races. I do not think this is really possible (at least not even remotely elegantly) to solve externally to Mesos itself. On Aug 4, 2015, at 4:49 PM, James DeFelice wrote: > If you're using mesos-dns I think you can query slave.mesos to get a

Re: Get List of Active Slaves

2015-08-04 Thread James DeFelice
If you're using mesos-dns I think you can query slave.mesos to get an a record for each. I believe it responds to srv requests too. On Aug 4, 2015 7:29 PM, "Steven Schlansker" wrote: > Unfortunately this is racey. If you redirect to a master just as it is > removed from leadership, you can still

Re: How does Mesos Debian packaging work?

2015-08-04 Thread Tomas Barton
Hi Jay, as long as the libcurl-dev dependency is concerned you can use any of libcurl4-openssl-dev, libcurl4-gnutls-dev or libcurl4-nss-dev. Just make sure one of these libraries is installed on all of your worker (slave) nodes. If you don't need any modification of the mesos packaging, you can us

Re: Get List of Active Slaves

2015-08-04 Thread Steven Schlansker
Unfortunately this is racey. If you redirect to a master just as it is removed from leadership, you can still get bogus data, with no indication anything went wrong. Some people are reporting that this breaks tools that generate HTTP proxy configurations. I filed this issue a while ago as ht

Problem building 0.23.0 under mock for RHEL7

2015-08-04 Thread Jeff Schroeder
I'm trying to build Mesos 0.23.0, using a lightly modified spec file from Fedora 23[1] with a few dependencies added for RHEL7. The build fails when gcc is trying to build the mesos.native._mesos python bits. The full log is as a gist[2]. I don't recall ever seeing this error, and was curious if i

Re: Docker on Marathon 0.9.0 on Mesos 0.23.0

2015-08-04 Thread Tim Chen
It seems like the binary (mesos-docker-executor) that was built is looking for libmesos-0.23.0 at a place where it doesn't exist. How are you running Mesos? Are you running from the source/build/src folder or after make install? Usually this happens when you don't make install before you run. Ti

Docker on Marathon 0.9.0 on Mesos 0.23.0

2015-08-04 Thread John Omernik
I am finding that Docker Containers won't start for me in the versions above, the only information I am getting from the sandbox is below, I am not sure what the issue is in that the file is in the same location where the previous version files were... Any help is appreciated. John mesos-docke

Re: Get List of Active Slaves

2015-08-04 Thread Vinod Kone
Not today, no. But, you could either hit the "/redirect" endpoint on any master that should redirect you to the leading master. On Tue, Aug 4, 2015 at 3:29 PM, Nastooh Avessta (navesta) wrote: > I see. Nope, and pointing to the leading master shows the proper resultJ > Thanks. > > Is there a RE

RE: Get List of Active Slaves

2015-08-04 Thread Nastooh Avessta (navesta)
I see. Nope, and pointing to the leading master shows the proper result☺ Thanks. Is there a REST equivalent to mesos-resolve, so that one can ascertain who is the leader without having to point to the leader? Cheers, [http://www.cisco.com/web/europe/images/email/signature/logo05.jpg] Nastooh Av

Re: Get List of Active Slaves

2015-08-04 Thread Vinod Kone
Is that the leading master? On Tue, Aug 4, 2015 at 3:09 PM, Nastooh Avessta (navesta) wrote: > Hi > > Trying to get the list of active slaves, via cli, e.g. curl > http://10.4.50.80:5050/master/slaves | python -m json.tool and am not > getting the expected results. The returned value is empty:

Get List of Active Slaves

2015-08-04 Thread Nastooh Avessta (navesta)
Hi Trying to get the list of active slaves, via cli, e.g. curl http://10.4.50.80:5050/master/slaves | python -m json.tool and am not getting the expected results. The returned value is empty: { "slaves": [] } , whereas, looking at web gui I can see that there are deployed slaves. Am I missi

How does Mesos Debian packaging work?

2015-08-04 Thread Jay Taylor
Greetings Mesonians, What is the procedure for creating debian/ubuntu .deb distribution builds of Mesos? I am currently using https://github.com/deric/mesos-deb-packaging, but it seems to add some dependencies (libunwind* and libcurl4-nss-dev) that the mesosphere-hosted distributions do not, and

Re: --resources documentation

2015-08-04 Thread John Omernik
Perfect! Thanks! On Tue, Aug 4, 2015 at 11:49 AM, Greg Mann wrote: > Hi John, > You are correct, memory & disk are specified in MB. This is documented at > http://mesos.apache.org/documentation/attributes-resources/ in the > section titled "Predefined Uses & Conventions". > > Cheers, > Greg > >

Re: --resources documentation

2015-08-04 Thread Greg Mann
Hi John, You are correct, memory & disk are specified in MB. This is documented at http://mesos.apache.org/documentation/attributes-resources/ in the section titled "Predefined Uses & Conventions". Cheers, Greg On Tue, Aug 4, 2015 at 6:54 AM, John Omernik wrote: > Hey, all, I am looking to set

--resources documentation

2015-08-04 Thread John Omernik
Hey, all, I am looking to set my slave resources and was looking at the documentation and was unclear exactly the format used by memory (and/or disk) I am going to "assume" based on the numbers below, that 15360 is like in MB? (15 GB of ram seems like a good example, as opposed to saying it's in K