I attach a tag on one of my device, and when submit job I will add "tags:" to my job, it's ok.
But, when others submit their job with same device-type which same as my device, as they did not specify "tags", they will have chance to run their job on my device. How to avoid it? I want the job not be scheduled to the device which have a tag if the job did not specify any tag.
I tried to set the device as private, but then only me can use this device, I have other guys in groupA which want to use the device, while I hae another some guys in groupB which didid not want to use these devices as some modules on the device is not same.
On Tue, 23 Apr 2019 at 10:05, cnspring2002 cnspring2002@aliyun.com wrote:
I attach a tag on one of my device, and when submit job I will add "tags:" to my job, it's ok.
But, when others submit their job with same device-type which same as my device, as they did not specify "tags", they will have chance to run their job on my device. How to avoid it? I want the job not be scheduled to the device which have a tag if the job did not specify any tag.
I tried to set the device as private, but then only me can use this device, I have other guys in groupA which want to use the device, while I hae another some guys in groupB which didid not want to use these devices as some modules on the device is not same.
The easiest way is to create a separate device type. This might mean some complication in your CI but currently there is no way to limit submissions to devices using tags.
milosz
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-----Ursprüngliche Nachricht-----
Von: Lava-users lava-users-bounces@lists.lavasoftware.org Im Auftrag von Milosz Wasilewski Gesendet: Dienstag, 23. April 2019 13:02 An: cnspring2002 cnspring2002@aliyun.com Cc: lava-users lava-users@lists.lavasoftware.org Betreff: Re: [Lava-users] Correct way to make device not affect others.
On Tue, 23 Apr 2019 at 10:05, cnspring2002 cnspring2002@aliyun.com wrote:
I attach a tag on one of my device, and when submit job I will add "tags:" to my job, it's ok.
But, when others submit their job with same device-type which same as my device, as they did not specify "tags", they will have chance to run their job on my device. How to avoid it? I want the job not be scheduled to the device which have a tag if the job did not specify any tag.
I tried to set the device as private, but then only me can use this device, I have other guys in groupA which want to use the device, while I hae another some guys in groupB which didid not want to use these devices as some modules on the device is not same.
The easiest way is to create a separate device type. This might mean some complication in your CI but currently there is no way to limit submissions to devices using tags.
milosz
I am also interested in this kind of device restriction and therefore opened an issue for it on the LAVA gitlab:
https://git.lavasoftware.org/lava/lava/issues/267
Please feel invited to join the discussion there.
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Mit freundlichen Grüßen / Best regards Tim Jaacks DEVELOPMENT ENGINEER Garz & Fricke GmbH Tempowerkring 2 21079 Hamburg Direct: +49 40 791 899 - 55 Fax: +49 40 791899 - 39 tim.jaacks@garz-fricke.com www.garz-fricke.com WE MAKE IT YOURS!
Sitz der Gesellschaft: D-21079 Hamburg Registergericht: Amtsgericht Hamburg, HRB 60514 Geschäftsführer: Matthias Fricke, Manfred Garz, Marc-Michael Braun
lava-users@lists.lavasoftware.org