You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "James Fisher (JIRA)" <ji...@apache.org> on 2015/10/22 16:07:27 UTC

[jira] [Created] (MESOS-3792) flags.acls in /state.json response is not the flag value passed to Mesos master

James Fisher created MESOS-3792:
-----------------------------------

             Summary: flags.acls in /state.json response is not the flag value passed to Mesos master
                 Key: MESOS-3792
                 URL: https://issues.apache.org/jira/browse/MESOS-3792
             Project: Mesos
          Issue Type: Bug
            Reporter: James Fisher


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

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

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:

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

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)