Fan Du created MESOS-4389:
-----------------------------
Summary: Master "roles" endpoint only shows active role
Key: MESOS-4389
URL: https://issues.apache.org/jira/browse/MESOS-4389
Project: Mesos
Issue Type: Improvement
Components: HTTP API, master
Reporter: Fan Du
Register two slaves to master with role "busybox" and "ubuntu" respectively,
then running marthon with role "busybox", after this check master "roles"
endpoints, it can only get default and active role, could this be improved to
show all available roles for easily checking?
{code}
{
"roles": [
{
"frameworks": [],
"name": "*",
"resources": {
"cpus": 0,
"disk": 0,
"mem": 0
},
"weight": 1.0
},
{
"frameworks": [
"2caebb14-161f-4941-b8ab-8990cef01ac0-0000"
],
"name": "busybox",
"resources": {
"cpus": 0,
"disk": 0,
"mem": 0
},
"weight": 1.0
}
]
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)