<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.m-7853891881406633652m-1478215842219426934m6098655276645545085m6954652888978193027hoenzb
        {mso-style-name:m_-7853891881406633652m_-1478215842219426934m_6098655276645545085m_6954652888978193027hoenzb;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">I remember facing a similar issue during decommissioning of my Ovirt 3 environment.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Several tasks showed on GUI (and storage operations unavailable) but no tasks on command line.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Eventually restarting the engine VM cleaned up the situation and made the storage avail again.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">AG<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> users-bounces@ovirt.org [mailto:users-bounces@ovirt.org]
<b>On Behalf Of </b>Elad Ben Aharon<br>
<b>Sent:</b> Tuesday, December 20, 2016 5:24 PM<br>
<b>To:</b> Juan Pablo &lt;pablo.localhost@gmail.com&gt;<br>
<b>Cc:</b> users &lt;Users@ovirt.org&gt;<br>
<b>Subject:</b> Re: [ovirt-users] &quot;Deactivating Storage Domain&quot; error<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Do you have a storage domain in the DC in status 'locked'?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo &lt;<a href="mailto:pablo.localhost@gmail.com" target="_blank">pablo.localhost@gmail.com</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Elad, I did that and running the commands on the SPM&nbsp; returned :<br>
<br>
[root@virt01-int ~]# vdsClient -s 0 getAllTasks<br>
<br>
[root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`<br>
&nbsp;&nbsp;&nbsp; spmId = 1<br>
&nbsp;&nbsp;&nbsp; spmStatus = SPM<br>
&nbsp;&nbsp;&nbsp; spmLver = 8<br>
<br>
[root@virt01-int ~]# vdsClient -s 0 getAllTasks<br>
<br>
[root@virt01-int ~]# <br>
<br>
<o:p></o:p></p>
</div>
<p class="MsoNormal">thanks for your time,<o:p></o:p></p>
</div>
<p class="MsoNormal">JP<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">2016-12-20 12:55 GMT-03:00 Elad Ben Aharon &lt;<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">It's OK, but you need to make sure you're checking it on the host which has the SPM role. So, first check on the host that it is the current SPM with the following:<br>
<br>
vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Look for the host that has &quot; spmStatus = SPM&quot;<o:p></o:p></p>
</div>
<p class="MsoNormal">And after you find the SPM, check for the running tasks as you did before.<o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo &lt;<a href="mailto:pablo.localhost@gmail.com" target="_blank">pablo.localhost@gmail.com</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">&nbsp;thanks for your reply, I did check with vdsClient -s 0 getAllTasks , returned nothing. is this still the correct way to check?
<o:p></o:p></p>
</div>
<p class="MsoNormal">regards,<o:p></o:p></p>
</div>
<p class="MsoNormal">JP<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">2016-12-20 12:32 GMT-03:00 Elad Ben Aharon &lt;<a href="mailto:ebenahar@redhat.com" target="_blank">ebenahar@redhat.com</a>&gt;:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Did you check for running tasks in the SPM host?
<br>
<br>
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo &lt;<a href="mailto:pablo.localhost@gmail.com" target="_blank">pablo.localhost@gmail.com</a>&gt; wrote:<o:p></o:p></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Hi, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">first of all , thanks to all the Ovirt/Rhev team for the outstanding work!
<br>
&nbsp; <o:p></o:p></p>
</div>
<p class="MsoNormal">we are having a small issue with Ovirt 4.0.5 after testing a full end of year infrastructure shutdown, everything came back correctly except that we get a 'Deactivating Storage Domain' under the tasks tab.
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">another dc/cluster running 3.6.7 reported no error with same maintenance procedure.. maybe we did something wrong?
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">would you please be so kind to point me on the right direction to fix it? I looked &nbsp;
<br>
<br>
vdsClient -s 0 getAllTasks , but returns nothing...<o:p></o:p></p>
</div>
<p class="MsoNormal">thanks for your time guys and merry christmas and happy new year if we dont talk again soon!
<o:p></o:p></p>
</div>
<p class="MsoNormal"><span class="m-7853891881406633652m-1478215842219426934m6098655276645545085m6954652888978193027hoenzb"><span style="color:#888888">JP</span></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>