Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1024 closed enhancement (fixed)

Allow users to select a specific job-agent when creating a new job

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.8
Component: core Version:
Keywords: Cc:

Description

When job agents are used to execute jobs there is limited way to control which job agent a particular job end up on. This can be a problem in a production environment that needs to add a new job agent server. Before the new server is made available to all users an admin may want to check that it is working properly. While it is possible to make the new server only accept jobs from the admin, it is not possible to prevent the other job agents from taking the job.

So, it would be good to make it possible to select which job agent that should handle a specific job. There should also be an 'auto' option that works like today, and possibly an 'internal' option for running the job on the web server unless it has been disabled. As long as the job is in the 'waiting' status it should also be possible to change the job agent.

We should also think about if we want to give the possibility to select a job agent to all users or if this should require a special permissions (eg. like the SHARE_TO_EVERYONE permission).

This ticket involves many components (should maybe be split into separate tickets):

  • In the 'core' we must be able to store the selected job agent. I think possibly only as an ID value and NOT as a link since the latter would make it impossible to delete a job agent if a job has been running on it.
  • In the 'jobagent' we must change the behavior of job agents so they only pick jobs that has the selected 'auto' option or the specified job agent.
  • In the 'web' we must add functionality to the user interface so it is possible to select/change/list job agent.

Change History (3)

comment:1 Changed 14 years ago by Nicklas Nordborg

Milestone: BASE 2.8
Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 Changed 14 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [4311]) Fixes #1024: Allow users to select a specific job-agent when creating a new job

comment:3 Changed 13 years ago by Nicklas Nordborg

(In [4378]) References #1064, #1082, #1050, #1024, #967

Updated UML diagrams as a result of new db columns added by the referenced tickets.

Note: See TracTickets for help on using tickets.