Closed roelsieg closed 9 months ago
@roelsieg Can you share your 'azure-mgmt-network' version? Thank you very much!
@Fred-sun this is at this version azure-mgmt-network-25.3.0
For your info this is what I installed:
Successfully installed PySocks-1.7.1 adal-1.2.7 aiohttp-3.9.3 aiosignal-1.3.1 anyio-4.3.0 applicationinsights-0.11.10 argcomplete-3.1.6 async-timeout-4.0.3 attrs-23.2.0 azure-cli-core-2.57.0 azure-cli-telemetry-1.1.0 azure-common-1.1.28 azure-core-1.30.0 azure-identity-1.15.0 azure-keyvault-secrets-4.8.0 azure-mgmt-authorization-4.0.0 azure-mgmt-automation-1.0.0 azure-mgmt-compute-30.5.0 azure-mgmt-containerinstance-10.1.0 azure-mgmt-containerregistry-10.3.0 azure-mgmt-containerservice-29.1.0 azure-mgmt-core-1.4.0 azure-mgmt-datafactory-5.0.0 azure-mgmt-datalake-nspkg-3.0.1 azure-mgmt-datalake-store-0.5.0 azure-mgmt-dns-8.1.0 azure-mgmt-eventhub-11.0.0 azure-mgmt-iothub-3.0.0 azure-mgmt-keyvault-10.3.0 azure-mgmt-loganalytics-12.0.0 azure-mgmt-managementgroups-1.0.0 azure-mgmt-marketplaceordering-1.1.0 azure-mgmt-monitor-6.0.2 azure-mgmt-network-25.3.0 azure-mgmt-notificationhubs-8.0.0 azure-mgmt-nspkg-3.0.2 azure-mgmt-privatedns-1.1.0 azure-mgmt-rdbms-10.1.0 azure-mgmt-recoveryservicesbackup-3.0.0 azure-mgmt
@roelsieg Can you downgrade to the specified version 'azure-mgmt-network==19.1.0'? Because of these dependency upgrades, it is possible to change the version specified by the code. Thank you!
kindly ping!
I can confirm the version 19.1.0 from 2021-10-09 is a valid work around. Thanks a lot @Fred-sun for finding that in the dependency tree for us. I hope there will be a permanent fix in a future release of the ansible code also so we don't need to maintain old sdk versions for dependency reasons.
@roelsieg Yeah, we'll set up a time to upgrade together. Thank you!
SUMMARY
API version for
NetworkManagementClient
used byazure_rm_networkinterface
pointing to wrong not existing API2021-03-01
.ISSUE TYPE
COMPONENT NAME
I am trying to use the
azure_rm_networkinterface
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Running ansible from a docker container as a github action runner
STEPS TO REPRODUCE
Just a simple execution within a playbook like this:
EXPECTED RESULTS
Create the azure_rm_networkinterface resource in Azure
ACTUAL RESULTS
Since a while the
api_version
has been pointing here to a not existing API version 2021-03-01 here: https://github.com/ansible-collections/azure/blob/b8d8d09217b5018d681a6a468e55bb7a19b645a1/plugins/module_utils/azure_rm_common.py#L1058Maybe this is a typo and it should have been
2021-02-01
which is existing. Or something changed on Azure API side?