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

flags.acls in /state.json response is not the flag value passed to Mesos master

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None

      Description

      Steps to reproduce: Start Mesos master with the `--acls` flag set to the following value:

      { "run_tasks": [ { "principals": { "values": ["foo", "bar"] }, "users": { "values": ["alice"] } } ] }
      

      Then make a request to http://mesosmaster:5050/state.json and extract the value for key `flags.acls` from the JSON body of the response.

      Expected behavior: the value is the same JSON string passed on the command-line.

      Actual behavior: the value is this string in some unknown syntax:

      run_tasks {
        principals {
          values: "foo"
          values: "bar"
        }
        users {
          values: "alice"
        }
      }
      

      I don't know what this is, but it's not an ACL expression according to the documentation.

        Attachments

          Activity

            People

            • Assignee:
              qiujian Jian Qiu
              Reporter:
              jhftrifork James Fisher
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: