Hello,
this is definitively a bug (I guess a race condition in the scheduler maybe). Which version are you using?
You will have to use the django command line
sudo lava-server manage shell
from lava_scheduler_app.models import Device Device.objects.get(hostname="qemu-01").get_state_display()
Replace qemu-01 by the name of your device.
Any idea what happens?
Rgds
Le mer. 16 juin 2021 à 03:34, Hedy Lamarr lamarrhedy97@gmail.com a écrit :
Dear all,
I don't know what operation I have done, but when a device does not have any running job, I still see the device is in running status. I just saw this 1 time, maybe it's a bug or just bad luck. Anyway, I can't reproduce it on other devices, so it's ok. But, could you teach me to reset the status to make the device work again? Do we have some method to reset the status from "Running" to "Idle", or any api if we don't have an interface on the UI? [image: image.png] Thanks, Hedy Lamarr
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users