Closed jcanocan closed 1 year ago
Can one of the admins check and authorise this run please: https://ci.kronosnet.org/job/fence-agents/job/fence-agents-pipeline/job/PR-562/1/input
+1 Trying to run fence_azure_arm
failed with the same error, and the above fix helped
Thanks.
Problem:
The
fence_azure_arm
script shows the following error:Explanation:
The function virtual_machines.get() has changed its signature from:
to:
Therefore, the number of positional arguments has been reduced to two:
resource_group_name
andmachine_name
, while theexpand
parameter has swift from a positional argument to a keyword-only argument: https://github.com/Azure/azure-sdk-for-python/pull/27590/files#diff-d5feb43fb2e32f16f624d64917b3fa784cc7ea829373fcd49dc09a9a36e46f56L105Fix: https://github.com/Azure/azure-sdk-for-python/issues/30983
All credit to @msyyc who originally posted the solution to this issue in: https://github.com/Azure/azure-sdk-for-python/issues/30983#issuecomment-1647081509