Re: Mesos on ssl

2019-04-11 Thread Till Toenshoff
The “unknown bug in libevent” was in fact a bug in libprocess (our layer on top 
of libevent). See https://issues.apache.org/jira/browse/MESOS-9265 
 for more.
Even though we do bundle libevent 2.0.22, we don’t need to - Mesos >= 1.8.0 is 
compatible with all recent versions of libevent since we fixed that above issue 
in libprocess.

> On 12. Apr 2019, at 00:51, Vinod Kone  wrote:
> 
> Hi Jorge. We are hoping to cut 1.8.0 RC within a week.
> 
> -- Vinod
> 
> 
> On Fri, Apr 5, 2019 at 12:06 PM Jorge Machado  wrote:
> 
>> Thanks Hsiao, I think it is this, as a build from master works fine for
>> me. When are we releasing 1.8.0 ?
>> 
>> 
>> 
>>> On 5 Apr 2019, at 16:52, Chun-Hung Hsiao  wrote:
>>> 
>>> I'm not sure if this is related:
>>> https://issues.apache.org/jira/browse/MESOS-7076
>>> 
>>> In summary, Ubuntu 18.04 ships libevent 2.1.x (for OpenSSL 1.1.x
>> support).
>>> But libevent 2.1.x has an unknown bug that caused some Mesos tests to
>> fail.
>>> As a workaround, the current Mesos master branch (will be 1.8 soon)
>> bundled
>>> libevent 2.0.x with a magic patch from Debian 8 for OpenSSL 1.1.x). So
>>> Mesos 1.8 will be the first official release supporting SSL on Ubuntu
>> 18.04.
>>> 
>>> That said, I'm not sure what you encountered is exactly the same bug that
>>> caused the Mesos tests to fail though. Just a guess ;)
>>> 
>>> On Fri, Apr 5, 2019, 12:58 AM Jorge Machado 
>> wrote:
>>> 
 Hi Guys,
 
 I'm having issues with mesos versions from tar.gz compared with a build
 from git master when using ssl.
 With a build from git ssl agent is fine and for example the endpoint
 https://mesos-agent:5051/ returns a 404 which is fine.
 With a build from tar.gz (1.7.1 or 1.7.2) the same endpoint does not
>> work
 and it just hangs. No logs nothing...
 I'm testing this on ubuntu 18.04.
 
 Any tipps ?
 thanks
 Jorge
 
 
 Jorge Machado
 www.jmachado.me
 
 
 
 
 
 
>> 
>> 



Re: Mesos on ssl

2019-04-11 Thread Vinod Kone
Hi Jorge. We are hoping to cut 1.8.0 RC within a week.

-- Vinod


On Fri, Apr 5, 2019 at 12:06 PM Jorge Machado  wrote:

> Thanks Hsiao, I think it is this, as a build from master works fine for
> me. When are we releasing 1.8.0 ?
>
>
>
> > On 5 Apr 2019, at 16:52, Chun-Hung Hsiao  wrote:
> >
> > I'm not sure if this is related:
> > https://issues.apache.org/jira/browse/MESOS-7076
> >
> > In summary, Ubuntu 18.04 ships libevent 2.1.x (for OpenSSL 1.1.x
> support).
> > But libevent 2.1.x has an unknown bug that caused some Mesos tests to
> fail.
> > As a workaround, the current Mesos master branch (will be 1.8 soon)
> bundled
> > libevent 2.0.x with a magic patch from Debian 8 for OpenSSL 1.1.x). So
> > Mesos 1.8 will be the first official release supporting SSL on Ubuntu
> 18.04.
> >
> > That said, I'm not sure what you encountered is exactly the same bug that
> > caused the Mesos tests to fail though. Just a guess ;)
> >
> > On Fri, Apr 5, 2019, 12:58 AM Jorge Machado 
> wrote:
> >
> >> Hi Guys,
> >>
> >> I'm having issues with mesos versions from tar.gz compared with a build
> >> from git master when using ssl.
> >> With a build from git ssl agent is fine and for example the endpoint
> >> https://mesos-agent:5051/ returns a 404 which is fine.
> >> With a build from tar.gz (1.7.1 or 1.7.2) the same endpoint does not
> work
> >> and it just hangs. No logs nothing...
> >> I'm testing this on ubuntu 18.04.
> >>
> >> Any tipps ?
> >> thanks
> >> Jorge
> >>
> >>
> >> Jorge Machado
> >> www.jmachado.me
> >>
> >>
> >>
> >>
> >>
> >>
>
>


Re: Mesos on ssl

2019-04-05 Thread Jorge Machado
Thanks Hsiao, I think it is this, as a build from master works fine for me. 
When are we releasing 1.8.0 ? 



> On 5 Apr 2019, at 16:52, Chun-Hung Hsiao  wrote:
> 
> I'm not sure if this is related:
> https://issues.apache.org/jira/browse/MESOS-7076
> 
> In summary, Ubuntu 18.04 ships libevent 2.1.x (for OpenSSL 1.1.x support).
> But libevent 2.1.x has an unknown bug that caused some Mesos tests to fail.
> As a workaround, the current Mesos master branch (will be 1.8 soon) bundled
> libevent 2.0.x with a magic patch from Debian 8 for OpenSSL 1.1.x). So
> Mesos 1.8 will be the first official release supporting SSL on Ubuntu 18.04.
> 
> That said, I'm not sure what you encountered is exactly the same bug that
> caused the Mesos tests to fail though. Just a guess ;)
> 
> On Fri, Apr 5, 2019, 12:58 AM Jorge Machado  wrote:
> 
>> Hi Guys,
>> 
>> I'm having issues with mesos versions from tar.gz compared with a build
>> from git master when using ssl.
>> With a build from git ssl agent is fine and for example the endpoint
>> https://mesos-agent:5051/ returns a 404 which is fine.
>> With a build from tar.gz (1.7.1 or 1.7.2) the same endpoint does not work
>> and it just hangs. No logs nothing...
>> I'm testing this on ubuntu 18.04.
>> 
>> Any tipps ?
>> thanks
>> Jorge
>> 
>> 
>> Jorge Machado
>> www.jmachado.me
>> 
>> 
>> 
>> 
>> 
>> 



Re: Mesos on ssl

2019-04-05 Thread Chun-Hung Hsiao
I'm not sure if this is related:
https://issues.apache.org/jira/browse/MESOS-7076

In summary, Ubuntu 18.04 ships libevent 2.1.x (for OpenSSL 1.1.x support).
But libevent 2.1.x has an unknown bug that caused some Mesos tests to fail.
As a workaround, the current Mesos master branch (will be 1.8 soon) bundled
libevent 2.0.x with a magic patch from Debian 8 for OpenSSL 1.1.x). So
Mesos 1.8 will be the first official release supporting SSL on Ubuntu 18.04.

That said, I'm not sure what you encountered is exactly the same bug that
caused the Mesos tests to fail though. Just a guess ;)

On Fri, Apr 5, 2019, 12:58 AM Jorge Machado  wrote:

> Hi Guys,
>
> I'm having issues with mesos versions from tar.gz compared with a build
> from git master when using ssl.
> With a build from git ssl agent is fine and for example the endpoint
> https://mesos-agent:5051/ returns a 404 which is fine.
> With a build from tar.gz (1.7.1 or 1.7.2) the same endpoint does not work
> and it just hangs. No logs nothing...
> I'm testing this on ubuntu 18.04.
>
> Any tipps ?
> thanks
> Jorge
>
>
> Jorge Machado
> www.jmachado.me
>
>
>
>
>
>


Re: Mesos on ssl

2019-04-05 Thread Benno Evers
Hi Jorge,

just a wild guess, but the "404 Not Found" text on a 404 response was only
added fairly recently ( https://reviews.apache.org/r/67414/ ), before that
the default 404 response was just an empty body which renders as a
completely blank page on most browsers. Maybe Mesos isn't hanging after all?

If you ruled that out already, I'd recommend starting mesos-agent with the
`GLOG_v=4` environment variable set to receive more useful log output.

Best regards,
Benno

On Fri, Apr 5, 2019 at 9:58 AM Jorge Machado  wrote:

> Hi Guys,
>
> I'm having issues with mesos versions from tar.gz compared with a build
> from git master when using ssl.
> With a build from git ssl agent is fine and for example the endpoint
> https://mesos-agent:5051/ returns a 404 which is fine.
> With a build from tar.gz (1.7.1 or 1.7.2) the same endpoint does not work
> and it just hangs. No logs nothing...
> I'm testing this on ubuntu 18.04.
>
> Any tipps ?
> thanks
> Jorge
>
>
> Jorge Machado
> www.jmachado.me
>
>
>
>
>
>

-- 
Benno Evers
Software Engineer, Mesosphere


Mesos on ssl

2019-04-05 Thread Jorge Machado
Hi Guys, 

I'm having issues with mesos versions from tar.gz compared with a build from 
git master when using ssl. 
With a build from git ssl agent is fine and for example the endpoint 
https://mesos-agent:5051/ returns a 404 which is fine. 
With a build from tar.gz (1.7.1 or 1.7.2) the same endpoint does not work and 
it just hangs. No logs nothing... 
I'm testing this on ubuntu 18.04. 

Any tipps ?
thanks
Jorge


Jorge Machado
www.jmachado.me