fence_azure_arm fails to fence with ERROR: Failed: 'ServicePrincipalCredentials' object has no attribute 'get_token'
This document (000020377) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server 15 SP1
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP4
Situation
ERROR: Failed: 'ServicePrincipalCredentials' object has no attribute 'get_token'
Resolution
Update to a fixed fence-agents version and install the the Azure Identity python module if it is missing.
SLES12 uses python v2 by default whereas SLES15 uses python v3.
SLES15 SP3
Install fence-agents-4.9.0+git.1624456340.8d746be9-3.5.1 or later and python3-azure-identity
SLES15 SP2
Install fence-agents-4.9.0+git.1624456340.8d746be9-7.29.1 or later and python3-azure-identity
SLES15 SP1
Install fence-agents-4.9.0+git.1624456340.8d746be9-7.29.1 or later and python3-azure-identity
SLES12 SP5
Install fence-agents-4.9.0+git.1624456340.8d746be9-3.29.1 or later and python-azure-identity
SLES12 SP4
Install fence-agents-4.9.0+git.1624456340.8d746be9-3.29.1 or later and python-azure-identity
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020377
- Creation Date: 02-Sep-2021
- Modified Date:10-Sep-2021
-
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com