<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
@font-face
        {font-family:ION;
        panose-1:2 0 5 5 0 0 0 2 0 4;}
@font-face
        {font-family:"Source Sans Pro";
        panose-1:2 11 5 3 3 4 3 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1446727994;
        mso-list-type:hybrid;
        mso-list-template-ids:438582106 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello again,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Just to provide an update for future reference, I&#8217;ve been unable to sort this problem out.<o:p></o:p></p>
<p class="MsoNormal">However, Ovirt4 does not show this failure.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">My current approach to move VMs from one installation to another is:<o:p></o:p></p>
<p class="MsoNormal">1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Shutdown VM in ovirt3.<o:p></o:p></p>
<p class="MsoNormal">2)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maintenance VM storage<o:p></o:p></p>
<p class="MsoNormal">3)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Clone VM storage at LUN level<o:p></o:p></p>
<p class="MsoNormal">4)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Import cloned storage in ovirt4<o:p></o:p></p>
<p class="MsoNormal">5)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Import VM in ovirt4<o:p></o:p></p>
<p class="MsoNormal">If everything is ok: <o:p></o:p></p>
<p class="MsoNormal">6a)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; detach &#43; remove original VM storage in ovirt3<o:p></o:p></p>
<p class="MsoNormal">7a)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; remove mappings for original VM storage LUN in ovirt3; this imply cluster instability (sanlock crash on hosts);
<o:p></o:p></p>
<p class="MsoNormal">8a) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; recover cluster; this implies shutting down host (and its VM) one by one<o:p></o:p></p>
<p class="MsoNormal">9a) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete unmapped original LUN from storage manager<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">When Sanlock freeze on host, the only solution found so far is to reboot it. This has to be done on all host experiencing this problem (which basically means: all hosts in the cluster)<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Cheers<o:p></o:p></p>
<p class="MsoNormal">AG<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> Andrea Ghelardi <br>
<b>Sent:</b> Tuesday, November 08, 2016 16:40<br>
<b>To:</b> users@ovirt.org<br>
<b>Subject:</b> [HELP] unmapping a deleted storage domain triggers crash ovirt<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="IT">Hello people,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="IT"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">something&#8217;s not right in my ovirt infrastructure.<o:p></o:p></p>
<p class="MsoNormal">I currently have two different ovirt installation:<o:p></o:p></p>
<p class="MsoNormal">Ovirt3: 7 hosts linked to Compellent iscsi storage running ovirt 3.5.6<o:p></o:p></p>
<p class="MsoNormal">Ovirt4: 4 hosts linked to (same) Compellent iscsi storage running ovirt 4.0.4<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m currently moving my guests from ovirt3 to ovirt4.<o:p></o:p></p>
<p class="MsoNormal">Since iscsi storage is linked to both installations, my high level approach is:<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">1)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Shutdown VM in ovirt3.<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">2)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Maintenance &#43; detach &#43; remove VM storage in ovirt3<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">3)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Change LUN mapping via iscsi storage manager from ovirt3 to ovirt4<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">4)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Import storage in ovirt4<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">5)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Import VM in ovirt4<o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">6)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Run and cheers with high grade liquor. GOTO step 1 for different VM.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Now, as soon as I perform step 3 (remove mappings from LUN), ovirt3 goes crazy and eventually forces me to reboot all hosts one by one.<o:p></o:p></p>
<p class="MsoNormal">I tried different low level approaches to unmap LUN mpath&#8217;ed from hosts with inconsistent results.
<o:p></o:p></p>
<p class="MsoNormal">A notable error log extract is:<o:p></o:p></p>
<p class="MsoNormal">Nov&nbsp; 8 15:30:52 sovana vdsm root ERROR Process failed with rc=1 out='\nudevadm settle - timeout of 5 seconds reached, the event queue contains:\n&nbsp; /sys/devices/virtual/block/dm-39 (8603)\n&nbsp; /sys/devices/virtual/block/dm-39 (8604)\n&nbsp; /sys<o:p></o:p></p>
<p class="MsoNormal">/devices/virtual/block/dm-39 (8605)\n&nbsp; /sys/devices/virtual/block/dm-39 (8606)\n&nbsp; /sys/devices/virtual/block/dm-39 (8607)\n&nbsp; /sys/devices/virtual/block/dm-39 (8608)\n&nbsp; /sys/devices/virtual/block/dm-39 (8609)\n&nbsp; /sys/devices/virtual/block<o:p></o:p></p>
<p class="MsoNormal">/dm-39 (8610)\n&nbsp; /sys/devices/virtual/block/dm-39 (8611)\n&nbsp; /sys/devices/virtual/block/dm-39 (8612)\n&nbsp; /sys/devices/virtual/block/dm-39 (8613)\n&nbsp; /sys/devices/virtual/block/dm-39 (8614)\n&nbsp; /sys/devices/virtual/block/dm-39 (8615)\n&nbsp; /sys/<o:p></o:p></p>
<p class="MsoNormal">devices/virtual/block/dm-39 (8616)\n&nbsp; /sys/devices/virtual/block/dm-39 (8617)\n&nbsp; /sys/devices/virtual/block/dm-39 (8618)\n&nbsp; /sys/devices/virtual/block/dm-39 (8619)\n&nbsp; /sys/devices/virtual/block/dm-39 (8620)\n&nbsp; /sys/devices/virtual/block/<o:p></o:p></p>
<p class="MsoNormal">dm-39 (8621)\n&nbsp; /sys/devices/virtual/block/dm-39 (8622)\n&nbsp; /sys/devices/virtual/block/dm-39 (8623)\n&nbsp; /sys/devices/virtual/block/dm-39 (8624)\n&nbsp; /sys/devices/virtual/block/dm-39 (8625)\n&nbsp; /sys/devices/virtual/block/dm-39 (8626)\n&nbsp; /sys/d<o:p></o:p></p>
<p class="MsoNormal">evices/virtual/block/dm-39 (8627)\n&nbsp; /sys/devices/virtual/block/dm-39 (8628)\n&nbsp; /sys/devices/virtual/block/dm-39 (8629)\n&nbsp; /sys/devices/virtual/block/dm-39 (8630)\n&nbsp; /sys/devices/virtual/block/dm-39 (8631)\n&nbsp; /sys/devices/virtual/block/d<o:p></o:p></p>
<p class="MsoNormal">m-39 (8632)\n&nbsp; /sys/devices/virtual/block/dm-39 (8633)\n&nbsp; /sys/devices/virtual/block/dm-39 (8634)\n&nbsp; /sys/devices/virtual/block/dm-39 (8635)\n&nbsp; /sys/devices/virtual/block/dm-39 (8636)\n&nbsp; /sys/devices/virtual/block/dm-39 (8637)\n&nbsp; /sys/de<o:p></o:p></p>
<p class="MsoNormal">vices/virtual/block/dm-39 (8638)\n&nbsp; /sys/devices/virtual/block/dm-39 (8639)\n&nbsp; /sys/devices/virtual/block/dm-39 (8640)\n&nbsp; /sys/devices/virtual/block/dm-39 (8641)\n&nbsp; /sys/devices/virtual/block/dm-39 (8642)\n&nbsp; /sys/devices/virtual/block/dm<o:p></o:p></p>
<p class="MsoNormal">-39 (8643)\n&nbsp; /sys/devices/virtual/block/dm-39 (8644)\n&nbsp; /sys/devices/virtual/block/dm-39 (8645)\n&nbsp; /sys/devices/virtual/block/dm-39 (8646)\n&nbsp; /sys/devices/virtual/block/d<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I really need your help to sort this out as I&#8217;m actually blocked in my task.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Why mapping changes triggers ovirt crash on a storage which ovirt should not care about?<o:p></o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><b><span lang="IT" style="font-size:9.0pt;font-family:ION;color:black">Andrea Ghelardi<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="IT" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:gray"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="IT" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:gray">&#43;39 050 2203 71</span><span lang="IT" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif">
<b><span style="color:#33CCFF">| </span></b></span><span lang="EN-GB" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:gray"><a href="http://www.iongroup.com/"><span lang="IT" style="color:gray">www.iongroup.com</span></a></span><span lang="EN-GB" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:#33CCFF">
</span><b><span lang="IT" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:#33CCFF">|
</span></b><u><span lang="EN-GB" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:#0563C1"><a href="mailto:a.ghelardi@iontrading.com"><span lang="IT">a.ghelardi@iontrading.com</span></a></span></u><span lang="IT" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="IT" style="font-size:8.0pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:gray">Via San Martino, 52 &#8211; 56125 Pisa - ITALY<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="IT" style="font-family:ION"><o:p>&nbsp;</o:p></span></b></p>
<p class="MsoNormal"><i><span style="font-size:7.5pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:silver">This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee
 and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and
 any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and ION Trading is not responsible for their abuse by third parties,
 nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. ION Trading accepts no liability or responsibility arising out of or in any way connected to this email.</span></i><span style="font-size:7.5pt;font-family:&quot;Source Sans Pro&quot;,sans-serif"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-family:ION"><o:p>&nbsp;</o:p></span></b></p>
<p class="MsoNormal"><img border="0" width="120" height="66" style="width:1.25in;height:.6875in" id="Picture_x0020_1" src="cid:image001.png@01D240F1.5E6E2B20" alt="iON_HBlu_small"><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:6.0pt;font-family:ION;color:black">Automation through innovation</span><i><span style="font-size:7.5pt;font-family:&quot;Source Sans Pro&quot;,sans-serif;color:silver"><o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>