-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
/etc/init.d scripts not found on installation #28
Comments
Who provides that package (Coudera, Mesosphere, ...)? Is there an upstart script? e.g. |
I am having the same problem and the init.d scripts are nowhere to be found. [vagrant@vagrant ~]$ lsb_release -a
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.7 (Final)
Release: 6.7
Codename: Final
[vagrant@vagrant ~]$ [vagrant@vagrant ~]$ cat /etc/init/mesos-master.conf
description "mesos master"
# Start just after the System-V jobs (rc) to ensure networking and zookeeper
# are started. This is as simple as possible to ensure compatibility with
# Ubuntu, Debian, CentOS, and RHEL distros. See:
# http://upstart.ubuntu.com/cookbook/#standard-idioms
start on stopped rc RUNLEVEL=[2345]
respawn
exec /usr/bin/mesos-init-wrapper master
[vagrant@vagrant ~]$ yum info mesos
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.rrzn.uni-hannover.de
* epel: mirror.nsc.liu.se
* extras: ftp.fau.de
* remi-safe: remi.schlundtech.de
* updates: wftp.tu-chemnitz.de
* webtatic: uk.repo.webtatic.com
Installed Packages
Name : mesos
Arch : x86_64
Version : 0.23.0
Release : 1.0.centos65
Size : 64 M
Repo : installed
From repo : mesosphere
Summary : Cluster resource manager with efficient resource isolation
URL : http://incubator.apache.org/mesos/
License : Apache-2.0
Description : Cluster resource manager with efficient resource isolation
: Apache Mesos is a cluster manager that offers efficient resource isolation
: and sharing across distributed applications, or frameworks. It can run
: Hadoop, MPI, Hypertable, Spark (a new framework for low-latency interactive
: and iterative jobs), and other applications.
I've tried to change the force_provider to upstart with no success mesos::master::force_provider: upstart # init |
mesosphere's package is using |
I too am having this problem. The puppet run error is:
To verify the error, I looked where these scripts are for CentOS and true enough to the log message, mesos-slave is not there:
The package was built by:
Inspecting the list of files included in the mesos RPM, I found these were the closest to an init script the RPM comes with (very Debian-esque):
How should this be solved? |
@pong-takepart could you test the version from master branch? |
I took same approach as suggested @woosley. It might be a breaking change as we're overriding Puppet defaults that are better tested on different platforms. I've been trying to avoid this for as long as possible, as it might be incompatible with future versions. It this case it's mostly fault of Mesosphere packages which are inconsistent with system defaults.
|
@pong-takepart Sure, it's tagged as v0.8.2 and should be available from forge. |
When i install mesos mesos-0.21.1-1.1.centos65.x86_64 on centos65 i donot find /etc/init.d scripts. I do see the documentation regarding force_provider in the service.pp, what should be the provider for centos65 ? Also who creates the init scripts at /etc/init.d ?
Presently, i have a init.erb in my templates which gets created in /etc/init.d/mesos-master on mesos installation. I m also planning to use that script for mesos-slave ? Is this rite or the rpm is expected to have it ?
The text was updated successfully, but these errors were encountered: