In Executor.CreateMachine invoked by Driver.CreateMachine we have HARD-CODED the provisioning time for the openstack Server object when waiting for it to become active to 1200 seconds. See
|
activeServer, err = ex.waitForServerStatus(ctx, |
var activeServer *servers.Server
activeServer, err = ex.waitForServerStatus(ctx,
server.ID,
[]string{client.ServerStatusBuild},
[]string{client.ServerStatusActive}, 1200)
if err != nil {
return nil, deleteOnFail(fmt.Errorf("error waiting for server [ID=%q] to reach target status: %w", server.ID, err))
}
This is incorrect. We should use machine.Spec.MachineConfiguration.MachineCreationTimeout. In future effective MachineCreationTimeout's will be adjusted by the gardener/dependency-watchdog and should be honored by MCM and providers.
In
Executor.CreateMachineinvoked by Driver.CreateMachine we have HARD-CODED the provisioning time for the openstackServerobject when waiting for it to become active to1200seconds. Seemachine-controller-manager-provider-openstack/pkg/driver/executor/executor.go
Line 137 in 07427c6
This is incorrect. We should use
machine.Spec.MachineConfiguration.MachineCreationTimeout. In future effectiveMachineCreationTimeout's will be adjusted by thegardener/dependency-watchdogand should be honored by MCM and providers.