--Sig_/wmMSgNEZcHF++Et.y/v2+kZ
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
On Thu, 29 Oct 2015 14:08:22 +0100 Simone wrote:
ST> it seams that two hosts are fighting fir the same host ID:
ST>=20
ST> MainThread::INFO::2015-10-27
ST> 09:14:56,764::hosted_engine::562::ovirt_hosted_engine_ha.agent.hosted_e=
ngine.HostedEngine::(_initialize_sanlock)
ST> Ensuring lease for lockspace hosted-engine, host id 1 is acquired (file:
ST> /var/run/vdsm/storage/2daba0ab-2b3d-4026-bcfc-1cd071c30038/04b08c8e-657=
f-4bac-9ddf-c9c57373409c/2d7f5020-42c1-442d-8237-fba9d6787080)
ST> MainThread::ERROR::2015-10-27
ST> 09:14:56,766::hosted_engine::578::ovirt_hosted_engine_ha.agent.hosted_e=
ngine.HostedEngine::(_initialize_sanlock)
ST> cannot get lock on host id 1: host already holds lock on a different
ST> host id MainThread::ERROR::2015-10-27
ST> 09:14:56,767::agent::177::ovirt_hosted_engine_ha.agent.agent.Agent::(_r=
un_agent)
ST> Error: '(22, 'Sanlock lockspace add failure', 'Invalid
argument')' -
ST> trying to restart agent
ST>=20
ST> can you please share the output of: hosted-engine --vm-status
Hi Simone, thanks for taking the time to look at this. Here is the outpu:
# hosted-engine --vm-status
!! Cluster is in GLOBAL MAINTENANCE mode !!
--=3D=3D Host 1 status =3D=3D--
Status up-to-date : False
Hostname : ares.netsec
Host ID : 1
Engine status : unknown stale-data
Score : 2334
Local maintenance : False
Host timestamp : 2496391
Extra metadata (valid at timestamp):
metadata_parse_version=3D1
metadata_feature_version=3D1
timestamp=3D2496391 (Tue Oct 27 07:41:00 2015)
host-id=3D1
score=3D2334
maintenance=3DFalse
state=3DEngineUp
--=3D=3D Host 2 status =3D=3D--
Status up-to-date : False
Hostname : hera.netsec
Host ID : 2
Engine status : unknown stale-data
Score : 1689
Local maintenance : False
Host timestamp : 2038037
Extra metadata (valid at timestamp):
metadata_parse_version=3D1
metadata_feature_version=3D1
timestamp=3D2038037 (Mon Oct 26 08:50:13 2015)
host-id=3D2
score=3D1689
maintenance=3DFalse
state=3DEngineDown
--=3D=3D Host 3 status =3D=3D--
Status up-to-date : False
Hostname : eclipse.netsec
Host ID : 3
Engine status : unknown stale-data
Score : 2000
Local maintenance : False
Host timestamp : 2298393
Extra metadata (valid at timestamp):
metadata_parse_version=3D1
metadata_feature_version=3D1
timestamp=3D2298393 (Thu Oct 29 09:46:21 2015)
host-id=3D3
score=3D2000
maintenance=3DFalse
state=3DGlobalMaintenance
--=3D=3D Host 4 status =3D=3D--
Status up-to-date : False
Hostname : poseidon.netsec
Host ID : 4
Engine status : unknown stale-data
Score : 2000
Local maintenance : False
Host timestamp : 123241
Extra metadata (valid at timestamp):
metadata_parse_version=3D1
metadata_feature_version=3D1
timestamp=3D123241 (Thu Oct 29 09:46:30 2015)
host-id=3D4
score=3D2000
maintenance=3DFalse
state=3DGlobalMaintenance
--=3D=3D Host 5 status =3D=3D--
Status up-to-date : False
Hostname : apollo.netsec
Host ID : 5
Engine status : unknown stale-data
Score : 2000
Local maintenance : False
Host timestamp : 2028116
Extra metadata (valid at timestamp):
metadata_parse_version=3D1
metadata_feature_version=3D1
timestamp=3D2028116 (Mon Oct 26 04:14:46 2015)
host-id=3D5
score=3D2000
maintenance=3DFalse
state=3DEngineDown
Robert
--=20
Senior Software Engineer @ Parsons
--Sig_/wmMSgNEZcHF++Et.y/v2+kZ
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWMiSRAAoJEMHFVuy5l8Y4uRUP/jwLzddfisVkNgGfN47gMcZ/
zC2CbWiEE+3l7J5/fPXFwO9MaqwW7QlPO+WhTLjF1gZ36ZyScvtBpqyEuCNd8DZe
LsYK5JdBD9J7+SxhGeIIiZJansowLo0Hno1ZKlDnFnubLLI0tpJIOlryQybD/euA
tjkBYvZnUtNw5mOymCdIQ16LGx02zdceUkJLctIFO74QA2Vz7P6QzBArE8TL4f7d
c2Z+IbYrL83I79r8JrMnMlUjlt36jVT/E/1uMDtzVxGAtG+GHxV6WcLJUcsqWkAi
ieC86oPhYdsPfEi6m9Lrq4xhAx3LjulmvbY2bPMemW3QWQTb4iMkhfadc4I8oNx2
n4WI/1hGhwCxf6QcJIX0gkDFyLoP/LEajmbKBIuRowZuuHFdQrOa7Bxkn2NiDfRh
tczXnbbTOAcqtc4seXp/JLuAZ2zyyqh/6IBEYMeaxiWL9EnMYh5xTeY1+EGrqvnB
FCLvr/ukfMm42XAojli1Du0jsDGq/Mk6hbrNb9pLYj/RIrtm7MmxQMCNYRntaDWa
mPeEHFs1dyCMEneNe4NrBtnr66xZFWDT5DG1XLRe5GWJA+cIkcXZ3owka596GxPV
JnPYBEhr1BixfoeYgPLuIvUOpstqmJB9Viq1mb0OccLmFeRDnwHT2t2kM5djQWKq
Cn9yj4XFVzG9zVnNqwW6
=JkhW
-----END PGP SIGNATURE-----
--Sig_/wmMSgNEZcHF++Et.y/v2+kZ--