IBM Cloud Docs
Why does the Ingress status show an ERRHPANA error?

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 may prevent the autoscaler from functioning.

For more information on ALB autoscaling, see Dynamically scaling ALBs with autoscaler.

  1. Get the details of the HPA resource.

    kubectl describe horizontalpodautoscaler -n kube-system <albID>
    
  2. In the command output, find the Conditions section and check the ScalingActive status. If the status field shows False, check the Reason and Message field for more information that might resolve the issue.

  3. 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 
    
  4. Wait 10 to 15 minutes for the changes to apply. Then check if the warning is resolved.

    ibmcloud ks ingress status-report get
    
  5. 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.