{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/nomad/issues/1233","repository_url":"https://api.github.com/repos/hashicorp/nomad","labels_url":"https://api.github.com/repos/hashicorp/nomad/issues/1233/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/nomad/issues/1233/comments","events_url":"https://api.github.com/repos/hashicorp/nomad/issues/1233/events","html_url":"https://github.com/hashicorp/nomad/issues/1233","id":158662649,"number":1233,"title":"[question] why consul service registration will be done on client nodes?","user":{"login":"rmmjohann","id":5725466,"avatar_url":"https://avatars.githubusercontent.com/u/5725466?v=3","gravatar_id":"","url":"https://api.github.com/users/rmmjohann","html_url":"https://github.com/rmmjohann","followers_url":"https://api.github.com/users/rmmjohann/followers","following_url":"https://api.github.com/users/rmmjohann/following{/other_user}","gists_url":"https://api.github.com/users/rmmjohann/gists{/gist_id}","starred_url":"https://api.github.com/users/rmmjohann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmmjohann/subscriptions","organizations_url":"https://api.github.com/users/rmmjohann/orgs","repos_url":"https://api.github.com/users/rmmjohann/repos","events_url":"https://api.github.com/users/rmmjohann/events{/privacy}","received_events_url":"https://api.github.com/users/rmmjohann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-06T12:09:21Z","updated_at":"2016-06-08T17:54:24Z","closed_at":"2016-06-08T17:54:24Z","body":"When submitting an job the nomad server will be aware of the node and its ip/port where the submitted job is running. My first intention was that the server handles service registration, but that's only the case when submitting system jobs.\r\nWhy was that way chosen?\r\nIs there any plan on configuring who registers services at consul?\r\n\r\nAt the moment I'm trying to run a job on a node where nomad client and consul client are installed. The consul client is only allowed to read service definitions, but not register them. If the nomad client config contains the consul ACL token for registering services, everyone can register services within the constraints defined at the role.\r\n\r\nSo it will be useful to either define a consul ACL at the nomad job (https://github.com/hashicorp/nomad/issues/590) or to define who is responsible for registering the jobs services\r\n\r\n"}}
{"actor":{"display_login":"diptanu"}}