fence-agents icon indicating copy to clipboard operation
fence-agents copied to clipboard

Question : When disable-timeout is enabled, the timeout behavior is different for each fence_agent.

Open HideoYamauchi opened this issue 4 years ago • 4 comments

Hi All,

If disable-timeout is enabled, you should get a Pacemaker timeout, but it actually works differently depending on the fence_agent. This may enable or disable the Pacemaker pcmk_xxxx_retries parameter, depending on the fence_agent. Originally, shouldn't all failures time out if disable-timeout is enabled?

Here are examples of fence_ipmitool and fence_vmware_rest, with the differences we're talking about in Bugzilla below.

  • https://bugs.clusterlabs.org/show_bug.cgi?id=5482

I haven't checked all the fence_agents, but it seems that there are many fence_agents that make a difference.

Best Regards, Hideo Yamauchi.

HideoYamauchi avatar Aug 31 '21 22:08 HideoYamauchi

It should. So seems like we need to update it ro use -N/-R or combination of them to work optimally in this case: https://access.redhat.com/discussions/5474551

oalbrigt avatar Sep 01 '21 07:09 oalbrigt

Hi Oyvind,

Thanks!

Are other fence_agents okay? I think it is necessary to look comprehensively.

Best Regards, Hideo Yamauchi.

HideoYamauchi avatar Sep 02 '21 05:09 HideoYamauchi

If you run grep -e "run_command" -e "pexpect" agents/*/*.py you should get most of the agents that might have similar issues if the tool they use uses internal timeout.

oalbrigt avatar Sep 03 '21 08:09 oalbrigt

Hi Oyvind,

If you run grep -e "run_command" -e "pexpect" agents/*/*.py you should get most of the agents that might have similar issues if the tool they use uses internal timeout.

Okay!

Let's check all fence_agents once.

However, if there are a wide variety of external commands to be executed, it will be very troublesome to deal with and confirm. I think it is desirable to make it so that the timeout can be ignored only on the main body side of fence_agent, but I do not know if it is possible.

Best Regards, Hideo Yamauchi.

HideoYamauchi avatar Sep 08 '21 23:09 HideoYamauchi