Have you tried to remove your task via the taskcleaner.sh
You can find some details on https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities.html

I should admit , that I have never used that.

Best Regards,
Strahil Nikolov

В петък, 26 юли 2019 г., 09:03:10 ч. Гринуич+3, Enrico <enrico.becchetti@pg.infn.it> написа:


Il 25/07/19 22:27, Strahil Nikolov ha scritto:
> Hi all,
>my ovirt cluster has got 3 Hypervisors runnig Centos 7.5.1804 vdsm is 4.20.39.1-1.el7,
>ovirt engine is 4.2.4.5-1.el7, the storage systems are HP MSA P2000 and 2050 (fibre channel).

>I need to stop one of the hypervisors for maintenance but this system is the storage pool manager.

>For this reason I decided to manually activate SPM in one of the other nodes but this operation is not
successful.

Why would you do that ?
Just put the host in maintenance and the system will evacuate all VMs and another host will be promoted as SPM . 
Once the host is in maintenance - you can proceed with your tasks.

P.S: Don't forget to remove the mainteance mode once you are over.

Best Regards,
Strahil Nikolov
Hi Strahil,
I did not tell you that this is the first thing I tried but it didn't work because SPM can't be activated in another host,
then I tried to manually move SPM without success.
Any ideas ?
Thanks a lot !

Best Regards

Enrico

-- 
_______________________________________________________________________

Enrico Becchetti                    Servizio di Calcolo e Reti

Istituto Nazionale di Fisica Nucleare - Sezione di Perugia
Via Pascoli,c/o Dipartimento di Fisica  06123 Perugia (ITALY)
Phone:+39 075 5852777             Mail: Enrico.Becchetti<at>pg.infn.it 
_______________________________________________________________________