Stonith agent fence_azure_arm fails with error: "The provided client secret keys for app are expired"

Solution Verified - Updated -

Issue

  • The stonith agent fence_azure_arm configured in pacemaker cluster fails to start with below messages:

    node1 stonith-ng[1589]: warning: fence_azure_arm[22038] stderr: [ 2023-11-30 10:50:27,313 DEBUG: , AdalError: Get Token request returned http error: 401 and server response: {"error":"invalid_client","error_description":"xxyyzz01: The provided client secret keys for app '***-***-***' are expired. Visit the Azure portal to create new keys for your app: https://msurl/NewClientSecret, or consider using certificate credentials for added security: https://msurl/certCreds.
    

Environment

  • Red Hat Enterprise Linux Server 7,8 or 9 (with the High Availability Add-on)
  • Pacemaker
  • fence_azure_arm

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