Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from lava_scheduler_app.models import Device
>>> Device.objects.get(hostname="dragonboard5").get_state_display()
'Running'
>>>
I'm using 202103, I just remember I'm trying some multinode jobs, resubmit, cancel, and quickly click the fail button.
But I can't reproduce it on other devices, maybe it's a very low probability issue.
And above is the result from the console, could I also modify the device to "Idle" in this console, not just view it?