Why does the Ingress status show an ERRHPANA
error?
Virtual Private Cloud Classic infrastructure Satellite
When you check the status of your cluster's Ingress components by running the ibmcloud ks ingress status-report get
command, you see an error similar to the following example.
Autoscaling is failing (ERRHPANA).
There are issues with the horizontal pod autoscaler (HPA) resource that are preventing autoscaling from functioning.
View the HPA resource status for additional information on the error. Check the resource for issues or formatting errors that might prevent the autoscaler from functioning.
For more information on ALB autoscaling, see Dynamically scaling ALBs with autoscaler.
-
Get the details of the HPA resource.
kubectl describe horizontalpodautoscaler -n kube-system <albID>
-
In the command output, find the
Conditions
section and check theScalingActive
status. If the status field showsFalse
, check theReason
andMessage
field for more information that might resolve the issue. -
Check the configuration metrics. Correct any issues or formatting errors. If you specified custom metrics, ensure they are in valid YAML format and that the YAML snippet contains a list of MetricSpec (autoscaling.k8s.io/v2).
ibmcloud ks ingress alb autoscale get -c <clusterID> --alb <albID>
Run the command to apply any changes and update the autoscaler configuration.
ibmcloud ks ingress alb autoscale set
-
Wait 10 to 15 minutes for the changes to apply. Then check if the warning is resolved.
ibmcloud ks ingress status-report get
-
If the issue persists, contact support. Include a detailed list of the troubleshooting steps you took. Open a support case. In the case details, be sure to include any relevant log files, error messages, or command outputs.