canonical/dex-auth-operator

Intermittently and randomly logged out of KF

Closed this issue · 2 comments

Hi folks,
I'm seeing intermittent and random issues with session timeouts and being kicked out of Kubeflow by dex, leading to random failure (possibly triggered by a pod getting bounced, but not completely sure).

But then dex seems to get confused, and usually doesn't redirect me to the login screen but instead bombs with a generic unauthorised error => need to use an Incognito tab to be able to log back in again.

Please advise

Browser - Google Chrome Stable 93.0.4577.63-1
Baseline - MicroK8s 1.21/stable
Kubeflow - cs:kubeflow (current release version)
OS - Ubuntu 21.04 hirsute

Hardware - Host1: Mem: 15G, Swap 3G, i7 g11 @4 cores each with 2 threads @2.8Ghz

Fresh MicroK8s install:

sudo snap install microk8s --classic --channel=1.21
microk8s status --wait-ready
microk8s enable storage dns
microk8s enable kubeflow --bundle=cs:kubeflow
microk8s enable dashboard

Not sure if it is the same, but I think canonical/microk8s#2571 is similar and in general I've experienced similar things (if I leave a kubeflow deployment for a few days sometimes I come back to a broken dashboard I cannot easily recover). @DomFleischmann this is probably a good thing for someone to dig into further

I believe this should be fixed with the latest release of Charmed Kubeflow. Feel free to reopen if it reoccurs