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

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

    [ https://issues.apache.org/jira/browse/MESOS-3792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021574#comment-15021574 ] 

Jian Qiu commented on MESOS-3792:
---------------------------------

RR https://reviews.apache.org/r/40224/

> 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
>            Assignee: Jian Qiu
>
> 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)