When accessing “Identity Providers” in the Konvoy dashboard, the following errors are reported, even though the dex addons are successfully deployed:
“Error fetching identity providers”
“GraphQL error: Dex Addon not found"
This issue can be encountered when Dex is disabled at the time the Kommander UI pod starts but is then enabled later.
The following events are logged in the opsportal-kubeaddons-kommander-ui log when attempting to access the Identity Providers section in the Konvoy dashboard:
2020-12-04T20:51:08.383Z [warn]: Can not load costs due to missing clusterId with this cluster: konvoy-host-cluster 2020-12-04T20:51:12.231Z [warn]: Dex addon not found.
To fix the issue, the pod opsportal-kubeaddons-kommander-ui-XXXXXX-YYYY must be restarted, which can be done by scaling down/up the deployment:
kubectl scale deployment opsportal-kubeaddons-kommander-ui -n kubeaddons --replicas 0
kubectl scale deployment opsportal-kubeaddons-kommander-ui -n kubeaddons --replicas 1
If restarting the opsportal-kubeaddons-kommander-ui pod does not fix the issue, please submit a ticket from the D2iQ Support portal and our Support team will be happy to investigate further.