Q: "vdsm-client Host getAllTasksInfo" Fails (Removing frozen task)

Hi, I have frozen task (creating snapshot) on one of my oVirt nodes, and trying to kill it. However, # sudo vdsm-client Host getAllTasksInfo vdsm-client: Command Host.getAllTasksInfo with args {} failed: However, sudo "vdsm-client Host getVMList” and "sudo vdsm-client Host getVMFullList" working fine. # /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -v -Z select exists (select * from information_schema.tables where table_schema = 'public' and table_name = 'command_entities'); t SELECT command_id,command_type,root_command_id,command_parameters,command_params_class,created_at,status,return_value,return_value_class,executed FROM GetAllCommandsWithZombieTasks(); So only letter “t” is printed and it is not clear what does it mean. I can run "/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -vR” but not sure its not too destructive. What is the problem with "vdsm-client Host getAllTasksInfo” ? Thanks in advance. Andrei

Hi, I fixed this with: su postgres psql -d engine -U postgres select * from job order by start_time desc; select DeleteJob('UUID_FROZEN_TASK_ID'); UUID_FROZEN_TASK_ID = zombie task ID. Anyway, original question remains about failure: # sudo vdsm-client Host getAllTasksInfo
vdsm-client: Command Host.getAllTasksInfo with args {} failed:
On 4 Aug 2022, at 12:58, Andrei Verovski <andreil1@starlett.lv> wrote:
Hi,
I have frozen task (creating snapshot) on one of my oVirt nodes, and trying to kill it. However,
# sudo vdsm-client Host getAllTasksInfo vdsm-client: Command Host.getAllTasksInfo with args {} failed:
However, sudo "vdsm-client Host getVMList” and "sudo vdsm-client Host getVMFullList" working fine.
# /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -v -Z
select exists (select * from information_schema.tables where table_schema = 'public' and table_name = 'command_entities'); t SELECT command_id,command_type,root_command_id,command_parameters,command_params_class,created_at,status,return_value,return_value_class,executed FROM GetAllCommandsWithZombieTasks();
So only letter “t” is printed and it is not clear what does it mean.
I can run "/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -vR” but not sure its not too destructive.
What is the problem with "vdsm-client Host getAllTasksInfo” ?
Thanks in advance.
Andrei
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V4T6G4HWESMJLD...
participants (1)
-
Andrei Verovski