[BUG] Fix NodeNotReadyDetected NPD script failing due to case mismatch in node hostnames
Symptom: "NodeNotReadyDetected" events appear on some nodes, despite the nodes being in a healthy state.
Root Cause: These false positive events are triggered when the NPD (Node Problem Detector) plugin attempts to run diagnostics but fails with exit code 1 due to a case sensitivity mismatch between the uppercase hexadecimal node number in the local hostname and the lowercase version stored in Kubernetes.
Action Needed: None. This issue is being fixed and will be released soon. The bug will be closed once the fix is rolled out to all environments.
Hi, may I ask if you guy have ETA for this fix?
The fix is rolling out, it should be in all regions in ~2 weeks
hi ! Thanks a lot to share this issue ! Is it possible to know what's the error log ? In my case I have something like :
_Running Not Ready checks 2 times with 10s interval... Running Not Ready check 1 of 2... Checking if node is in Ready state...
ERROR: Failed to get node status using kubectl. API Server may not be reachable.
Not Ready check 1 failed (failures: 1/2) Running Not Ready check 2 of 2... Checking if node is in Ready state...
ERROR: Failed to get node status using kubectl. API Server may not be reachable.
Not Ready check 2 failed (failures: 2/2) Not Ready check summary: 2 failures out of 2 checks Node Not Ready detected
(2/2 checks failed) Checking external DNS resolution for www.microsoft.com... Successfully resolved external DNS name: www.microsoft.com Checking node-to-node connectivity... Found another node IP to test: MY_INTERNAL_IP Testing connectivity to node MY_INTERNAL_IP... Successfully connected to node MY_INTERNAL_IP_
It happen since last week :( I also confirme that all my nodes are in Ready State and I was able to contact API Server / Restart the cluster
hi ! Thanks a lot to share this issue ! Is it possible to know what's the error log ? In my case I have something like :
_Running Not Ready checks 2 times with 10s interval... Running Not Ready check 1 of 2... Checking if node is in Ready state... ERROR: Failed to get node status using kubectl. API Server may not be reachable. Not Ready check 1 failed (failures: 1/2) Running Not Ready check 2 of 2... Checking if node is in Ready state... ERROR: Failed to get node status using kubectl. API Server may not be reachable. Not Ready check 2 failed (failures: 2/2) Not Ready check summary: 2 failures out of 2 checks Node Not Ready detected (2/2 checks failed) Checking external DNS resolution for www.microsoft.com... Successfully resolved external DNS name: www.microsoft.com Checking node-to-node connectivity... Found another node IP to test: MY_INTERNAL_IP Testing connectivity to node MY_INTERNAL_IP... Successfully connected to node MY_INTERNAL_IP_It happen since last week :( I also confirme that all my nodes are in Ready State and I was able to contact API Server / Restart the cluster
FYI: The error logs like below: "Failed to get node status using kubectl. API Server may not be reachable".
The fix has rolled out. Please check if your Node Pool or Cluster is in a failed state. AKS Operator is responsible for updating the VM Extension that includes NPD. If the Node Pool or Cluster is in a failed state then AKS Operator won't touch the Node Pool and the nodes won't get the updated extension/NPD.
Thanks for reaching out. I'm closing this issue as it was marked with "resolution/fix-released" and it hasn't had activity for 7 days.