<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 20, 2017 at 3:01 PM, Liebe, André-Sebastian <span dir="ltr">&lt;<a href="mailto:andre.liebe@gematik.de" target="_blank">andre.liebe@gematik.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello List,<br>
<br>
I run into trouble after moving our hosted engine from nfs to hyperconverged glusterFS by backup/restore[1] procedure. The engine logs it  can&#39;t import and activate the hosted-storage although I can see the storage.<br>
Any Hints how to fix this?<br>
<br>
- I created the ha-replica-3 gluster volume prior to hosted-engine-setup using the hosts short name.<br>
- Then ran hosted-engine-setup to install an new hosted engine (by installing centOS7 and ovirt-engine amnually)<br>
- inside the new hosted-engine I restored the last successfull backup (wich was in running state)<br>
- then I connected to the engine-database and removed the old hosted-engine by hand (as part of this patch would do: <a href="https://gerrit.ovirt.org/#/c/64966/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>64966/</a>) and all known hosts (after marking all vms as down, where I got ETL error messages later on for this)<br></blockquote><div><br></div><div>Did you also clean up the old HE storage domain? The error further down indicates that engine has a reference to the HE storage domain.<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- then I finished up the engine installation by running the engine-setup inside the hosted_engine<br>
- and finally completed the hosted-engine-setup<br>
<br>
<br>
The new hosted engine came up successfully with all prior known storage and after enabling glusterFS, the cluster this HA-host is part of, I could see it in the volumes and storage tab. After adding the remaining two hosts, the volume was marked as active.<br>
<br>
But here&#39;s the the error message I get repeadately since then:<br>
&gt; 2017-01-19 08:49:36,652 WARN  [org.ovirt.engine.core.bll.<wbr>storage.domain.<wbr>ImportHostedEngineStorageDomai<wbr>nCommand] (org.ovirt.thread.pool-6-<wbr>thread-10) [3b955ecd] Validation of action &#39;<wbr>ImportHostedEngineStorageDomai<wbr>n&#39; failed for user SYSTEM. Reasons: VAR__ACTION__ADD,VAR__TYPE__<wbr>STORAGE__DOMAIN,ACTION_TYPE_<wbr>FAILED_STORAGE_DOMAIN_ALREADY_<wbr>EXIST<br>
<br>
<br>
There are also some repeating messages about this ha-replica-3 volume, because I used the hosts short name on volume creation, which I can&#39;t change afaik without a complete cluster shutdown.<br>
&gt; 2017-01-19 08:48:03,134 INFO  [org.ovirt.engine.core.bll.<wbr>AddUnmanagedVmsCommand] (DefaultQuartzScheduler3) [7471d7de] Running command: AddUnmanagedVmsCommand internal: true.<br>
&gt; 2017-01-19 08:48:03,134 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>FullListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] START, FullListVDSCommand(HostName = , FullListVDSCommandParameters:{<wbr>runAsync=&#39;true&#39;, hostId=&#39;f62c7d04-9c95-453f-<wbr>92d5-6dabf9da874a&#39;, vds=&#39;Host[,f62c7d04-9c95-453f-<wbr>92d5-6dabf9da874a]&#39;, vmIds=&#39;[dfea96e8-e94a-407e-<wbr>af46-3019fd3f2991]&#39;}), log id: 2d0941f9<br>
&gt; 2017-01-19 08:48:03,163 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>FullListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] FINISH, FullListVDSCommand, return: [{guestFQDN=, emulatedMachine=pc, pid=0, guestDiskMapping={}, devices=[Ljava.lang.Object;@<wbr>4181d938, cpuType=Haswell-noTSX, smp=2, vmType=kvm, memSize=8192, vmName=HostedEngine, username=, exitMessage=XML error: maximum vcpus count must be an integer, vmId=dfea96e8-e94a-407e-af46-<wbr>3019fd3f2991, displayIp=0, displayPort=-1, guestIPs=, spiceSecureChannels=smain,<wbr>sdisplay,sinputs,scursor,<wbr>splayback,srecord,ssmartcard,<wbr>susbredir, exitCode=1, nicModel=rtl8139,pv, exitReason=1, status=Down, maxVCpus=None, clientIp=, statusTime=6675071780, display=vnc, displaySecurePort=-1}], log id: 2d0941f9<br>
&gt; 2017-01-19 08:48:03,163 ERROR [org.ovirt.engine.core.<wbr>vdsbroker.vdsbroker.<wbr>VdsBrokerObjectsBuilder] (DefaultQuartzScheduler3) [7471d7de] null architecture type, replacing with x86_64, %s<br>
&gt; 2017-01-19 08:48:17,779 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterServersListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] START, GlusterServersListVDSCommand(<wbr>HostName = lvh2, VdsIdVDSCommandParametersBase:<wbr>{runAsync=&#39;true&#39;, hostId=&#39;23297fc2-db12-4778-<wbr>a5ff-b74d6fc9554b&#39;}), log id: 57d029dc<br>
&gt; 2017-01-19 08:48:18,177 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterServersListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] FINISH, GlusterServersListVDSCommand, return: [<a href="http://172.31.1.22/24:CONNECTED" rel="noreferrer" target="_blank">172.31.1.22/24:CONNECTED</a>, lvh3.lab.gematik.de:CONNECTED, lvh4.lab.gematik.de:CONNECTED]<wbr>, log id: 57d029dc<br>
&gt; 2017-01-19 08:48:18,180 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] START, GlusterVolumesListVDSCommand(<wbr>HostName = lvh2, GlusterVolumesListVDSParameter<wbr>s:{runAsync=&#39;true&#39;, hostId=&#39;23297fc2-db12-4778-<wbr>a5ff-b74d6fc9554b&#39;}), log id: 5cd11a39<br>
&gt; 2017-01-19 08:48:18,282 WARN  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc] (DefaultQuartzScheduler3) [7471d7de] Could not associate brick &#39;lvh2:/data/gluster/0/brick&#39; of volume &#39;7dc6410d-8f2a-406c-812a-<wbr>8235fa6f721c&#39; with correct network as no gluster network found in cluster &#39;57ff41c2-0297-039d-039c-<wbr>000000000362&#39;<br>
&gt; 2017-01-19 08:48:18,284 WARN  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc] (DefaultQuartzScheduler3) [7471d7de] Could not associate brick &#39;lvh3:/data/gluster/0/brick&#39; of volume &#39;7dc6410d-8f2a-406c-812a-<wbr>8235fa6f721c&#39; with correct network as no gluster network found in cluster &#39;57ff41c2-0297-039d-039c-<wbr>000000000362&#39;<br>
&gt; 2017-01-19 08:48:18,285 WARN  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListReturnForXml<wbr>Rpc] (DefaultQuartzScheduler3) [7471d7de] Could not associate brick &#39;lvh4:/data/gluster/0/brick&#39; of volume &#39;7dc6410d-8f2a-406c-812a-<wbr>8235fa6f721c&#39; with correct network as no gluster network found in cluster &#39;57ff41c2-0297-039d-039c-<wbr>000000000362&#39;<br></blockquote><div><br></div><div>To get rid of these errors, the VM running engine needs to be able to resolve the short names to the correct interface (associated with gluster network)<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; 2017-01-19 08:48:18,286 INFO  [org.ovirt.engine.core.<wbr>vdsbroker.gluster.<wbr>GlusterVolumesListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] FINISH, GlusterVolumesListVDSCommand, return: {7dc6410d-8f2a-406c-812a-<wbr>8235fa6f721c=org.ovirt.engine.<wbr>core.common.businessentities.<wbr>gluster.GlusterVolumeEntity@<wbr>2459e231, 000391cc-9946-47b3-82c9-<wbr>af17da69d182=org.ovirt.engine.<wbr>core.common.businessentities.<wbr>gluster.GlusterVolumeEntity@<wbr>42990505}, log id: 5cd11a39<br>
<br>
<br>
[1] <a href="http://www.ovirt.org/documentation/admin-guide/hosted-engine-backup-and-restore" rel="noreferrer" target="_blank">http://www.ovirt.org/<wbr>documentation/admin-guide/<wbr>hosted-engine-backup-and-<wbr>restore</a> seems to be moved to <a href="http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/#creating-a-new-self-hosted-engine-environment-to-be-used-as-the-restored-environment" rel="noreferrer" target="_blank">http://www.ovirt.org/<wbr>documentation/self-hosted/<wbr>chap-Backing_up_and_Restoring_<wbr>an_EL-Based_Self-Hosted_<wbr>Environment/#creating-a-new-<wbr>self-hosted-engine-<wbr>environment-to-be-used-as-the-<wbr>restored-environment</a><br>
<br>
sincerely,<br>
André-Sebastian Liebe<br>
<br>
Technik / Innovation<br>
Telefon: +49 30 40041-197<br>
Telefax: +49 30 40041-111<br>
<br>
gematik- Gesellschaft für Telematikanwendungen der Gesundheitskarte mbH<br>
Friedrichstraße 136, 10117 Berlin<br>
Amtsgericht Berlin-Charlottenburg HRB 96351 B<br>
Geschäftsführer: Alexander Beyer<br>
<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>