Description of problem: Now it's about 2 minutes before fencing mechanism tries to fence the host again, but my host takes about 3-4 minutes to boot, this results in fencing the host again and again. Version-Release number of selected component (if applicable): 4.1.1-1 How reproducible: always Steps to Reproduce: 1. have a host that takes more than 2 minutes to boot 2. fence the host 3. Actual results: repeated fencing Expected results: one successful fence Additional info:
It make sense to wait a bit after successful power management start operation in fencing flow before we allow host monitoring to try to contact the host. We are using ServerRebootTimeout (by default 5 minutes) during install host flow when restart of the host is required. So I'd use the same config value ServerRebootTimeout inside power management start flow: 1. Set host status to Reboot 2. Execute power management start 3. If start was successfully, wait until ServerRebootTimeout interval pass 4. Set host status to Maintenance or NonResponsive (depending of a way how StartVdsCommand was invoked)
Verified on 4.1.2-1