Starting with Mesos 1.0.0 (including RCs and the recently nightly builds),
the binary rpm/deb packages published at repo.mesosphere.com are built with
SSL and module dependency installation (i.e. `./configure --enable-libevent
--enable-ssl --enable-install-module-dependencies`).
You can find the
You don't have to build it on every machine.
Just install checkinstall tool, build it on one machine and create package.
When building, after make command don't run make install, instead run:
checkinstall --install=no --pkgname=mesos --pkgversion=0.28.2 -y
I am using Ubuntu, so in my case it
Inlining the environment variable fixed it! I had to use sudo to run mesos,
so I either needed to inline it or use -E. *Facepalm*
On the note of building mesos, is there any chance in the future that
mesosphere would create a prebuilt mesos package with ssl included? It
would be nice to avoid
If you only set *SSL_ENABLED=true, *mesos would not start and throw error
that certificate and key variables are not exported.
So I assume mesos does not see SSL_ENABLED env variable in your case.
Do you run mesos from the same shell as you do the variables export ?
2016-07-07 20:53 GMT+02:00
Probably not relevant. (I ran ldd on CentOS 7.)
Which Ubuntu are you running? And what shell?
Also, try running `make check` up until you see the libprocess tests.
There are a couple of SSL tests there. (i.e. SSLTest.SSLSocket)
If, for some inexplicable reason, your build is linking but not
ldd src/.libs/mesos-master | grep ssl returns:
libevent_openssl-2.0.so.5 =>
/usr/lib/x86_64-linux-gnu/libevent_openssl-2.0.so.5
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0
So I am missing the libssl3.so line. Is that another package I need to
install as a prerequisite? In case it's
Can you double-check if your master is linking to openssl?
>From your build folder, you should get something like:
ldd src/.libs/mesos-master | grep ssl
libevent_openssl-2.0.so.5 => /lib64/libevent_openssl-2.0.so.5
libssl.so.10 => /lib64/libssl.so.10
libssl3.so => /lib64/libssl3.so
I rebuilt from scratch with SSL support and got no errors. I only set *export
SSL_ENABLED=true* and then I ran the mesos-master.
No errors were thrown and I can see the web UI via HTTP. I double checked
that I was running the .sh from the build folder I created. Is mesos not
connecting with the
It must be an issue with my build. I just tried building on a fresh VM and
'make' ended with the following:
cp: cannot stat ‘../../src/python/cli/src/mesos/__init__.py’: No such file
or directory
make[2]: *** [python/cli/src/mesos/__init__.py] Error 1
make[2]: Leaving directory
export SSL_ENABLED=true
export SSL_KEY_FILE=/etc/mesos/ssl/key.pem
export SSL_CERT_FILE=/etc/mesos/ssl/cert.pem
2016-07-06 23:05 GMT+02:00 Kamil Wokitajtis :
> For SSL support on 0.28.2 I am exporting only three variables and it works
> like charm:
>
>
> 2016-07-06 21:33
For SSL support on 0.28.2 I am exporting only three variables and it works
like charm:
2016-07-06 21:33 GMT+02:00 Douglas Nelson :
> I attempted to set up SSL following this guide:
> http://mesos.apache.org/documentation/latest/ssl/
>
> I'm able to hit the WebUI with http
I attempted to set up SSL following this guide:
http://mesos.apache.org/documentation/latest/ssl/
I'm able to hit the WebUI with http but using https gives me nothing. I
must be missing something. Here are the steps I'm taking:
1. I downloaded 0.28.2 from here:
12 matches
Mail list logo