[
https://issues.apache.org/jira/browse/MESOS-6046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph Wu updated MESOS-6046:
-----------------------------
Shepherd: Joseph Wu
Affects Version/s: 0.27.1
0.28.0
Story Points: 1
Labels: agent documentation mesosphere (was: )
Priority: Minor (was: Major)
Issue Type: Documentation (was: Bug)
Summary: Document how to start/run the agent in a systemd
environment (was: mesos-agent.sh fails with "Permission denied" error)
Changed this issue to a documentation issue. We need to note the caveats of
running the agent in an OS with systemd. Or how to disable this when the agent
detects systemd, but the operator does not wish to leverage it.
> Document how to start/run the agent in a systemd environment
> ------------------------------------------------------------
>
> Key: MESOS-6046
> URL: https://issues.apache.org/jira/browse/MESOS-6046
> Project: Mesos
> Issue Type: Documentation
> Affects Versions: 0.27.1, 0.28.0, 1.0.0
> Environment: openSUSE Tumbleweed, Linux kernel 4.7.0
> Reporter: Tobias Pfeiffer
> Priority: Minor
> Labels: agent, documentation, mesosphere
>
> I am following the getting started guide and built Mesos. I run
> {{./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=../../tmp}}
> and the startup works fine, I can look at the web interface etc. Then I run
> {{./bin/mesos-agent.sh --master=127.0.0.1:5050 --work_dir=../../tmp}}
> and this fails with the following exception:
> {noformat}
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> I0816 13:53:36.554414 26243 main.cpp:243] Build: 2016-08-16 12:43:23 by user
> I0816 13:53:36.554527 26243 main.cpp:244] Version: 1.0.0
> I0816 13:53:36.561920 26243 systemd.cpp:237] systemd version `228` detected
> I0816 13:53:36.561966 26243 main.cpp:342] Inializing systemd state
> Failed to initialize systemd: Failed to create systemd slice
> 'mesos_executors.slice': Failed to write systemd slice
> `/run/systemd/system/mesos_executors.slice`: Failed to open file
> '/run/systemd/system/mesos_executors.slice': Permission denied
> {noformat}
> When I add {{--no-systemd_enable_support}} the agent runs fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)