<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 3, 2016 at 6:47 PM, Sam Cappello <span dir="ltr">&lt;<a href="mailto:samc@oracool.net" target="_blank">samc@oracool.net</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">
    Hi,<br>
    so i was running a 3.4 hosted engine two node setup on centos 6, had
    some disk issues so i tried to upgrade to centos 7 and follow the
    path 3.4 &gt; 3.5 &gt; 3.6 &gt; 4.0.  i screwed up dig time
    somewhere between 3.6 and 4.0, so i wiped the drives, installed a
    fresh 4.0.3, then created the database and restored the 3.6 engine
    backup before running engine-setup as per the docs.   things seemed
    to work, but i have the the following issues / symptoms:<br>
    - ovirt-ha-agent running 100% CPU on both nodes<br>
    - messages in the UI that the Hosted Engine storage Domain isn&#39;t
    active and Failed to import the Hosted Engine Storage Domain<br>
    - hosted engine is not visible in the UI<br>
    and the following repeating in the agent.log:<br>
    <br>
    MainThread::INFO::2016-10-03
12:38:27,718::hosted_engine::<wbr>461::ovirt_hosted_engine_ha.<wbr>agent.hosted_engine.<wbr>HostedEngine::(start_<wbr>monitoring)
    Current state EngineUp (score: 3400)<br>
    MainThread::INFO::2016-10-03
12:38:27,720::hosted_engine::<wbr>466::ovirt_hosted_engine_ha.<wbr>agent.hosted_engine.<wbr>HostedEngine::(start_<wbr>monitoring)
    Best remote host <a href="http://vmhost1.oracool.net" target="_blank">vmhost1.oracool.net</a> (id: 1, score: 3400)<br>
    MainThread::INFO::2016-10-03
12:38:37,979::states::421::<wbr>ovirt_hosted_engine_ha.agent.<wbr>hosted_engine.HostedEngine::(<wbr>consume)
    Engine vm running on localhost<br>
    MainThread::INFO::2016-10-03
12:38:37,985::hosted_engine::<wbr>612::ovirt_hosted_engine_ha.<wbr>agent.hosted_engine.<wbr>HostedEngine::(_initialize_<wbr>vdsm)
    Initializing VDSM<br>
    MainThread::INFO::2016-10-03
12:38:45,645::hosted_engine::<wbr>639::ovirt_hosted_engine_ha.<wbr>agent.hosted_engine.<wbr>HostedEngine::(_initialize_<wbr>storage_images)
    Connecting the storage<br>
    MainThread::INFO::2016-10-03
12:38:45,647::storage_server::<wbr>219::ovirt_hosted_engine_ha.<wbr>lib.storage_server.<wbr>StorageServer::(connect_<wbr>storage_server)
    Connecting storage server<br>
    MainThread::INFO::2016-10-03
12:39:00,543::storage_server::<wbr>226::ovirt_hosted_engine_ha.<wbr>lib.storage_server.<wbr>StorageServer::(connect_<wbr>storage_server)
    Connecting storage server<br>
    MainThread::INFO::2016-10-03
12:39:00,562::storage_server::<wbr>233::ovirt_hosted_engine_ha.<wbr>lib.storage_server.<wbr>StorageServer::(connect_<wbr>storage_server)
    Refreshing the storage domain<br>
    MainThread::INFO::2016-10-03
12:39:01,235::hosted_engine::<wbr>666::ovirt_hosted_engine_ha.<wbr>agent.hosted_engine.<wbr>HostedEngine::(_initialize_<wbr>storage_images)
    Preparing images<br>
    MainThread::INFO::2016-10-03
12:39:01,236::image::126::<wbr>ovirt_hosted_engine_ha.lib.<wbr>image.Image::(prepare_images)
    Preparing images<br>
    MainThread::INFO::2016-10-03
12:39:09,295::hosted_engine::<wbr>669::ovirt_hosted_engine_ha.<wbr>agent.hosted_engine.<wbr>HostedEngine::(_initialize_<wbr>storage_images)
    Reloading vm.conf from the shared storage domain<br>
    MainThread::INFO::2016-10-03
12:39:09,296::config::206::<wbr>ovirt_hosted_engine_ha.agent.<wbr>hosted_engine.HostedEngine.<wbr>config::(refresh_local_conf_<wbr>file)
    Trying to get a fresher copy of vm configuration from the OVF_STORE<br>
    MainThread::WARNING::2016-10-<wbr>03
12:39:16,928::ovf_store::107::<wbr>ovirt_hosted_engine_ha.lib.<wbr>ovf.ovf_store.OVFStore::(scan)
    Unable to find OVF_STORE<br></div></blockquote><div><br></div><div>The engine will automatically create it once the hosted-engine storage domain and the engine VM are correctly been imported.</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">
    MainThread::ERROR::2016-10-03
12:39:16,934::config::235::<wbr>ovirt_hosted_engine_ha.agent.<wbr>hosted_engine.HostedEngine.<wbr>config::(refresh_local_conf_<wbr>file)
    Unable to get vm.conf from OVF_STORE, falling back to initial
    vm.conf<br>
    <br>
    I have searched a bit and not really found a solution, and have come
    to the conclusion that i have made a mess of things, and am
    wondering if the best solution is to export the VMs, and reinstall
    everything then import them back?<br>
    i am using remote  NFS storage.<br>
    if i try and add the hosted engine storage domain it says it is
    already registered.<br></div></blockquote><div><br></div><div>The best option here is to manually remove it from the DB and let the engine import it again.</div><div>I&#39;m working on an helper utility here but it&#39;s still not fully tested:</div><div><a href="https://gerrit.ovirt.org/#/c/64966/">https://gerrit.ovirt.org/#/c/64966/</a><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">
    i have also upgraded and am now running <span>oVirt Engine Version: 4.0.4.4-1.el7.centos<br>
      hosts were installed using ovirt-node.  currently at 
      3.10.0-327.28.3.el7.x86_64<br>
      if a fresh install is best, any advice / pointer to doc that
      explains best way to do this?<br>
      i have not moved my most important server over to this cluster yet
      so i can take some downtime to reinstall.<br>
      thanks!<span class="gmail-HOEnZb"><font color="#888888"><br>
      sam<br>
      <br>
    </font></span></span><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>