<div dir="ltr"><div><div><div><div><div>Hi Liron, Marry christmas!<br><br>1- [root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo e6a85203-32e0-4200-b3d7-<wbr>83f140203294<br> uuid = e6a85203-32e0-4200-b3d7-<wbr>83f140203294<br> vguuid = fDclFZ-KLel-t36P-VAFm-hyle-<wbr>RxcU-uOc7gj<br> state = OK<br> version = 3<br> role = Master<br> type = ISCSI<br> class = Data<br> pool = ['58405b2d-0094-0380-0260-<wbr>0000000000a5']<br> name = nas01<br></div>2- which file do you want me to share ? <br><br></div>how do I perform task a and b you mention? is there a guide somewhere ?<br><br></div>I appreciate your help, <br></div>best regards,<br></div>JP<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-25 11:10 GMT-03:00 Liron Aravot <span dir="ltr"><<a href="mailto:laravot@redhat.com" target="_blank">laravot@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Dec 23, 2016 at 2:32 PM, Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>> wrote:<br>
> So, what do you guys suggest? isn't there a hint or a way to fix this issue?<br>
><br>
> thanks for your help,<br>
> JP<br>
><br>
<br>
</span>Hi Juan,<br>
Having a "running" task under the tasks tab doesn't mean there's a<br>
task running on vdsm - there are engine "tasks" and vdsm tasks.<br>
<br>
1. what is the current status of the domain listed in the task?<br>
2. do you see any print related to the operation in the engine log<br>
file currently? (you can upload it so we'll be able to help you with<br>
verifying that).<br>
<br>
After you verify the operation is indeed not running<br>
You can delete that specific job from the jobs table:<br>
a. select job_id from job where description like '%...%';<br>
b. delete from job where..<br>
<br>
Let me know if that worked for you,<br>
Liron.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
> 2016-12-20 13:35 GMT-03:00 Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>>:<br>
>><br>
>> Andrea, thanks for your reply, I already tried that , but unfortunately, a<br>
>> restart of the engine VM did not solve the error.<br>
>><br>
>> best regards,<br>
>> JP<br>
>><br>
>> 2016-12-20 13:32 GMT-03:00 Andrea Ghelardi <<a href="mailto:a.ghelardi@iontrading.com">a.ghelardi@iontrading.com</a>>:<br>
>>><br>
>>> I remember facing a similar issue during decommissioning of my Ovirt 3<br>
>>> environment.<br>
>>><br>
>>> Several tasks showed on GUI (and storage operations unavailable) but no<br>
>>> tasks on command line.<br>
>>><br>
>>> Eventually restarting the engine VM cleaned up the situation and made the<br>
>>> storage avail again.<br>
>>><br>
>>><br>
>>><br>
>>> Cheers<br>
>>><br>
>>> AG<br>
>>><br>
>>><br>
>>><br>
>>> From: <a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a> [mailto:<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.<wbr>org</a>] On Behalf<br>
>>> Of Elad Ben Aharon<br>
>>> Sent: Tuesday, December 20, 2016 5:24 PM<br>
>>> To: Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>><br>
>>> Cc: users <<a href="mailto:Users@ovirt.org">Users@ovirt.org</a>><br>
>>> Subject: Re: [ovirt-users] "Deactivating Storage Domain" error<br>
>>><br>
>>><br>
>>><br>
>>> Do you have a storage domain in the DC in status 'locked'?<br>
>>><br>
>>><br>
>>><br>
>>> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>> Elad, I did that and running the commands on the SPM returned :<br>
>>><br>
>>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks<br>
>>><br>
>>> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0<br>
>>> getConnectedStoragePoolsList`<br>
>>> spmId = 1<br>
>>> spmStatus = SPM<br>
>>> spmLver = 8<br>
>>><br>
>>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks<br>
>>><br>
>>> [root@virt01-int ~]#<br>
>>><br>
>>> thanks for your time,<br>
>>><br>
>>> JP<br>
>>><br>
>>><br>
>>><br>
>>> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon <<a href="mailto:ebenahar@redhat.com">ebenahar@redhat.com</a>>:<br>
>>><br>
>>> It's OK, but you need to make sure you're checking it on the host which<br>
>>> has the SPM role. So, first check on the host that it is the current SPM<br>
>>> with the following:<br>
>>><br>
>>> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`<br>
>>><br>
>>> Look for the host that has " spmStatus = SPM"<br>
>>><br>
>>> And after you find the SPM, check for the running tasks as you did<br>
>>> before.<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,<br>
>>> returned nothing. is this still the correct way to check?<br>
>>><br>
>>> regards,<br>
>>><br>
>>> JP<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon <<a href="mailto:ebenahar@redhat.com">ebenahar@redhat.com</a>>:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>><br>
>>><br>
>>> Did you check for running tasks in the SPM host?<br>
>>><br>
>>><br>
>>><br>
>>> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo <<a href="mailto:pablo.localhost@gmail.com">pablo.localhost@gmail.com</a>><br>
>>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> first of all , thanks to all the Ovirt/Rhev team for the outstanding<br>
>>> work!<br>
>>><br>
>>><br>
>>> we are having a small issue with Ovirt 4.0.5 after testing a full end of<br>
>>> year infrastructure shutdown, everything came back correctly except that we<br>
>>> get a 'Deactivating Storage Domain' under the tasks tab.<br>
>>><br>
>>> another dc/cluster running 3.6.7 reported no error with same maintenance<br>
>>> procedure.. maybe we did something wrong?<br>
>>><br>
>>> would you please be so kind to point me on the right direction to fix it?<br>
>>> I looked<br>
>>><br>
>>> vdsClient -s 0 getAllTasks , but returns nothing...<br>
>>><br>
>>> thanks for your time guys and merry christmas and happy new year if we<br>
>>> dont talk again soon!<br>
>>><br>
>>> JP<br>
>>><br>
>>><br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> Users mailing list<br>
>>> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
>>> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>><br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
><br>
</div></div></blockquote></div><br></div>