AMKO logs contain recurring messages similar to:
AMKO POD may also show:
Version(s): 22.1.x ,30.2.x,31.1.x
Component: AMKO (Avi Multicluster Kubernetes Operator)
Platform: OpenShift / Kubernetes
The issue occurs due to a defect in the alb-sdk library used by AMKO to handle Avi REST API calls.
When AMKO constructs API requests, it checks whether the URL ends with "login". If it does, AMKO assumes the request is for authentication and skips adding the authentication header (sessionid cookie).
However, the check incorrectly triggers for any URL that ends with “login”, even if it is not the Avi /login endpoint — for example, when a Health Monitor object name ends with “-login”.
This results in:
Missing authentication headers for certain REST calls.
REST request parsing errors on the AMKO side.
Retries and failed reconciliations.
Example problematic config:
Rename any Health Monitor or object reference that ends with "login".
For example:
should be renamed to:
After renaming, AMKO should be able to communicate with the Controller successfully.
A code-level fix is being targeted in AMKO 2.1.1.
This fix will make the SDK check explicitly for the /login endpoint instead of any string ending with “login”.