radical-cybertools / radical.owms

Tiered Resource OverlaY
Other
0 stars 1 forks source link

Incompatible plugin choices should raise an error at the strategy level #48

Open mturilli opened 10 years ago

mturilli commented 10 years ago

The following combination:

PLUGIN_OVERLAY_SCHEDULER  = 'round_robin'
PLUGIN_OVERLAY_PROVISIONER  = 'local'

Raises an error only when the scheduler is called. This is not desirable as part of the workload has been already translated. Even worse would be the equivalent error with:

PLUGIN_WORKLOAD_SCHEDULER   = 'round_robin'
PLUGIN_WORKLOAD_DISPATCHER  = 'local'

(or any analogous incompatibility at workload level) because pilots might have been already scheduled.

I believe we need a comprehensive and early management of the plugins dependencies. See also tickets #46 and #47.