hosted-engine configure startup time allowance?

Hi, I was just wondering if it's possible to configure the startup-time allowance of the hosted-engine? I seem to sometime have this issue where my hosted-engine would start automatically but it would be sent a reboot signal 30 seconds before the engine has time to startup. This is because it fails the 'liveliness check', just before it reboots the engine status would be set to up but as the reboot signal was already sent the VM will reboot and then startup on another host. This then goes into a loop, until I do a global maintenance, manual bootup and then maintenance mode none. Thanks, Andrew.

On 05/28/2014 08:52 AM, Andrew Lau wrote:
Hi,
I was just wondering if it's possible to configure the startup-time allowance of the hosted-engine? I seem to sometime have this issue where my hosted-engine would start automatically but it would be sent a reboot signal 30 seconds before the engine has time to startup. This is because it fails the 'liveliness check', just before it reboots the engine status would be set to up but as the reboot signal was already sent the VM will reboot and then startup on another host.
This then goes into a loop, until I do a global maintenance, manual bootup and then maintenance mode none.
Hi Andrew, try to look into [1] and tweak the timeouts there. Don't forget to restart the ovirt-ha-agent service when you change it. --Jirka [1] /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/constants.py
Thanks, Andrew. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Jiri, On Wed, May 28, 2014 at 5:10 PM, Jiri Moskovcak <jmoskovc@redhat.com> wrote:
On 05/28/2014 08:52 AM, Andrew Lau wrote:
Hi,
I was just wondering if it's possible to configure the startup-time allowance of the hosted-engine? I seem to sometime have this issue where my hosted-engine would start automatically but it would be sent a reboot signal 30 seconds before the engine has time to startup. This is because it fails the 'liveliness check', just before it reboots the engine status would be set to up but as the reboot signal was already sent the VM will reboot and then startup on another host.
This then goes into a loop, until I do a global maintenance, manual bootup and then maintenance mode none.
Hi Andrew, try to look into [1] and tweak the timeouts there. Don't forget to restart the ovirt-ha-agent service when you change it.
Thanks, I'll try that out. Are all those values there available in /etc/ovirt-hosted-engine-ha/agent.conf ?
--Jirka
[1] /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/constants.py
Thanks, Andrew. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 05/28/2014 10:08 AM, Andrew Lau wrote:
Hi Jiri,
On Wed, May 28, 2014 at 5:10 PM, Jiri Moskovcak <jmoskovc@redhat.com> wrote:
On 05/28/2014 08:52 AM, Andrew Lau wrote:
Hi,
I was just wondering if it's possible to configure the startup-time allowance of the hosted-engine? I seem to sometime have this issue where my hosted-engine would start automatically but it would be sent a reboot signal 30 seconds before the engine has time to startup. This is because it fails the 'liveliness check', just before it reboots the engine status would be set to up but as the reboot signal was already sent the VM will reboot and then startup on another host.
This then goes into a loop, until I do a global maintenance, manual bootup and then maintenance mode none.
Hi Andrew, try to look into [1] and tweak the timeouts there. Don't forget to restart the ovirt-ha-agent service when you change it.
Thanks, I'll try that out.
Are all those values there available in /etc/ovirt-hosted-engine-ha/agent.conf ?
- no, they're not
--Jirka
[1] /usr/lib/python2.7/site-packages/ovirt_hosted_engine_ha/agent/constants.py
Thanks, Andrew. _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
Andrew Lau
-
Jiri Moskovcak