And the setting is called "EXTRA_CONTEXT_VARIABLES" (don't forge the "S" at the end).

I just tried locally and it's working perfectly fine on my setup.

Le ven. 2 août 2019 à 11:36, Axel Lebourhis <axel.lebourhis@linaro.org> a écrit :
Hi Remi,

Yes, I restarted all services.
Note that the job can be submitted without error.

On Fri, 2 Aug 2019 at 11:34, Remi Duraffort <remi.duraffort@linaro.org> wrote:
Hello,

Have you restarted lava-server-gunicorn after the change in the settings?

Le ven. 2 août 2019 à 11:29, Axel Lebourhis <axel.lebourhis@linaro.org> a écrit :
Hi all,

Our lava instance has been upgraded from 2019.03 to 2019.07 today.
Some of our teams need extra job context variables to be allowed, so I added in /etc/lava-server/settings.conf the following parameter, as described in one of your releases:
EXTRA_CONTEXT_VARIABLE: ["variable_1", "variable_2", "variable_3"]

It seems to work, but when I want to submit a job, sometimes I get the warning "extra key not allowed" and if I hit the button "validate" many times I finally get "valid definition". But sometimes I get "valid definition" directly.

Is it a known issue?

Best regards,
Axel
_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Team, Linaro


--
Rémi Duraffort
LAVA Team, Linaro