<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 28, 2017 at 6:18 PM, Sverker Abrahamsson <span dir="ltr">&lt;<a href="mailto:sverker@abrahamsson.com" target="_blank">sverker@abrahamsson.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Simone.<br>
      I get the following result:<br>
      # sudo -u postgres psql engine -c &quot;SELECT vm_guid, run_on_vds FROM
      vms WHERE vm_name in (select &#39;HostedEngine&#39; union select
      option_value from vdc_options where
      option_name=&#39;<wbr>HostedEngineVmName&#39;)&quot;<br>
      could not change directory to &quot;/root&quot;<br>
                     vm_guid                | run_on_vds <br>
      ------------------------------<wbr>--------+------------<br>
       4e4df6ea-ea01-465b-9424-<wbr>4436aa24cec0 | <br>
      (1 row)</p></div></blockquote><div><br></div><div>OK, this simply mean that one of your existing VMs got identified as the hosted-engine one.</div><div>Could you please check why and eventually rename or delete that VM?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF"><p><span class="HOEnZb"><font color="#888888"><br>
    </font></span></p><span class="HOEnZb"><font color="#888888">
    <p>/Sverker<br>
    </p></font></span><div><div class="h5">
    <br>
    <div class="m_-690900066489309594moz-cite-prefix">Den 2017-04-28 kl. 10:32, skrev Simone
      Tiraboschi:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Apr 27, 2017 at 9:27 PM,
            Sverker Abrahamsson <span dir="ltr">&lt;<a href="mailto:sverker@abrahamsson.com" target="_blank">sverker@abrahamsson.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">Hi<br>
              I upgraded an old ovirt installation from 3.5 to latest
              version, but end up with this error message when running
              engine-setup:<br>
              <br>
              [ INFO  ] Stage: Setup validation<br>
              [ ERROR ] It seems that you are running your engine inside
              of the hosted-engine VM and are not in &quot;Global
              Maintenance&quot; mode. In that case you should put the system
              into the &quot;Global Maintenance&quot; mode before running
              engine-setup, or the hosted-engine HA agent might kill the
              machine, which might corrupt your data.<br>
              [ ERROR ] Failed to execute stage &#39;Setup validation&#39;:
              Hosted Engine setup detected, but Global Maintenance is
              not set.<br>
              <br>
              This is not a hosted engine, so why does it think so? How
              can I get it past this step?<br>
            </blockquote>
            <div><br>
            </div>
            <div>Hi Sverker,</div>
            <div>could you please share the output of:</div>
            <div>  sudo -u postgres psql engine -c &quot;SELECT vm_guid,
              run_on_vds FROM vms WHERE vm_name in (select
              &#39;HostedEngine&#39; union select option_value from vdc_options
              where option_name=&#39;<wbr>HostedEngineVmName&#39;)&quot;<br>
            </div>
            <div><br>
            </div>
            <div>thanks </div>
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <br>
              Best regards<br>
              /Sverker<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>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div></div>