[ovirt-users] Cannot set storage domain on maintenance
nicolas at devels.es
nicolas at devels.es
Tue Sep 26 12:52:28 UTC 2017
Unfortunately it didn't work in this case.
I also tried to cleanup entities just in case by running:
# PGPASSWORD=... /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh
-t all -u engine
select fn_db_unlock_all();
INSERT 0 1
unlock all completed successfully.
It seems it clear a hung task but still cannot fix the issue.
Thanks anyway.
El 2017-09-26 13:44, Maton, Brett escribió:
> 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, <nicolas at 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.storage.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.storage.domain.DeactivateStorageDomainWithOvfUpdateCommand]
>> (default task-37) [2ec47109-db9d-425c-85fc-ee555e7dc4db] Validation
>> of action 'DeactivateStorageDomainWithOvfUpdate' failed for user
>> admin at internal. Reasons:
>>
> VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__DEACTIVATE,ERROR_CANNOT_DEACTIVATE_DOMAIN_WITH_TASKS
>> 2017-09-26 13:35:34,581+01 INFO
>>
> [org.ovirt.engine.core.bll.storage.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, nicolas at 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 at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users [1]
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users [1]
>
>
>
> Links:
> ------
> [1] http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list