AAKE AWI landing page won't load if AWI replicas are set above 1
search cancel

AAKE AWI landing page won't load if AWI replicas are set above 1

book

Article ID: 451440

calendar_today

Updated On:

Products

Automic Automation

Issue/Introduction

After increasing the Automic Web Interface (AWI) pods on an Automic Automation Kubernetes Edition (AAKE) system to 2 or more, the AWI login page looks like it tries to refresh over and over, but only shows a blank page or might put some text in, but no fields and login is impossible.

Environment

Automic system installation: AAKE
Version: 24.4, 26.0

Cause

Sticky sessions/session affinity are missing on the AWI ingress.

Resolution

Sticky sessions are required for the AWI load balancer.  Settings for this can differ depending on Kubernetes configuration and settings and a kubernetes admin should be consulted on how to put them in place and actually putting them in place.

Some steps that may help in adding cookie-based affinity to the awi ingress object:

kubectl -n <your-namespace> edit ingress awi

Add under metadata.annotations:

metadata:
  annotations:
    nginx.ingress.kubernetes.io/affinity: "cookie"
    nginx.ingress.kubernetes.io/affinity-mode: "persistent"
    nginx.ingress.kubernetes.io/session-cookie-name: "AWI-AFFINITY"
    nginx.ingress.kubernetes.io/session-cookie-path: "/"