diff --git a/core/steps/microvm/start.go b/core/steps/microvm/start.go index f0b55f89f..013dcf405 100644 --- a/core/steps/microvm/start.go +++ b/core/steps/microvm/start.go @@ -14,7 +14,7 @@ import ( "github.com/weaveworks/flintlock/pkg/planner" ) -const waitToBoot = 10 +const waitToBoot = 5 func NewStartStep(vm *models.MicroVM, vmSvc ports.MicroVMService) planner.Procedure { return &startStep{ diff --git a/infrastructure/controllers/microvm_controller.go b/infrastructure/controllers/microvm_controller.go index 2aca33fcf..e45313f27 100644 --- a/infrastructure/controllers/microvm_controller.go +++ b/infrastructure/controllers/microvm_controller.go @@ -48,7 +48,10 @@ func (r *MicroVMController) Run(ctx context.Context, if resyncOnStart { if err := r.resyncSpecs(ctx, logger); err != nil { - return fmt.Errorf("resyncing specs on start: %w", err) + // Do not return here, if one fails, we can still listen on + // new requests and reconcile vms, if they are failing always, + // the retry logic will handle this. + logger.Errorf("resyncing specs on start: %w", err) } }