It's not the most elegant or guaranteed to fix your issue, but I've found that running engine-setup again on the hosted-engine server usually cleans up broken and orphaned tasks.
Any running VM's will stay up, you'll just briefly loose access to the UI while engine-setup restarts the interface. On 26 September 2017 at 13:36, <nico...@devels.es> wrote: > In the engine.log I can see this: > > 2017-09-26 13:35:33,345+01 INFO > [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] > (DefaultQuartzScheduler7) [6a4aa90c] Polling and updating Async Tasks: 2 > tasks, 1 tasks to poll now > 2017-09-26 13:35:34,500+01 INFO [org.ovirt.engine.core.bll.sto > rage.domain.DeactivateStorageDomainWithOvfUpdateCommand] (default > task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Lock Acquired to object > 'EngineLock:{exclusiveLocks='[42222886-cee8-47ba-a679-16a7db522779=STORAGE]', > sharedLocks='[75bf8f48-970f-42bc-8596-f8ab6efb2b63=POOL]'}' > 2017-09-26 13:35:34,580+01 WARN [org.ovirt.engine.core.bll.sto > rage.domain.DeactivateStorageDomainWithOvfUpdateCommand] (default > task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Validation of action > 'DeactivateStorageDomainWithOvfUpdate' failed for user admin@internal. > Reasons: VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__DEACTIVATE,ERROR_CAN > NOT_DEACTIVATE_DOMAIN_WITH_TASKS > 2017-09-26 13:35:34,581+01 INFO [org.ovirt.engine.core.bll.sto > rage.domain.DeactivateStorageDomainWithOvfUpdateCommand] (default > task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Lock freed to object > 'EngineLock:{exclusiveLocks='[42222886-cee8-47ba-a679-16a7db522779=STORAGE]', > sharedLocks='[75bf8f48-970f-42bc-8596-f8ab6efb2b63=POOL]'}' > 2017-09-26 13:35:36,440+01 INFO > [org.ovirt.engine.core.bll.tasks.AsyncTaskManager] > (DefaultQuartzScheduler7) [6a4aa90c] Finished polling Tasks, will poll > again in 10 seconds. > > > El 2017-09-26 13:34, nico...@devels.es escribió: > >> Hi, >> >> We're running ovirt-engine-4.1.5.2-1 and we're trying to set one of >> the storage domains on maintenance in order to remove it, as there's >> nothing left on it besides some templates. >> >> To do so, I open the 'Data Centers' tab, then the 'Storage' subtab, >> select the storage domain and click on 'Maintenance'. When asked for >> confirmation I click OK. After that, this error message is shown: >> >> Error while executing action: Cannot deactivate Storage while there >> are running tasks on this Storage. >> -Please wait until tasks will finish and try again. >> >> As far as I know, there are no pending tasks on this storage. The >> Events tab only shows a movement of a disk which has nothing to do >> with this storage domain. >> >> What can I do to solve this? >> >> Thanks. >> >> Nicolás >> _______________________________________________ >> Users mailing list >> Users@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > Users@ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users