[ovirt-users] HA agent fails to start
Richard Neuboeck
hawk at tbi.univie.ac.at
Mon Apr 11 06:11:59 UTC 2016
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=exited, status=255/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
--
/dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160411/fffe92df/attachment-0001.sig>
More information about the Users
mailing list