Closed ChiralMedia closed 8 years ago
I think I see the problem, assuming you installed this with the exact command you pasted in issue #24
The --options foo.json
argument needs to go after the package name. Try with:
dcos package install riak --options=/etc/config/riak.json
Unfortunately dcos
CLI doesn't tell you this and will quietly ignore your configuration file if you put --options
before the package name.
I've added a change to our README to call this out more explicitly (https://github.com/basho-labs/riak-mesos-tools/pull/27)
Uninstalled package, removed /riak node from Zookeeper Reinstalled with dcos package install riak --options=/etc/config/config.json No change in the environment settings displayed, they're still Ubuntu.
Ah, I see another problem: if you're installing under DCOS you will need to use the https://github.com/basho-labs/riak-mesos-tools/blob/master/config/config.dcos.json as a template, as there are some differences in the configuration from outside of DCOS.
For example, you need to have corresponding "package"
values for each "url"
value. You'll need to add these for all of the following:
.riak.scheduler.url
-> .riak.scheduler.package
.riak.executor.url
-> .riak.executor.package
.riak.node.url
-> .riak.node.package
.riak.node.patches-url
-> .riak.node.patches-package
.riak.node.explorer-url
-> .riak.node.explorer-package
.riak.director.url
-> .riak.director.package
Thanks for that, the config file change has fixed the env settings.
From: sanmiguel notifications@github.com Sent: 25 July 2016 12:54 To: basho-labs/riak-mesos-tools Cc: ChiralMedia; Author Subject: Re: [basho-labs/riak-mesos-tools] Environment settings ignore configuration file (#25)
Ah, I see another problem: if you're installing under DCOS you will need to use the https://github.com/basho-labs/riak-mesos-tools/blob/master/config/config.dcos.json
For example, you need to have corresponding "package" values for each "url" value. You'll need to add these for all of the following:
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/basho-labs/riak-mesos-tools/issues/25#issuecomment-234944831, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AH_QKm7dH_iFxh9SNsKEd1bFJNrCz2fwks5qZLISgaJpZM4JSxn1.
Excellent, glad that helped.
When installed most environment shown are for Ubuntu rather than Centos7 as configured (config.json attached).
RIAK_MESOS_DIRECTOR_URL=https://github.com/basho-labs/riak-mesos-director/releases/download/1.0.1/riak_mesos_director-1.0.1-centos-7.tar.gz RIAK_MESOS_EXECUTOR_PKG=riak_mesos_executor-1.2.0-mesos-0.28.1-ubuntu-14.04.tar.gz RIAK_MESOS_EXPLORER_PKG=riak_explorer-1.1.1.patch-ubuntu-14.04.tar.gz RIAK_MESOS_PATCHES_PKG=riak_erlpmd_patches-1.2.0-mesos-0.28.1-ubuntu-14.04.tar.gz RIAK_MESOS_RIAK_PKG=riak-2.1.4-ubuntu-14.04.tar.gz RIAK_MESOS_SCHEDULER_PKG=riak_mesos_scheduler-1.2.1-mesos-0.28.1-ubuntu-14.04.tar.gz
config.json.txt