<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 16, 2017 at 9:45 AM, Резников А.А. <span dir="ltr">&lt;<a href="mailto:reznikov_aa@soskol.com" target="_blank">reznikov_aa@soskol.com</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">
    <div class="gmail-m_7615791494491973999moz-cite-prefix">15.03.2017 14:17, Резников А.А. пишет:<br>
    </div><div><div class="gmail-h5">
    <blockquote type="cite">
      
      <div class="gmail-m_7615791494491973999moz-cite-prefix">15.03.2017 10:35, Simone Tiraboschi
        пишет:<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr"><br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Wed, Mar 15, 2017 at 6:24 AM,
              Резников А.А. <span dir="ltr">&lt;<a href="mailto:reznikov_aa@soskol.com" target="_blank">reznikov_aa@soskol.com</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">14.03.2017 11:40,
                Резников А.А. пишет:<span><br>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Hi list!<br>
                    <br>
                    During the upgrade ovirt from 3.5 to 3.6, I get
                    errors:<br>
                    &quot;VDSM command failed: Can not acquire host id:
                    (u&#39;8905c9ac-d892-478d-8346-63b<wbr>8fa1c5763 &#39;,
                    SanlockException (22,&#39; Sanlock lockspace add failure
                    &#39;,&#39; Invalid argument &#39;))&quot;,<br>
                    &quot;Failed to attach Storage Domain hosted_storage to
                    Data Center Default. (User: SYSTEM)&quot;,<br>
                    &quot;Failed to import the Hosted Engine Storage Domain&quot;.<br>
                    <br>
                    Thus in my data storage nfs OVF_STORE disks do not
                    appear.<br>
                    <br>
                    The following messages appear in vdsm.log:<br>
                    <br>
                    Thread-2806 :: DEBUG :: <a href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 ::
                    task :: 827 :: Storage.TaskManager.Task: :(
                    resourceAcquired) Task =
                    `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`: :
                    _resourcesAcquired: Storage.8905c9ac-d8<br>
                    92-478d-8346-63b8fa1c5763 (shared)<br>
                    Thread-2806 :: DEBUG :: <a href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 ::
                    task :: 993 :: Storage.TaskManager.Task :: (_
                    decref) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`:
                    : Ref 1 aborting False<br>
                    Thread-2806 :: ERROR :: <a href="tel:2017-03-14%2010" value="+12017031410" target="_blank">2017-03-14 10</a>: 40: 29,569 ::
                    task :: 866 :: Storage.TaskManager.Task :: (_
                    setError) Task = `cd294427-d6fa-454b-9289-6660a<wbr>d228c8f`:
                    : Unexpected error<br>
                    Traceback (most recent last call last):<br>
                      File &quot;/usr/share/vdsm/storage/task.<wbr>py&quot;, line
                    873, in _run<br>
                        Return fn (* args, ** kargs)<br>
                      File &quot;/usr/share/vdsm/logUtils.py&quot;, line 49, in
                    wrapper<br>
                        Res = f (* args, ** kwargs)<br>
                      File &quot;/usr/share/vdsm/storage/hsm.p<wbr>y&quot;, line
                    3315, in getImagesList<br>
                        Images = dom.getAllImages ()<br>
                      File &quot;/usr/share/vdsm/storage/fileS<wbr>D.py&quot;,
                    line 373, in getAllImages<br>
                        Self.getPools () [0],<br>
                    IndexError: list index out of range<br>
                  </blockquote>
                  <br>
                </span><span>
                  <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> 3 &#39;, Clearing
                    records.<br>
                    <br>
                    <br>
                    Does anyone have any idea how this can be fixed?<br>
                    <br>
                    Thanks, Alex.<br>
                    <br>
                    <br>
                    ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                    <br>
                  </blockquote>
                  <br>
                </span> Any body help me?
                <div class="gmail-m_7615791494491973999gmail-m_-6230801975017782559HOEnZb">
                  <div class="gmail-m_7615791494491973999gmail-m_-6230801975017782559h5"><br>
                  </div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>It was an old bug but it should be fine now:</div>
              <div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1276650" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1276650</a><br>
              </div>
              <div><br>
              </div>
              <div>Could you please report the version of
                ovirt-hosted-engine-ha and vdsm you are currently using?</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 class="gmail-m_7615791494491973999gmail-m_-6230801975017782559HOEnZb">
                  <div class="gmail-m_7615791494491973999gmail-m_-6230801975017782559h5"> <br>
                    Thanks, Alex.<br>
                    <br>
                    ______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </blockquote>
      <br>
      <p>On all host: <br>
        ovirt-hosted-engine-ha-1.3.5.<wbr>7-1.el7.centos.noarch<br>
        vdsm-4.17.32-1.el7.noarch<br>
        and CentOS Linux release 7.3.1611 (Core)</p>
      <p> Thanks, Alex.</p>
    </blockquote>
    <br></div></div>
    how to fix this bug?<br></div></blockquote><div><br></div><div>Could you please execute this command on the engine VM</div><div>sudo -u postgres psql engine -c &quot;SELECT vds_spm_id_map.vds_spm_id, vds.vds_name FROM vds_spm_id_map, vds WHERE vds_spm_id_map.vds_id = vds.vds_id;&quot;<br></div><div><br></div><div>and ensure that, on all your hosted-engine host, the spm_id values you see there matches the value you get with</div><div> grep host_id /etc/ovirt-hosted-engine/hosted-engine.conf<br></div><div><br></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">
    <br>
    Thanks, Alex.<br>
  </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>