Michael DeHaan wrote:
Bill Peck wrote:
> Vreman, Peter wrote:
>
>
>> Please find a couple of small patches for background tasks:
>>
>> Improvements:
>> - Add background_power_system method. This makes it powering 10 systems with HP
ILO using usefull, because it will take 20 seconds instead of 10x20=200 seconds.
>>
>>
>>
> is this optional? The reason I ask is we have some power bars that can
> only have one connection at a time. If you make all the power commands
> run in parallel then it will fail for anything but the first command.
>
>
I'm wondering if we need to add some logic that needs to exist /outside/
the template to do this?
In general what Peter speaks of is right, and if it's just a WTI thing
perhaps a hack just for that is not so heinous.
its not just a WTI thing. A lot of these controllers don't have a lot
of memory so its not uncommon for them to not be able to handle more
than one connection. Especially if they support ssl connections. They
don't have much for processors either.
I think it would probably make sense to serialize requests to the same
FQDN. This would allow for the best of both. ilo is typically per host
so they would all go through right away.
>
>
>
>> - Call background_sync and background_power_sytstem from WebUI
>> - Add logging to task methods
>> - Replaced STARTED state by SCHEDULED and RUNNING
>>
>> Hack to make saving of objects work:
>> - Disable no_ctrlc (SIGINT) setting. It is not allowed in Threads.
>>
>> Regards,
>> Peter
>>
>>
>>
>> This e-mail and any attachment is for authorised use by the intended recipient(s)
only. It may contain proprietary material, confidential information and/or be subject to
legal privilege. It should not be copied, disclosed to, retained or used by, any other
party. If you are not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> cobbler-devel mailing list
>> cobbler-devel(a)lists.fedorahosted.org
>>
https://fedorahosted.org/mailman/listinfo/cobbler-devel
>>
>>
>>
> _______________________________________________
> cobbler-devel mailing list
> cobbler-devel(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler-devel
>
>
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel