This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--SOqCr0DlOwGSUi2otlU9mMN0Ejsa2x1uu
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi oVirt Group,
in my attempts to get all aspects of oVirt 3.6 up and running I
stumbled upon something I'm not sure how to fix:
Initially I installed a hosted engine setup. After that I added
another HA host (with hosted-engine --deploy). The host was
registered in the Engine correctly and HA agent came up as expected.
However if I reboot the second host (through the Engine UI or
manually) HA agent fails to start. The reason seems to be that
/etc/ovirt-hosted-engine/hosted-engine.conf is empty. The backup
file ending with ~ exists though.
Here are the log messages from the journal:
Apr 11 07:29:39 cube-two.tbi.univie.ac.at systemd[1]: Starting oVirt
Hosted Engine High Availability Monitoring Agent...
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
INFO:ovirt_hosted_engine_ha.agent.agent.Agent:ovirt-hosted-engine-ha
agent 1.3.5.3-0.0.master started
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
INFO:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Found
certificate common name: cube-two.tbi.univie.ac.at
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
ovirt-ha-agent
ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine ERROR Hosted
Engine is not configured. Shutting down.
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
ERROR:ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine:Hosted
Engine is not configured. Shutting down.
Apr 11 07:29:39 cube-two.tbi.univie.ac.at ovirt-ha-agent[3747]:
INFO:ovirt_hosted_engine_ha.agent.agent.Agent:Agent shutting down
Apr 11 07:29:39 cube-two.tbi.univie.ac.at systemd[1]:
ovirt-ha-agent.service: main process exited, code=3Dexited, status=3D255/=
n/a
If I restore the configuration from the backup file and manually
restart the HA agent it's working properly.
For testing purposes I added a third HA host which turn out to
behave exactly the same.
Any help would be appreciated!
Thanks
Cheers
Richard
--=20
/dev/null
--SOqCr0DlOwGSUi2otlU9mMN0Ejsa2x1uu
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCgAGBQJXC0AwAAoJEA7XCanqEVqITuQQALAaJEYeaMfzFXCXRzNq6QFd
ir01xfiVcURYHXj3fSn6HHLDolikBNEXnSk3iMqwgBoTWXc/YztWeUVSKWcoGahv
pFiI/tXZXhNwDfkhEAnQgc+/uaqK3wW5ms58qvQ9kBJqAqo2Lu2W6tQjp2z1lCwq
MJDDWZHvGfD1UcC53Cnqh/ZQOWDLv7tlnWho5z5eCDBWqI1U9VkKmb68wUhsvAeq
2Rr5ikGjna0lOXxqqj2ZYdphACVJgzszaCmiRbTNnMswdXlX4tnt1qZ0x6FCl/hV
mhXj1LglNoEiEqsUc5CrWeacOILWD00DFSkLuYryAQHqDb11Aoi7ZP/IV7cDyonF
voiMTlCaC1dqYXgcNsOZcBQiQJBLYR5sa8KeUSIy7I5+XGX5aof6FInSdoqQIk8S
aNuzAXufQMn87v6O68ABqZ4LL19/elvN1APmSvnxRtpgPn4XGExOYmg6Tq7eRZHx
yGRZ/vbOYVOOqsmd7HQ041A2cGlevN6BT+RQmfwzcuhmqMf97ySzH1YCPp/sKsYf
qnF7E+6rMyx23AnyBwOzabuLa9cC5+0BVoxcu9hr6ZUbHWXtGMBuMIsk0TxzZPqf
sp1PfLTUriSaI7Tl/mLwq9X53DCs7ITQi44v1YFU9o6cxiDDzKS6XaalGeHUr6/a
ycHBvkoOBV4jpYaWE63d
=561R
-----END PGP SIGNATURE-----
--SOqCr0DlOwGSUi2otlU9mMN0Ejsa2x1uu--