{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/4619","repository_url":"https://api.github.com/repos/mesosphere/marathon","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/4619/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/4619/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/4619/events","html_url":"https://github.com/mesosphere/marathon/issues/4619","id":185233858,"number":4619,"title":"Question: Can marathon assign tasks to multiple roles","user":{"login":"jessecollier","id":1823830,"avatar_url":"https://avatars.githubusercontent.com/u/1823830?v=3","gravatar_id":"","url":"https://api.github.com/users/jessecollier","html_url":"https://github.com/jessecollier","followers_url":"https://api.github.com/users/jessecollier/followers","following_url":"https://api.github.com/users/jessecollier/following{/other_user}","gists_url":"https://api.github.com/users/jessecollier/gists{/gist_id}","starred_url":"https://api.github.com/users/jessecollier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessecollier/subscriptions","organizations_url":"https://api.github.com/users/jessecollier/orgs","repos_url":"https://api.github.com/users/jessecollier/repos","events_url":"https://api.github.com/users/jessecollier/events{/privacy}","received_events_url":"https://api.github.com/users/jessecollier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T21:05:54Z","updated_at":"2016-10-26T17:49:22Z","closed_at":null,"body":"Here's what we want to do:\r\n\r\nA single marathon with:\r\n- A pool of slaves to run any tasks on any \"unreserved\" agents\r\n- A pool of slaves to run only specific tasks assigned by `acceptedResourceRoles` tasks\r\n\r\nIt appears that marathon can only listen for slaves running one type of reserved role. By default this is the slave_public in dcos. It also appears that you cannot specify multiple mesos roles. So my question is: Can I do what I've described above?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/256425591","html_url":"https://github.com/mesosphere/marathon/issues/4619#issuecomment-256425591","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/4619","id":256425591,"user":{"login":"jmlvanre","id":5892381,"avatar_url":"https://avatars.githubusercontent.com/u/5892381?v=3","gravatar_id":"","url":"https://api.github.com/users/jmlvanre","html_url":"https://github.com/jmlvanre","followers_url":"https://api.github.com/users/jmlvanre/followers","following_url":"https://api.github.com/users/jmlvanre/following{/other_user}","gists_url":"https://api.github.com/users/jmlvanre/gists{/gist_id}","starred_url":"https://api.github.com/users/jmlvanre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmlvanre/subscriptions","organizations_url":"https://api.github.com/users/jmlvanre/orgs","repos_url":"https://api.github.com/users/jmlvanre/repos","events_url":"https://api.github.com/users/jmlvanre/events{/privacy}","received_events_url":"https://api.github.com/users/jmlvanre/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T17:49:22Z","updated_at":"2016-10-26T17:49:22Z","body":"Hi @jessecollier, \r\nWhat you are trying to do requires multiple roles support in Mesos. That is a feature on the Mesos roadmap, but not yet implemented. Once it is implemented then Marathon will be able to take advantage of it and accomplish your goal.\r\nIn the interim the solution is to have a marathon per role."}}
{"actor":{"display_login":"jmlvanre"}}