Hi, Lava Team!
Want to use user_commands as written here : 
https://validation.linaro.org/static/docs/v2/actions-command.html
Device dictionary has : 
{% set user_commands = {'switch_mode' : {'do': './usr/local/scripts/switch_mode.sh'}} %}
Job https://pastebin.com/hhWbC207
I have lxc and custom script to set device flash-mode. 
But have error 
error_msg: 'common' is a reserved namespace that should not be present with other namespaces
To fix it I added namespace to command:
- command:
    namespace: tlxc
    name: switch_to_qdl 
But error again in validate before submit 
Invalid definition: extra keys not allowed @ data['actions'][3]['command']['namespace']
I have fastboot and custom flash methods. pre_power_command in deploy I use for fastboot. Need to use somehow custom
 script to switch to another mode, that's why I decided to use -command action. 
Please help how to fix error with namespaces or suggest another solution.
Best regards,
Ilya Fedusiv