mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haosdent <haosd...@gmail.com>
Subject Re: missing documentation: view_frameworks, view_tasks etc in mesos 1.0
Date Thu, 01 Sep 2016 02:44:21 GMT
Hi, @haripriya I saw we already have "view_executors" in the document (
https://github.com/apache/mesos/blob/master/docs/authorization.md#authorizable-actions)
?

On Thu, Sep 1, 2016 at 4:41 AM, Haripriya Ayyalasomayajula <
aharipriya92@gmail.com> wrote:

> Well, I had to turn on auth for run_tasks, I had different set of
> configuration there.
> I had some syntax issue with the above mentioned configurations in my
> original file, fixed them and it works file.
> Is there a way the flags view_executors etc can be added to the existing
> documentation?
>
> On Wed, Aug 31, 2016 at 1:26 AM, haosdent <haosdent@gmail.com> wrote:
>
>> Because your types are ANY, have you consider disable auth via don't
>> specify `--acl` flag when you launch Mesos master?
>>
>>
>>
>> On Wed, Aug 31, 2016 at 3:00 AM, Haripriya Ayyalasomayajula <
>> aharipriya92@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> I've upgraded my mesos cluster to 1.0.
>>> I have spark and Marathon registered as frameworks and have no problem
>>> running jobs.
>>> I am unable to see any frameworks nor any tasks on the web UI.
>>>
>>> I found out that the following fields have been added to acls.
>>>  view_frameworks, view_tasks, view_executors, access_sandboxes,
>>> access_mesos_logs
>>> and there are no examples related to these in:
>>> http://mesos.apache.org/documentation/latest/authorization/
>>> Can someone help me understand where I'm going wrong?
>>>
>>> Looking at the JIRA https://issues.apache.org/jira/browse/MESOS-5746
>>> I tried to come up with this json configuration, but that doesn't seem
>>> to work either.
>>> Here is my mesos_acls.json file:
>>>
>>>   "get_endpoints": [  {
>>>
>>>           "principals": {  "type": "ANY" },
>>>
>>>           "paths": {  "type": "ANY"  }  }
>>>
>>>    ],
>>>
>>>
>>>   "view_frameworks": [  {
>>>
>>>           "principals": {  "type": "ANY" },
>>>
>>>           "users": {  "type": "ANY"  }  }
>>>
>>>    ],
>>>
>>>
>>>   "view_tasks": [  {
>>>
>>>           "principals": {  "type": "ANY" },
>>>
>>>           "users": {  "type": "ANY"  }  }
>>>
>>>    ],
>>>
>>>  "view_executors": [  {
>>>
>>>           "principals": {  "type": "ANY" },
>>>
>>>           "users": {  "type": "ANY"  }  }
>>>
>>>    ],
>>>
>>>  "access_sandboxes": [  {
>>>
>>>           "principals": {  "type": "ANY" },
>>>
>>>           "users": {  "type": "ANY"  }  }
>>>
>>>    ],
>>>
>>>  "access_mesos_logs": [  {
>>>
>>>           "principals": {  "type": "ANY" },
>>>
>>>           "logs": {  "type": "ANY"  }  }
>>>
>>>    ],
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Haripriya Ayyalasomayajula
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> Haosdent Huang
>>
>
>
>
> --
> Regards,
> Haripriya Ayyalasomayajula
>
>


-- 
Best Regards,
Haosdent Huang

Mime
View raw message