Closed ghost closed 6 years ago
Filing an issue with Azure would be a good idea, but the issue seems already fixed: https://github.com/Azure/azure-sdk-for-python/blob/master/azure-mgmt-compute/azure/mgmt/compute/compute_management_client.py#L41
Change done in https://github.com/Azure/azure-sdk-for-python/commit/0489ff9345f8d8f74cd15ec6406a66de6885aff4#diff-433a44198c60035145a426bc490b2538
Ok, apparently the change is in the Azure SDK code base, but not released yet for some reason. Your workaround makes sense, in this case.
Latest release is from 3.0.1 (2017-09-26) , so bugfix is not yet included.
This is also worth a changelog entry.
There is a pre-release which already contains the bugfix, see 0489ff9#commitcomment-29754231
If subscription_id in the configuration item SUBSCRIPTION_IDS uses unicode a string representation e.g. SUBSCRIPTION_IDS = [u'ecfb1234-1234-123b-abc0-1234cb90d12f']
the following error message is displayed:
Debugging the issue, the following traceback is raised:
Maybe we should additionaly file a bug report in the azure.mgmt.compute package.
Casting the subscription_id fixes the issue right now.