[StarCluster] executing plugins before enabling/adding to queue

Lyn Gerner schedulerqueen at gmail.com
Sat Jun 27 17:54:23 EDT 2015


Hi James,

Your high-level process seems correct.  Do you have a "def on_add_node"
line in your plugin?

If yes, it's probably best if you post your config, plugin, and the log
from your failed scaling action.

Best,
Lyn


On Sat, Jun 27, 2015 at 10:06 AM, James Ching <evolve20 at gmail.com> wrote:

> Re-posting this question, any thoughts on how I may be able to have the
> clustersetup plugin run after a custom plugin?  I have jobs that rely on
> the local space hence why I want the ephemeral drives formatted first
> before dropping it into the queue to take jobs.
>
> Thanks in advance!
>
>
> On Wed, May 27, 2015 at 10:29 AM, James Ching <evolve20 at gmail.com> wrote:
>
>> Hi,
>>
>> I'm currently using a plugin to format the local ephemeral drives and it
>> works great when I launch a new cluster but when I use the load balance
>> feature and it adds nodes to expand the queue, the node being formatted
>> takes in jobs and they end up failing because it's in the process of
>> formatting the drives.
>>
>> I tried the queue disable_queue feature and it doesn't seem to work, I
>> also ensured that when I declared PLUGINS, i have the format first, then
>> sge last but still no luck... is there something that I am missing to have
>> the node added to the queue after the plugins are executed?
>>
>> Thanks!
>>
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20150627/6de09995/attachment.htm


More information about the StarCluster mailing list