hosted-engine hyperconverged glusterFS hosted-storage import fails
by Liebe, André-Sebastian
This is an S/MIME signed message
------876D7B0C0A669BBD7682F2B3715BF04A
Content-Language: de-DE
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello List,=0A=
=0A=
I run into trouble after moving our hosted engine from nfs to hyperconverge=
d glusterFS by backup/restore[1] procedure. The engine logs it can't impor=
t and activate the hosted-storage although I can see the storage.=0A=
Any Hints how to fix this?=0A=
=0A=
- I created the ha-replica-3 gluster volume prior to hosted-engine-setup us=
ing the hosts short name.=0A=
- Then ran hosted-engine-setup to install an new hosted engine (by installi=
ng centOS7 and ovirt-engine amnually)=0A=
- inside the new hosted-engine I restored the last successfull backup (wich=
was in running state)=0A=
- then I connected to the engine-database and removed the old hosted-engine=
by hand (as part of this patch would do: https://gerrit.ovirt.org/#/c/6496=
6/) and all known hosts (after marking all vms as down, where I got ETL err=
or messages later on for this)=0A=
- then I finished up the engine installation by running the engine-setup in=
side the hosted_engine=0A=
- and finally completed the hosted-engine-setup=0A=
=0A=
=0A=
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, t=
he volume was marked as active.=0A=
=0A=
But here's the the error message I get repeadately since then:=0A=
> 2017-01-19 08:49:36,652 WARN [org.ovirt.engine.core.bll.storage.domain.I=
mportHostedEngineStorageDomainCommand] (org.ovirt.thread.pool-6-thread-10) =
[3b955ecd] Validation of action 'ImportHostedEngineStorageDomain' failed fo=
r user SYSTEM. Reasons: VAR__ACTION__ADD,VAR__TYPE__STORAGE__DOMAIN,ACTION_=
TYPE_FAILED_STORAGE_DOMAIN_ALREADY_EXIST=0A=
=0A=
=0A=
There are also some repeating messages about this ha-replica-3 volume, beca=
use I used the hosts short name on volume creation, which I can't change af=
aik without a complete cluster shutdown.=0A=
> 2017-01-19 08:48:03,134 INFO [org.ovirt.engine.core.bll.AddUnmanagedVmsC=
ommand] (DefaultQuartzScheduler3) [7471d7de] Running command: AddUnmanagedV=
msCommand internal: true.=0A=
> 2017-01-19 08:48:03,134 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.=
FullListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] START, FullListVDS=
Command(HostName =3D , FullListVDSCommandParameters:{runAsync=3D'true', hos=
tId=3D'f62c7d04-9c95-453f-92d5-6dabf9da874a', vds=3D'Host[,f62c7d04-9c95-45=
3f-92d5-6dabf9da874a]', vmIds=3D'[dfea96e8-e94a-407e-af46-3019fd3f2991]'}),=
log id: 2d0941f9=0A=
> 2017-01-19 08:48:03,163 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.=
FullListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] FINISH, FullListVD=
SCommand, return: [{guestFQDN=3D, emulatedMachine=3Dpc, pid=3D0, guestDiskM=
apping=3D{}, devices=3D[Ljava.lang.Object;@4181d938, cpuType=3DHaswell-noTS=
X, smp=3D2, vmType=3Dkvm, memSize=3D8192, vmName=3DHostedEngine, username=
=3D, exitMessage=3DXML error: maximum vcpus count must be an integer, vmId=
=3Ddfea96e8-e94a-407e-af46-3019fd3f2991, displayIp=3D0, displayPort=3D-1, g=
uestIPs=3D, spiceSecureChannels=3Dsmain,sdisplay,sinputs,scursor,splayback,=
srecord,ssmartcard,susbredir, exitCode=3D1, nicModel=3Drtl8139,pv, exitReas=
on=3D1, status=3DDown, maxVCpus=3DNone, clientIp=3D, statusTime=3D667507178=
0, display=3Dvnc, displaySecurePort=3D-1}], log id: 2d0941f9=0A=
> 2017-01-19 08:48:03,163 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.=
VdsBrokerObjectsBuilder] (DefaultQuartzScheduler3) [7471d7de] null architec=
ture type, replacing with x86_64, %s=0A=
> 2017-01-19 08:48:17,779 INFO [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterServersListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] START, Glu=
sterServersListVDSCommand(HostName =3D lvh2, VdsIdVDSCommandParametersBase:=
{runAsync=3D'true', hostId=3D'23297fc2-db12-4778-a5ff-b74d6fc9554b'}), log =
id: 57d029dc=0A=
> 2017-01-19 08:48:18,177 INFO [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterServersListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] FINISH, Gl=
usterServersListVDSCommand, return: [172.31.1.22/24:CONNECTED, lvh3.lab.gem=
atik.de:CONNECTED, lvh4.lab.gematik.de:CONNECTED], log id: 57d029dc=0A=
> 2017-01-19 08:48:18,180 INFO [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterVolumesListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] START, Glu=
sterVolumesListVDSCommand(HostName =3D lvh2, GlusterVolumesListVDSParameter=
s:{runAsync=3D'true', hostId=3D'23297fc2-db12-4778-a5ff-b74d6fc9554b'}), lo=
g id: 5cd11a39=0A=
> 2017-01-19 08:48:18,282 WARN [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler3) [7471d7de] Could=
not associate brick 'lvh2:/data/gluster/0/brick' of volume '7dc6410d-8f2a-=
406c-812a-8235fa6f721c' with correct network as no gluster network found in=
cluster '57ff41c2-0297-039d-039c-000000000362'=0A=
> 2017-01-19 08:48:18,284 WARN [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler3) [7471d7de] Could=
not associate brick 'lvh3:/data/gluster/0/brick' of volume '7dc6410d-8f2a-=
406c-812a-8235fa6f721c' with correct network as no gluster network found in=
cluster '57ff41c2-0297-039d-039c-000000000362'=0A=
> 2017-01-19 08:48:18,285 WARN [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterVolumesListReturnForXmlRpc] (DefaultQuartzScheduler3) [7471d7de] Could=
not associate brick 'lvh4:/data/gluster/0/brick' of volume '7dc6410d-8f2a-=
406c-812a-8235fa6f721c' with correct network as no gluster network found in=
cluster '57ff41c2-0297-039d-039c-000000000362'=0A=
> 2017-01-19 08:48:18,286 INFO [org.ovirt.engine.core.vdsbroker.gluster.Gl=
usterVolumesListVDSCommand] (DefaultQuartzScheduler3) [7471d7de] FINISH, Gl=
usterVolumesListVDSCommand, return: {7dc6410d-8f2a-406c-812a-8235fa6f721c=
=3Dorg.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntit=
y@2459e231, 000391cc-9946-47b3-82c9-af17da69d182=3Dorg.ovirt.engine.core.co=
mmon.businessentities.gluster.GlusterVolumeEntity@42990505}, log id: 5cd11a=
39=0A=
=0A=
=0A=
[1] http://www.ovirt.org/documentation/admin-guide/hosted-engine-backup-and=
-restore seems to be moved to http://www.ovirt.org/documentation/self-hoste=
d/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/#creati=
ng-a-new-self-hosted-engine-environment-to-be-used-as-the-restored-environm=
ent=0A=
=0A=
sincerely,=0A=
Andr=E9-Sebastian Liebe=0A=
=0A=
Technik / Innovation=0A=
Telefon: +49 30 40041-197=0A=
Telefax: +49 30 40041-111=0A=
=0A=
gematik- Gesellschaft f=FCr Telematikanwendungen der Gesundheitskarte mbH=
=0A=
Friedrichstra=DFe 136, 10117 Berlin=0A=
Amtsgericht Berlin-Charlottenburg HRB 96351 B=0A=
Gesch=E4ftsf=FChrer: Alexander Beyer=
------876D7B0C0A669BBD7682F2B3715BF04A
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
MIIP1AYJKoZIhvcNAQcCoIIPxTCCD8ECAQExDzANBglghkgBZQMEAgEFADALBgkq
hkiG9w0BBwGggg0fMIIGuDCCBKCgAwIBAgIPGReV3CJ0GxId21RMXMvcMA0GCSqG
SIb3DQEBCwUAMEUxCzAJBgNVBAYTAkNIMRUwEwYDVQQKEwxTd2lzc1NpZ24gQUcx
HzAdBgNVBAMTFlN3aXNzU2lnbiBHb2xkIENBIC0gRzIw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