Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-2860

Changing mesos_user does not apply

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mesos Integration
    • Labels:

      Description

      I have running Mesos/Marathon cluster. I added following file to /etc/mesos-master/acls

       json
      {  "run_tasks": [{
            "principals":{ "type":"ANY" },
            "users":{ "values":[ "marathon" ] }
          }, { 
            "principals":{ "type":"NONE" },
            "users":{ "values":[ "root" ] }
          }]
      }
      

      and corresponding flag to Marathon --mesos_user marathon
      Then I restarted both Mesos and Marathon, but Marathon tries to launch tasks as previous user.
      It worked when I changed zk prefix.
      Do I need to set up new Marathon instance to change user?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              janisz janisz
              Team:
              Orchestration Team
              Watchers:
              Chmielewski, Jason Gilanfarr (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: