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
// it is probably ok to do nothing when node ref is not set (it will pop up when connection is back)
81
+
// when node ref is set, we should probably set node MachineNodeHealthy / MachineNodeReady to unknown after some time -> May be it is ok to ignore here, because it is handled when we compute tstatus
82
+
// If connection is down, ignore the error (the node ref will be read as soon as connection is up again).
83
+
// Note: when connection state will change, a reconcile will be triggered automatically.
return ctrl.Result{}, errors.Wrapf(err, "no matching Node for Machine %q in namespace %q", machine.Name, machine.Namespace)
95
105
}
96
106
v1beta1conditions.MarkFalse(machine, clusterv1.MachineNodeHealthyV1Beta1Condition, clusterv1.NodeProvisioningV1Beta1Reason, clusterv1.ConditionSeverityWarning, "Waiting for a node with matching ProviderID to exist")
107
+
// FIXME: exponential slow down
97
108
log.Info("Infrastructure provider reporting spec.providerID, matching Kubernetes Node is not yet available", machine.Spec.InfrastructureRef.Kind, klog.KRef(machine.Namespace, machine.Spec.InfrastructureRef.Name), "providerID", machine.Spec.ProviderID)
98
109
// No need to requeue here. Nodes emit an event that triggers reconciliation.
// Only log if the Machine is a control plane Machine or the Cluster is already initialized to reduce noise.
313
+
// FIXME Exponential slow down
314
+
// Only log if the bootstrap secret has been already created, the Machine is a control plane Machine or the Cluster is already initialized to reduce noise.
315
+
// if ptr.Deref(m.Status.Initialization.BootstrapDataSecretCreated, false) && (util.IsControlPlaneMachine(m) || conditions.IsTrue(s.cluster, clusterv1.ClusterControlPlaneInitializedCondition)) {
0 commit comments