
Hello I'm trying to put one of my ovirt host ( whcih is also the ovirt-engine) into maintenance mode but i receive this error: Error while executing action: Cannot switch Host OvirtHome to Maintenance mode. Image transfer is in progress for the following (5) disks: b6338adf-a43b-4051-9bc0-7bb436876b5e, b8aa8ac8-e4bf-4a31-bd6f-02a33e04f8c6, f8548d7b-40c4-4d1e-9b21-8d4aa4966fff, 3626520b-ba03-452a-833f-4e4d48215047, 4b3242d0-73f6-46c5-99ac-9bac86b4ab41 Please wait for the operations to complete and try again I start does transfert from command line ans they failed, how can i delete the reference to those from the linux command line ? My ovirt version is the 4.3 (latest one) I'm running it on centos 7.6 with latest update Hope someone can help me ! Best regards stephane

Hi Stephane, In order to delete the reference to those tasks you can use: PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh and: PGPASSWORD=password /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -R You can use -help flag for more options. *Regards,* *Shani Leviim* On Sat, Feb 23, 2019 at 6:36 PM <slaurencelle@hotmail.com> wrote:
Hello I'm trying to put one of my ovirt host ( whcih is also the ovirt-engine) into maintenance mode but i receive this error:
Error while executing action: Cannot switch Host OvirtHome to Maintenance mode. Image transfer is in progress for the following (5) disks:
b6338adf-a43b-4051-9bc0-7bb436876b5e, b8aa8ac8-e4bf-4a31-bd6f-02a33e04f8c6, f8548d7b-40c4-4d1e-9b21-8d4aa4966fff, 3626520b-ba03-452a-833f-4e4d48215047, 4b3242d0-73f6-46c5-99ac-9bac86b4ab41
Please wait for the operations to complete and try again
I start does transfert from command line ans they failed, how can i delete the reference to those from the linux command line ?
My ovirt version is the 4.3 (latest one) I'm running it on centos 7.6 with latest update
Hope someone can help me !
Best regards
stephane _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/V3UVMKZXUK4X36...

Hello Shani, thanks for the quick reply. i did the 2 requests but the error still show in th web gui when i try to put the host in maintenance. Do i need to do anything else to solve this ? I try to restart the ovirt-engine but same thing i even reboot the host completely and same result. thanks in advance for the help Stephane

Hello, You can check if there is any task running on SPM host using VDSclient command, if yes then you can stop and clear that task Clear the task from database as well, after that try to put host into maintenance mode. You will find VDSMClients command online somewhere on ovirt.com Thanks, Vaibhav Pagar On Sun, 24 Feb 2019 at 8:16 PM, <slaurencelle@hotmail.com> wrote:
Hello Shani, thanks for the quick reply. i did the 2 requests but the error still show in th web gui when i try to put the host in maintenance.
Do i need to do anything else to solve this ?
I try to restart the ovirt-engine but same thing i even reboot the host completely and same result.
thanks in advance for the help
Stephane _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/NM3XKIIVFDIA3Y...

Hello Vaibhav, i check with the vdsm-client and not task seem to be running for him. any other idea ? Stephane

Hello Stephane, There might be unfinished jobs in the database. Can you check from the job table and see if there is any unfinished job #Engine > select * from job where status!=‘FINISHED’; If yes, then clear that job and restart ovirt-engine service. After that try to put host into maintenance mode and see if it works for you. Thanks, Vaibhav On Sun, 24 Feb 2019 at 9:36 PM, <slaurencelle@hotmail.com> wrote:
Hello Vaibhav,
i check with the vdsm-client and not task seem to be running for him.
any other idea ?
Stephane _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/CV7PISSR42S3ZY...

Hello Vaibhav, i check in the database and there is no job with status different of finished, it's return me 0 row regards, stephane ________________________________ De : Vaibhav Pagar <vaibhavpagar7588@gmail.com> Envoyé : 26 février 2019 08:45:49 À : slaurencelle@hotmail.com Cc : users@ovirt.org Objet : Re: [ovirt-users] Re: unable to put ovirt host in maintenance Hello Stephane, There might be unfinished jobs in the database. Can you check from the job table and see if there is any unfinished job #Engine > select * from job where status!=‘FINISHED’; If yes, then clear that job and restart ovirt-engine service. After that try to put host into maintenance mode and see if it works for you. Thanks, Vaibhav On Sun, 24 Feb 2019 at 9:36 PM, <slaurencelle@hotmail.com<mailto:slaurencelle@hotmail.com>> wrote: Hello Vaibhav, i check with the vdsm-client and not task seem to be running for him. any other idea ? Stephane _______________________________________________ Users mailing list -- users@ovirt.org<mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org<mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/CV7PISSR42S3ZY...
participants (4)
-
Shani Leviim
-
slaurencelle@hotmail.com
-
stephane laurencelle
-
Vaibhav Pagar