{"action":"created","issue":{"url":"https://api.github.com/repos/galaxyproject/pulsar/issues/50","labels_url":"https://api.github.com/repos/galaxyproject/pulsar/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/galaxyproject/pulsar/issues/50/comments","events_url":"https://api.github.com/repos/galaxyproject/pulsar/issues/50/events","html_url":"https://github.com/galaxyproject/pulsar/issues/50","id":51835691,"number":50,"title":"Pulsar control daemon","user":{"login":"erasche","id":458683,"avatar_url":"https://avatars.githubusercontent.com/u/458683?v=3","gravatar_id":"","url":"https://api.github.com/users/erasche","html_url":"https://github.com/erasche","followers_url":"https://api.github.com/users/erasche/followers","following_url":"https://api.github.com/users/erasche/following{/other_user}","gists_url":"https://api.github.com/users/erasche/gists{/gist_id}","starred_url":"https://api.github.com/users/erasche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erasche/subscriptions","organizations_url":"https://api.github.com/users/erasche/orgs","repos_url":"https://api.github.com/users/erasche/repos","events_url":"https://api.github.com/users/erasche/events{/privacy}","received_events_url":"https://api.github.com/users/erasche/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/galaxyproject/pulsar/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-12T18:12:59Z","updated_at":"2015-02-25T02:59:52Z","closed_at":null,"body":"This is very much a \"thinking out loud\" type of feature request (so please add to it), but it would be great if there was a small daemon to sit next to pulsar which could listen to the MQ (or REST?), and handle control messages like:\r\n\r\n- [ ] Restarting pulsar\r\n- [ ] `git pull` + restart\r\n\r\nRationale:\r\n\r\n- galaxy admin !=  cluster admin, may not have access to manage some high level details of pulsar\r\n- cluster admin may not receive timely notice of updates to pulsar code base, if some tool could handle `git pull` and update pulsar daemons, then this would solve that issue. A central galaxy could simply send \"reload\" commands to all networked pulsars and have them restart. This would be hugely beneficial over the current practice of \"email all your networked pulsars and ask them to update their code base + restart\"\r\n\r\nConcerns:\r\n\r\n- Losing some of the separation of privileges that are a great thing about Pulsar, namely that the Galaxy admin has zero control over how pulsar behaves on the remote end.\r\n- It might be tough to gracefully reload the pulsar-control deamon if we add new actions to the above list over time (though if they're using supervisord, simply killing ourselves with an exit code should be enough to trigger restarting)\r\n- *MUST* not be able to affect any changes to Pulsar's configuration or there could be problems (e.g someone gains access to queue and tells pulsar-control to point to fully compromised MQ server)"},"comment":{"url":"https://api.github.com/repos/galaxyproject/pulsar/issues/comments/75896983","html_url":"https://github.com/galaxyproject/pulsar/issues/50#issuecomment-75896983","issue_url":"https://api.github.com/repos/galaxyproject/pulsar/issues/50","id":75896983,"user":{"login":"jmchilton","id":216771,"avatar_url":"https://avatars.githubusercontent.com/u/216771?v=3","gravatar_id":"","url":"https://api.github.com/users/jmchilton","html_url":"https://github.com/jmchilton","followers_url":"https://api.github.com/users/jmchilton/followers","following_url":"https://api.github.com/users/jmchilton/following{/other_user}","gists_url":"https://api.github.com/users/jmchilton/gists{/gist_id}","starred_url":"https://api.github.com/users/jmchilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmchilton/subscriptions","organizations_url":"https://api.github.com/users/jmchilton/orgs","repos_url":"https://api.github.com/users/jmchilton/repos","events_url":"https://api.github.com/users/jmchilton/events{/privacy}","received_events_url":"https://api.github.com/users/jmchilton/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T02:59:52Z","updated_at":"2015-02-25T02:59:52Z","body":"Also relevant - https://github.com/galaxyproject/gravity.\r\n\r\nThought @natefoo is calling the executable ``galaxy`` now - so I guess I have to build a whole new one for pulsar. :wink:"}}