fence_rhevm monitor operation fails with message "Could not resolve host: rhevmhost.example.com; Unknown error"

Solution Verified - Updated -

Issue

  • fence_rhevm monitor operation times out with following error messages:

    Sep  5 20:53:47 testnode1 fence_rhevm: (6, 'Could not resolve host: rhevmhost.example.com; Unknown error')   <---------
    Sep  5 20:53:47 testnode1 fence_rhevm: Connection timed out
    Sep  5 20:53:47 testnode1 stonith-ng[12086]:  notice: fence_rhevm_monitor_1:122001:stderr [ 2023-09-05 20:53:47,540 ERROR: (6, 'Could not resolve host: rhevmhost.example.com; Unknown error') ]
    Sep  5 20:53:47 testnode1 stonith-ng[12086]:  notice: fence_rhevm_monitor_1:122001:stderr [  ]
    Sep  5 20:53:47 testnode1 stonith-ng[12086]:  notice: fence_rhevm_monitor_1:122001:stderr [ 2023-09-05 20:53:47,541 ERROR: Connection timed out ]
    Sep  5 20:53:47 testnode1 stonith-ng[12086]:  notice: fence_rhevm_monitor_1:122001:stderr [  ]
    Sep  5 20:53:47 testnode1 stonith-ng[12086]:  notice: Operation 'monitor' [122001] for device 'testfence' returned: -62 (Timer expired)
    Sep  5 20:53:47 testnode1 crmd[12090]:   error: Result of monitor operation for testfence on testnode1: Timed Out
    

Environment

  • Red Hat Enterprise Linux (RHEL) 7, 8 or 9 with the High Availability Add On or Resilient Storage Add On
  • fence_rhevm used as fence agent

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content