{"action":"created","issue":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/700","labels_url":"https://api.github.com/repos/rundeck/rundeck/issues/700/labels{/name}","comments_url":"https://api.github.com/repos/rundeck/rundeck/issues/700/comments","events_url":"https://api.github.com/repos/rundeck/rundeck/issues/700/events","html_url":"https://github.com/rundeck/rundeck/issues/700","id":29119193,"number":700,"title":"Run job on 1 single available node from several defined using filters","user":{"login":"ltoussaint","id":698957,"avatar_url":"https://avatars.githubusercontent.com/u/698957?v=3","gravatar_id":"","url":"https://api.github.com/users/ltoussaint","html_url":"https://github.com/ltoussaint","followers_url":"https://api.github.com/users/ltoussaint/followers","following_url":"https://api.github.com/users/ltoussaint/following{/other_user}","gists_url":"https://api.github.com/users/ltoussaint/gists{/gist_id}","starred_url":"https://api.github.com/users/ltoussaint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ltoussaint/subscriptions","organizations_url":"https://api.github.com/users/ltoussaint/orgs","repos_url":"https://api.github.com/users/ltoussaint/repos","events_url":"https://api.github.com/users/ltoussaint/events{/privacy}","received_events_url":"https://api.github.com/users/ltoussaint/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rundeck/rundeck/labels/enhancement","name":"enhancement","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-03-10T18:19:46Z","updated_at":"2015-06-18T18:13:07Z","closed_at":null,"body":"Hi,\r\n\r\nThe goal is to be able to run a job on a single node from a pool.\r\n\r\nFor now, if we want to run a job only one time, we need to explicitly defined the node.\r\nBut if this node is offline, the job will stop and never run.\r\n\r\nSo I would like to defined a job associated to a pool of nodes (using tags or other filters) but when the job will start, a single available node will be chosen from the pool.\r\nTo avoid offline node problems, if the chosen node is offline, the job should start on antoher one.\r\n\r\nWith this feature, it could be a good idea to **randomly** choose the node."},"comment":{"url":"https://api.github.com/repos/rundeck/rundeck/issues/comments/113243472","html_url":"https://github.com/rundeck/rundeck/issues/700#issuecomment-113243472","issue_url":"https://api.github.com/repos/rundeck/rundeck/issues/700","id":113243472,"user":{"login":"gschueler","id":55603,"avatar_url":"https://avatars.githubusercontent.com/u/55603?v=3","gravatar_id":"","url":"https://api.github.com/users/gschueler","html_url":"https://github.com/gschueler","followers_url":"https://api.github.com/users/gschueler/followers","following_url":"https://api.github.com/users/gschueler/following{/other_user}","gists_url":"https://api.github.com/users/gschueler/gists{/gist_id}","starred_url":"https://api.github.com/users/gschueler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gschueler/subscriptions","organizations_url":"https://api.github.com/users/gschueler/orgs","repos_url":"https://api.github.com/users/gschueler/repos","events_url":"https://api.github.com/users/gschueler/events{/privacy}","received_events_url":"https://api.github.com/users/gschueler/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T18:13:07Z","updated_at":"2015-06-18T18:13:07Z","body":"in the example code there is an example Orchestrator plugin that can do this.  the plugin is not distributed with rundeck out of the box yet (sorry), it needs to be compiled and installed"}}