mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-3923) Implement AuthN handling in Master for the Scheduler endpoint
Date Tue, 12 Apr 2016 22:37:25 GMT

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

Adam B commented on MESOS-3923:
-------------------------------

Is there a (brief) design doc for this? Does this use the HTTP authenticator or the framework
authenticator (module)?

> Implement AuthN handling in Master for the Scheduler endpoint
> -------------------------------------------------------------
>
>                 Key: MESOS-3923
>                 URL: https://issues.apache.org/jira/browse/MESOS-3923
>             Project: Mesos
>          Issue Type: Bug
>          Components: framework, HTTP API, master
>    Affects Versions: 0.25.0
>            Reporter: Ben Whitehead
>            Assignee: Anand Mazumdar
>              Labels: mesosphere
>
> If authentication(AuthN) is enabled on a master, frameworks attempting to use the HTTP
Scheduler API can't register.
> {code}
> $ cat /tmp/subscribe-943257503176798091.bin | http --print=HhBb --stream --pretty=colors
--auth verification:password1 POST :5050/api/v1/scheduler Accept:application/x-protobuf Content-Type:application/x-protobuf
> POST /api/v1/scheduler HTTP/1.1
> Connection: keep-alive
> Content-Type: application/x-protobuf
> Accept-Encoding: gzip, deflate
> Accept: application/x-protobuf
> Content-Length: 126
> User-Agent: HTTPie/0.9.0
> Host: localhost:5050
> Authorization: Basic dmVyaWZpY2F0aW9uOnBhc3N3b3JkMQ==
> +-----------------------------------------+
> | NOTE: binary data not shown in terminal |
> +-----------------------------------------+
> HTTP/1.1 401 Unauthorized
> Date: Fri, 13 Nov 2015 20:00:45 GMT
> WWW-authenticate: Basic realm="Mesos master"
> Content-Length: 65
> HTTP schedulers are not supported when authentication is required
> {code}
> Authorization(AuthZ) is already supported for HTTP based frameworks.



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

Mime
View raw message