You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update virtualmachines service to armcompute/v5 SDK
This replaces use of the legacy /services SDK for compute only in the
virtualmachines service, with a minimal set of supporting changes. This
allows using Azure APIs beyond those available via the legacy SDK.
(cherry picked from commit f76ad07)
OCPBUGS-55372: Fix regression on ASH with armcompute/v5
The change "Update virtualmachines service to armcompute/v5 SDK" did not
update the StackHub implementation of the virtualmachines service, which
caused a failure in the machine actuator due to the difference in
type returned by Get().
We fix this by moving to a common implementation for both StackHub and
public clouds.
Having a common implementation in virtualmachines also requires a change
to the networkinterfaces Service. The networkinterfaces service Get()
method returns different types for StackHub and public clouds, which
were previously cast to the anticipated types by different
implementations of the virtualmachines service. As we don't require the
full type, we add a new type safe method which returns only the ID,
meaning a common implementation is now safe.
(cherry picked from commit afd0f3f)
event: "Warning FailedCreate CreateError: failed to reconcile machine \"azure-actuator-testing-machine\"s: failed to create vm azure-actuator-testing-machine: failed to create VM: failed to create or get machine: compute.VirtualMachinesClient#CreateOrUpdate: MOCK: StatusCode=300",
804
804
statusCode: 300,
805
805
requeable: true,
806
806
},
807
807
{
808
808
name: "CreateMachine",
809
-
event: "Warning FailedCreate CreateError: failed to reconcile machine \"azure-actuator-testing-machine\"s: failed to create vm azure-actuator-testing-machine: failed to create VM: failed to create or get machine: compute.VirtualMachinesClient#CreateOrUpdate: MOCK: StatusCode=401",
0 commit comments