Azure Resource Manager Python SDK not found or not accessible
This document (000021104) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Service Principal type :
fence_azure_arm -vvv --action=status --username="username-for-ServicePrincipal" --password="*whatever*is*the*correct*password*" --resourceGroup="demoGroup" --tenantId="valid-tenantId" --subscriptionId="valid-subscriptionId" -n demo01Managed Identity type:
fence_azure_arm -vvv --action=status --msi --resourceGroup="demoGroup" --subscriptionId="valid-subscriptionId" -n demo01
And the operation fails with following type error:
ERROR: Azure Resource Manager Python SDK not found or not accessible
Resolution
If python3-azure* software stack is not installed :
zypper in -y -f python3-azure-mgmt-compute zypper in -y -f python3-azure-identity
If /usr/lib/python3.6/site-packages/azure/profiles directory is missing:
zypper in -y -f python3-azure-common
If /usr/lib/python3.6/site-packages/azure/mgmt/core directory is missing:
zypper in -y -f python3-azure-mgmt-core
If /usr/lib/python3.6/site-packages/azure/core directory is missing:
zypper in -y -f python3-azure-core
Cause
/usr/lib/python3.6/site-packages/azure/profiles
/usr/lib/python3.6/site-packages/azure/mgmt/core
/usr/lib/python3.6/site-packages/azure/core
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:000021104
- Creation Date: 18-Jun-2023
- Modified Date:31-Jul-2023
-
- SUSE Linux Enterprise High Availability Extension
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com