Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6046

Document how to start/run the agent in a systemd environment

    XMLWordPrintableJSON

    Details

    • Type: Documentation
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.27.1, 0.28.0, 1.0.0
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      openSUSE Tumbleweed, Linux kernel 4.7.0

    • Story Points:
      1

      Description

      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:

      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
      

      When I add --no-systemd_enable_support the agent runs fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tgpfeiffer Tobias Pfeiffer
                Shepherd:
                Joseph Wu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: