<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 4, 2017 at 10:56 AM, Arsène Gschwind <span dir="ltr">&lt;<a href="mailto:arsene.gschwind@unibas.ch" target="_blank">arsene.gschwind@unibas.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Hi Didi,<br>
    </p><div><div class="gmail-h5">
    <br>
    <div class="gmail-m_-1388566559526568039moz-cite-prefix">On 09/04/2017 10:15 AM, Yedidyah Bar
      David wrote:<br>
    </div>
    <blockquote type="cite">
      <pre>On Mon, Sep 4, 2017 at 10:16 AM, Arsène Gschwind
<a class="gmail-m_-1388566559526568039moz-txt-link-rfc2396E" href="mailto:arsene.gschwind@unibas.ch" target="_blank">&lt;arsene.gschwind@unibas.ch&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre>Hi all,

A while ago I had some problem with hosted-engine network which wasn&#39;t set
correctly at deploy time, so I finally decided to redeploy the hosted engine
in the hope the network will be set correctly this time. I&#39;ve followed this
procedure:

Stop all VMs
Full backup of HE DB and export to safe place
Cleanup HE storage following <a class="gmail-m_-1388566559526568039moz-txt-link-freetext" href="https://access.redhat.com/solutions/2121581" target="_blank">https://access.redhat.com/<wbr>solutions/2121581</a>
Reboot Hosts
Re-deploy HE until DB recovery
Recover DB adding the following param:
 --he-remove-storage-vm             Removes the hosted-engine storage
domain, all its entities and the hosted-engine VM during restore.
 --he-remove-hosts                  Removes all the hosted-engine hosts
during restore.

Finalize HE deployment.

Everything did run without errors and I&#39;m able to access Web UI.

But now I don&#39;t see my HE VM and its respective Storage Domain, the logs
says it isn&#39;t able to import it. I see all other SD and I&#39;m able to manage
my VMs as before.

Please find attached engine.log
</pre>
      </blockquote>
      <pre>I think this is your problem:

2017-09-04 03:26:14,272+02 INFO
[org.ovirt.engine.core.bll.<wbr>storage.domain.<wbr>AddExistingBlockStorageDomainC<wbr>ommand]
(org.ovirt.thread.pool-6-<wbr>thread-24) [2383eaa0] There are existing luns
in the system which are part of VG id
&#39;vvIoS2-fZTZ-99Ox-Ltzq-pr8U-<wbr>SL2z-wbTU8g&#39;</pre>
    </blockquote></div></div>
    I don&#39;t see a VG with this ID, here the IDs I see on the hosts:<br>
    <br>
    <tt>  VG                            <wbr>       #PV #LV #SN Attr   VSize 
      VFree </tt><tt><br>
    </tt><tt>  6b62cc06-fc44-4c38-af6d-<wbr>bfd9cbe73246   1  10   0 wz--n-
      99.62g 14.50g</tt><tt><br>
    </tt><tt>  b0414c06-d984-4001-a998-<wbr>fd9a2e79fb83   2  70   0 wz--n-
      10.00t  2.31t</tt><tt><br>
    </tt><tt>  b2e30961-7cff-4cca-83d6-<wbr>bee3a4f890ee   2  47   0 wz--n- 
      5.27t  2.50t</tt></div></blockquote><div><br></div><div><br></div><div>Could you please repeat the command on host adm-kvmh70 ?</div><div><br></div><div><div>2017-09-04 09:04:18,163+02 INFO  [org.ovirt.engine.core.bll.storage.domain.ImportHostedEngineStorageDomainCommand] (org.ovirt.thread.pool-6-thread-34) [247a3718] Running command: ImportHostedEngineStorageDomainCommand internal: true.</div><div>2017-09-04 09:04:18,189+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] (org.ovirt.thread.pool-6-thread-34) [7d2e6cb2] START, GetVGInfoVDSCommand(HostName = adm-kvmh70, GetVGInfoVDSCommandParameters:{runAsync=&#39;true&#39;, hostId=&#39;acbacabb-6c4a-43fd-a1e2-2d7ff2f6f98b&#39;, VGID=&#39;vvIoS2-fZTZ-99Ox-Ltzq-pr8U-SL2z-wbTU8g&#39;}), log id: 6693b98a</div><div>2017-09-04 09:04:18,232+02 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetVGInfoVDSCommand] (org.ovirt.thread.pool-6-thread-34) [7d2e6cb2] FINISH, GetVGInfoVDSCommand, return: [LUNs:{id=&#39;repl_HostedEngine&#39;, physicalVolumeId=&#39;kYN8Jj-FBDw-MhxI-XcoZ-w1zH-eQL8-IRIgzO&#39;, volumeGroupId=&#39;vvIoS2-fZTZ-99Ox-Ltzq-pr8U-SL2z-wbTU8g&#39;, serial=&#39;SHITACHI_OPEN-V_50488888&#39;, lunMapping=&#39;4&#39;, vendorId=&#39;HITACHI&#39;, productId=&#39;OPEN-V&#39;, lunConnections=&#39;[]&#39;, deviceSize=&#39;100&#39;, pvSize=&#39;0&#39;, peCount=&#39;797&#39;, peAllocatedCount=&#39;681&#39;, vendorName=&#39;HITACHI&#39;, pathsDictionary=&#39;[sdf=true, sdu=true, sdk=true, sdp=true]&#39;, pathsCapacity=&#39;[sdf=100, sdu=100, sdk=100, sdp=100]&#39;, lunType=&#39;FCP&#39;, status=&#39;null&#39;, diskId=&#39;null&#39;, diskAlias=&#39;null&#39;, storageDomainId=&#39;6b62cc06-fc44-4c38-af6d-bfd9cbe73246&#39;, storageDomainName=&#39;null&#39;, discardMaxSize=&#39;268435456&#39;, discardZeroesData=&#39;true&#39;}], log id: 6693b98a</div><div>2017-09-04 09:04:18,245+02 INFO  [org.ovirt.engine.core.bll.storage.domain.AddExistingBlockStorageDomainCommand] (org.ovirt.thread.pool-6-thread-34) [7d2e6cb2] There are existing luns in the system which are part of VG id &#39;vvIoS2-fZTZ-99Ox-Ltzq-pr8U-SL2z-wbTU8g&#39;</div><div>2017-09-04 09:04:18,245+02 WARN  [org.ovirt.engine.core.bll.storage.domain.AddExistingBlockStorageDomainCommand] (org.ovirt.thread.pool-6-thread-34) [7d2e6cb2] Validation of action &#39;AddExistingBlockStorageDomain&#39; failed for user SYSTEM. Reasons: VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,ACTION_TYPE_FAILED_IMPORT_STORAGE_DOMAIN_EXTERNAL_LUN_DISK_EXIST</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF"><span class="gmail-"><tt><br>
    </tt><br>
    <blockquote type="cite">
      <pre></pre>
      <blockquote type="cite">
        <pre>Thanks for any help to resolve that issue.
</pre>
      </blockquote>
      <pre>I guess you can try to remove this disk/lun from the engine and let it retry.</pre>
    </blockquote></span>
    Could let me know how to remove that lun from the engine?<span class="gmail-"><br>
    <blockquote type="cite">
      <pre>If the only disk is of the hosted-engine, I guess it should have been
removed by &#39;--he-remove-storage-vm&#39; - if so, please open a bug
describing your flow in detail. Thanks.</pre>
    </blockquote></span>
    It seems that this option didn&#39;t remove the he storage information
    and that this VG is still the old one.<br>
    <br>
    Many thanks for your help<br>
    Rgds,<br>
    Arsene<span class="gmail-"><br>
    <blockquote type="cite">
      <pre>Best,

</pre>
      <blockquote type="cite">
        <pre>Arsène

--

Arsène Gschwind
Fa. Sapify AG im Auftrag der Universität Basel
IT Services
Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
Tel. <a href="tel:+41%2079%20449%2025%2063" value="+41794492563" target="_blank">+41 79 449 25 63</a>  |  <a class="gmail-m_-1388566559526568039moz-txt-link-freetext" href="http://its.unibas.ch" target="_blank">http://its.unibas.ch</a>
ITS-ServiceDesk: <a class="gmail-m_-1388566559526568039moz-txt-link-abbreviated" href="mailto:support-its@unibas.ch" target="_blank">support-its@unibas.ch</a> | <a href="tel:+41%2061%20267%2014%2011" value="+41612671411" target="_blank">+41 61 267 14 11</a>


______________________________<wbr>_________________
Users mailing list
<a class="gmail-m_-1388566559526568039moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>
<a class="gmail-m_-1388566559526568039moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a>

</pre>
      </blockquote>
      <pre></pre>
    </blockquote>
    <br>
    <div class="gmail-m_-1388566559526568039moz-signature">-- <br>
      <p class="gmail-m_-1388566559526568039western" style="margin-bottom:0in;line-height:150%">
        <font color="#000000"><font face="Tahoma, serif"> <font style="font-size:8pt" size="1"> <b>Arsène Gschwind</b> </font>
          </font>
          <font color="#000000"> <font face="Tahoma, serif"> <font style="font-size:8pt" size="1">   </font> </font>
          </font>
          <font face="Tahoma, serif"> <font style="font-size:8pt" size="1"> </font>
          </font>
          <font face="Tahoma, serif"> 
          </font>
          <font color="#000000"> <font face="Tahoma, serif"> <font style="font-size:8pt" size="1"> <br>
              </font> </font>
          </font>
          <font color="#7f7f7f"> <font face="Tahoma, serif"> <font style="font-size:8pt" size="1"> Fa. Sapify AG im
                Auftrag der Universität Basel<br>
                IT Services<br>
                Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland<br>
                Tel. <a href="tel:+41%2079%20449%2025%2063" value="+41794492563" target="_blank">+41 79 449 25 63</a>  |  </font> </font>
          </font>
          <a href="http://its.unibas.ch/" target="_blank"> <font face="Tahoma, serif">
              <font style="font-size:8pt" size="1">
                http://its.unibas.ch </font> </font>
          </a><br>
          <font color="#7f7f7f"> <font face="Tahoma, serif"> <font style="font-size:8pt" size="1"> ITS-ServiceDesk:
                <a class="gmail-m_-1388566559526568039moz-txt-link-abbreviated" href="mailto:support-its@unibas.ch" target="_blank">support-its@unibas.ch</a> | <a href="tel:+41%2061%20267%2014%2011" value="+41612671411" target="_blank">+41 61 267 14 11</a> </font> </font>
          </font>
        </font></p>
      <font color="#000000">
      </font></div>
  </span></div>

<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></blockquote></div><br></div></div>