ansible / ansible/azure-testing
Issue with inventory script azure_rm.py importing network_management_client
- Dominant language
- No language data
- Stars
- 21
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
I am currently getting the following error when trying to run the inventory script:
The Azure python sdk is not installed (try 'pip install azure') - No module named network_management_client
```
pip search azure
...
azure-mgmt-network (0.20.1) - Microsoft Azure Network Resource Management Client Library for Python
INSTALLED: 0.20.1 (latest)
...
```
When I try to import manually:
```
>>> from azure.mgmt.network.network_management_client import NetworkManagementClient
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named network_management_client
```
Please let me know if there is any additional information I can provide.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with azure_rm.py and reproduce the reported import failure using the Azure SDK version shown in the issue. Trace how the inventory script imports NetworkManagementClient and compare that with the installed package layout. Done means the inventory script starts without the reported missing-module error, with coverage for the import path if existing tests support it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100