Hello,
Is there a way to overwrite the SERVER_IP variable either in the LAVA environment or in the device-types template/device dictionary? https://lava.ciplatform.org/static/docs/v2/migrating-admin-example.html?high...
No matter what I do, it remains in the rendered yaml file for a device. Unfortunately, the IP it picks up for the environment I'm working is wrong, as I'm running LAVA within a docker-container and it picks up the IP of the container, but the tftp server (within docker) is proxified to the host, meaning that the IP address it needs to pick up is the host's IP. Hence my question, is there a way to overwrite it so that the desired IP appears in the rendered job submission yaml?
Thanks,
Patryk
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
On Wed, 24 Oct 2018 at 16:52, Patryk Mungai Ndungu patryk.mungai-ndungu.kx@renesas.com wrote:
Hello,
Is there a way to overwrite the SERVER_IP variable either in the LAVA environment or in the device-types template/device dictionary? https://lava.ciplatform.org/static/docs/v2/migrating-admin-example.html?high...
https://git.lavasoftware.org/lava/lava/blob/master/etc/dispatcher.yaml
It needs to be set on a per-worker basis.
https://master.lavasoftware.org/static/docs/v2/simple-admin.html#lava-config...
https://master.lavasoftware.org/static/docs/v2/pipeline-admin.html#extra-dis...
No matter what I do, it remains in the rendered yaml file for a device. Unfortunately, the IP it picks up for the environment I’m working is wrong, as I’m running LAVA within a docker-container and it picks up the IP of the container, but the tftp server (within docker) is proxified to the host, meaning that the IP address it needs to pick up is the host’s IP. Hence my question, is there a way to overwrite it so that the desired IP appears in the rendered job submission yaml?
Thanks,
Patryk
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
Thanks Neil, that solved it for me.
Patryk
-----Original Message----- From: Neil Williams neil.williams@linaro.org Sent: 24 October 2018 16:55 To: Patryk Mungai Ndungu patryk.mungai-ndungu.kx@renesas.com Cc: lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] Overwriting SERVER_IP
On Wed, 24 Oct 2018 at 16:52, Patryk Mungai Ndungu <patryk.mungai- ndungu.kx@renesas.com> wrote:
Hello,
Is there a way to overwrite the SERVER_IP variable either in the LAVA environment or in the device-types template/device dictionary? https://lava.ciplatform.org/static/docs/v2/migrating-admin-example.htm l?highlight=server_ip
https://git.lavasoftware.org/lava/lava/blob/master/etc/dispatcher.yaml
It needs to be set on a per-worker basis.
https://master.lavasoftware.org/static/docs/v2/simple-admin.html#lava- configuration-files
https://master.lavasoftware.org/static/docs/v2/pipeline-admin.html#extra- dispatcher-configuration
No matter what I do, it remains in the rendered yaml file for a device.
Unfortunately, the IP it picks up for the environment I’m working is wrong, as I’m running LAVA within a docker-container and it picks up the IP of the container, but the tftp server (within docker) is proxified to the host, meaning that the IP address it needs to pick up is the host’s IP. Hence my question, is there a way to overwrite it so that the desired IP appears in the rendered job submission yaml?
Thanks,
Patryk
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne
End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
lava-users@lists.lavasoftware.org