dex pod not get scheduled on active controller after network restart
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
João Victor Portal |
Bug Description
Brief Description
-----------------
Dex pod (eg oidc-dex-
Severity
--------
Minor
Steps to Reproduce
------------------
Steps to Reproduce
1. Setup any multinode lab (DX/Std/DC with multinode System Controller) with OIDC.
2. Create Ldap user and verify it has got kubectl access after oidc token generation.
3. Restart network on active controller.
Expected Behavior
------------------
once the controller is online and available, dex pod should be scheduled on it.
ldap user should be able to login to the controller and access k8s after generating new token.
Actual Behavior
----------------
dex pod is not scheduled on controller that was n/w reboot. Both dex pods are scheduled on controller-1. (lab has 2 controllers and hence 2 dex pods)
No impact on ldap login. User is able to login, generate token and access k8s cli.
Reproducibility
---------------
Reproducible
Executed n/w restart 2 times and observed same behavior.
System Configuration
-------
DX/Std/DC with multinode System Controller
Branch/Pull Time/Commit
-------
NA.
Last Pass
---------
NA.
Timestamp/Logs
--------------
Before network restart:
sysadmin@
kube-system oidc-dex-
kube-system oidc-dex-
kube-system stx-oidc-
kube-system stx-oidc-
sysadmin@
sysadmin@
After controller-0 is online and available
[sysadmin@
kube-system oidc-dex-
kube-system oidc-dex-
kube-system stx-oidc-
kube-system stx-oidc-
Test Activity
-------------
Feature Testing
Workaround
----------
Delete the pod. New pod would be created and scheduled on controller-0.
Changed in starlingx: | |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 stx.apps |
Changed in starlingx: | |
assignee: | nobody → João Victor Portal (jvictorp) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /docs/+ /913455
Review: https:/