On 02/15/2011 11:42 PM, Jongki Suwandi wrote:
What about doing something like

atest job create -m $(atest host list -N -b some_label | awk '{print $1}') ...

That is kind of OK, but still susceptible to race conditions, eg: host being "taken" by other job between "host list" and job create. A pure scheduler side solutions is preferable IMHO.

But thanks for the suggestion :)


-Jongki

On Tue, Feb 15, 2011 at 5:29 PM, Lucas Meneghel Rodrigues <l...@redhat.com <mailto:l...@redhat.com>> wrote:

    Hi folks,

    Currently with the atest CLI, when we select -b [label], the
    behavior of
    the scheduler is to select *all* machines that match that label. Is
    there a way to force the scheduler to choose just one machine? I tried
    to specify synch-count (-y) but it didn't work.

    If there's no obvious way of doing it, I'll go with implementing a new
    command line flag to do it. Better ask first :)

    Cheers,

    Lucas

    _______________________________________________
    Autotest mailing list
    Autotest@test.kernel.org <mailto:Autotest@test.kernel.org>
    http://test.kernel.org/cgi-bin/mailman/listinfo/autotest



_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to