This topic lists error messages for precheck failures that may occur when you update the ALB Ingress controller and the corresponding solutions.
Table of contents
Precautions
Before the update
Before you update the ALB Ingress controller, you need to learn the latest features of the component. For more information, see ALB Ingress Controller.
Before you update the ALB Ingress controller, run the
kubectl get event
command to check whether reconciliation failures occur in the cluster. If reconciliation failures occur, you need to fix the issues and then complete the reconciliation. If you cannot identify the cause of reconciliation failures, submit a ticket.Make sure that the Application Load Balancer (ALB) instance in the ALB console and the AlbConfig use the same configuration. If not, you need to modify the ALB instance and AlbConfig to use the same configuration before you update the component. Do not modify the ALB instance, listeners, forwarding rules, network access control lists (ACLs), or server groups in the ALB console before you perform a precheck. Otherwise, the configuration in the ALB console will be different from the configuration of the AlbConfig or Ingresses. Consequently, the ALB Ingress controller fails to pass the precheck.
If you want to use the configuration of the ALB instance, modify the configuration of the AlbConfig or Ingresses accordingly.
If you want to use the configuration of the AlbConfig or Ingresses, run the
kubectl edit
command to modify a non-key parameter in the configuration of the AlbConfig or Ingresses to trigger a reconciliation. Then, the configuration of the ALB instance in the ALB console is automatically updated. You can also directly modify the configuration of the ALB instance. After you modify the configuration, you need to enable the configuration read-only mode for the ALB instance. For more information, see Enable or disable the configuration read-only mode.
During the update
During the precheck, do not modify the configuration of the AlbConfig or Ingresses because the modification affects the precheck result. If you have modified the configuration of the AlbConfig or Ingresses, perform a precheck again. If the ALB Ingress controller fails to pass the precheck multiple times, submit a ticket.
Error messages for ALB Ingress controller update precheck failures and solutions
If the ALB Ingress controller fails to pass the precheck, log on to the Container Service for Kubernetes (ACK) console, click View Details below Precheck and view the precheck report to identify the cause.
Error messages related to ALB instances
Error message | Cause | Solution | |
Case 1: You have not modified the backend server configuration of the ALB instance in the ALB console | Case 2: You have modified the backend server configuration of the ALB instance in the ALB console | ||
CreateALB | The ALB instance and AlbConfig use different configurations. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same configuration and then perform a precheck again. |
ReuseALB | |||
UnReuseALB | |||
DeleteALB | |||
UpdateALBAttribute | The ALB instance and AlbConfig use different Attribute configurations, such as different ALB instance names or configuration protection configurations. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Run the |
UpdateALBDeletionProtection | The ALB instance and AlbConfig use different deletion protection configurations. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Run the |
UpdateALBAccessLog | The ALB instance and AlbConfig use different access log configurations. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same access log configuration. If you want to use the access log configuration of the ALB instance, run the |
UpdateALBEdition | The ALB instance and AlbConfig use different editions (standard edition or WAF-enabled edition) | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same edition and then perform a precheck again. |
UpdateALBResourceGroup | The ALB instance and AlbConfig use different resource group configurations. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same resource group configuration and then perform a precheck again. |
UpdateALBTag | The ALB instance and AlbConfig use different labels. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same labels and then perform a precheck again. |
UpdateALBAddressType | The ALB instance and AlbConfig use different types of networks. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same type of network. If you want to use the network specified for the ALB instance, run the Important
|
UpdateALBBandWidthPackage | The ALB instance and AlbConfig use different EIP bandwidth plan configurations. | Perform a precheck again. Do not modify the configuration of the AlbConfig during the precheck. | Modify the ALB instance and AlbConfig to use the same EIP bandwidth plan configuration. If you want to use the EIP bandwidth plan configuration of the ALB instance, run the |
Error messages related to listeners
Error message | Cause | Solution | |
Case 1: You have not modified the backend server configuration of the ALB instance in the ALB console | Case 2: You have modified the backend server configuration of the ALB instance in the ALB console | ||
CreateALBListener | The ALB instance and AlbConfig use different listeners. | Perform a precheck again. Do not modify the listeners during the precheck. |
|
UpdateALBListenerExtraCertificates | The ALB instance and AlbConfig use different additional certificates. | Perform a precheck again. Do not modify the listeners during the precheck. | Modify the ALB instance and AlbConfig to use the additional certificates. To use the additional certificates of the ALB instance, run the |
UpdateALBListenerAttribute | The ALB instance and AlbConfig use different listener attributes. | Perform a precheck again. Do not modify the listeners during the precheck. |
|
DeleteALBListener | The ALB instance and AlbConfig use different listeners. | Perform a precheck again. Do not modify the listeners during the precheck. |
|
Error messages related to network ACLs
Error message | Cause | Solution | |
Case 1: You have not modified the backend server configuration of the network ACLs in the ALB console | Case 2: You have modified the backend server configuration of the network ACLs in the ALB console | ||
CreateAcl | The network ACLs and AlbConfig use different access control configurations. | Perform a precheck again. Do not modify the network ACLs during the precheck. | Modify the network ACLs and AlbConfig to use the same access control configuration. If you want to use the access control configuration of the network ACLs, run the |
DeleteAcl | |||
AddEntriesToAcl | |||
RemoveEntriesFromAcl | |||
AssociateAclWithListener | |||
DisassociateAclWithListener |
Error messages related to forwarding rules
Error message | Cause | Solution | |
Case 1: You have not modified the backend server configuration of the ALB instance in the ALB console | Case 2: You have modified the backend server configuration of the ALB instance in the ALB console | ||
CreateALBListenerRules | The ALB instance and Ingresses use different forwarding rules. | Perform a precheck again. Do not modify the forwarding rules during the precheck. | Add forwarding rules and then perform a precheck again. |
UpdateALBListenerRules | The ALB instance and Ingresses use different forwarding rules. | Perform a precheck again. Do not modify the forwarding rules during the precheck. | Configure the ALB instance and Ingresses to use the same forwarding rules. If you want to use the forwarding rules of the ALB instance, run the |
DeleteALBListenerRules | The ALB instance and Ingresses use different forwarding rules. | Perform a precheck again. Do not modify the forwarding rules during the precheck. | Delete the forwarding rules that you added and then perform a precheck again. |
Error messages related to server groups
Error message | Cause | Solution | |
Case 1: You have not modified the backend server configuration of the ALB instance in the ALB console | Case 2: You have modified the backend server configuration of the ALB instance in the ALB console | ||
CreateALBServerGroup | The ALB instance and Ingresses use different server groups. | Perform a precheck again. Do not modify the server groups during the precheck. | Recreate the server groups that you deleted and then perform a precheck again. |
UpdateALBServerGroup | The ALB instance and Ingresses use different server groups. | Perform a precheck again. Do not modify the server groups during the precheck. | Modify the ALB instance and Ingresses to use the same server groups. If you want to use the server groups of the ALB instance, run the |
DeleteALBServerGroup | The ALB instance and Ingresses use different server groups. | Perform a precheck again. Do not modify the server groups during the precheck. | Delete the server groups that you added and then perform a precheck again. |
Error messages related to backend servers
Error message | Cause | Solution | |
Case 1: You have not modified the backend server configuration of the ALB instance in the ALB console | Case 2: You have modified the backend server configuration of the ALB instance in the ALB console | ||
RegisterALBServers | The cluster and ALB instance use different backend servers. | Perform a precheck again. Do not modify the backend servers during the precheck. | Modify the ALB instance to use the same backend servers as the ACK or ACK Serverless cluster and then perform a precheck again. |
DeregisterALBServers | |||
ReplaceALBServers |