fkrepins@redhat.com , sure, will verify backport too. One thing, it was my ignorance: as early as 2021, I observed this issue in automation tests https://github.com/openshift/cucushift/pull/8378 where the co/authentication transitioned to Progressing=False while the old-gen pods were still Terminating, but I did not consider it a bug, because I thought it was minor, no harm, just needed a few more seconds waiting time; thus, instead, I fixed our auto to wait more time for the old-gen pods to disappear :face-palm:
Today, first, again, I tried below to double manually reproduce it in unfixed version (4.17.6) as below, CC rhn-support-rgangwar :
1. Trigger oauth-openshift to roll out
2. Immediately run:
$ while true; do date; oc get co authentication; oc get po -n openshift-authentication -o wide; echo; done
I see the output:
...
...
Thu Nov 28 05:00:03 PM CST 2024
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.17.6 True True False 69m OAuthServerDeploymentProgressing: deployment/oauth-openshift.openshift-authentication: 2/3 pods have been updated to the latest generation
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
oauth-openshift-76b74b5855-75hds 1/1 Running 0 62s 10.128.0.97 lhy-417-1128-1-xzb85-master-0 <none> <none>
oauth-openshift-76b74b5855-qkhm2 0/1 Pending 0 6s <none> <none> <none> <none>
oauth-openshift-76b74b5855-tmxvv 1/1 Running 0 34s 10.129.0.78 lhy-417-1128-1-xzb85-master-1 <none> <none>
oauth-openshift-845867d688-sx55h 1/1 Terminating 0 13m 10.130.0.90 lhy-417-1128-1-xzb85-master-2 <none> <none>
Thu Nov 28 05:00:04 PM CST 2024
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.17.6 True False False 69m
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
oauth-openshift-76b74b5855-75hds 1/1 Running 0 63s 10.128.0.97 lhy-417-1128-1-xzb85-master-0 <none> <none>
oauth-openshift-76b74b5855-qkhm2 0/1 Pending 0 7s <none> <none> <none> <none>
oauth-openshift-76b74b5855-tmxvv 1/1 Running 0 35s 10.129.0.78 lhy-417-1128-1-xzb85-master-1 <none> <none>
oauth-openshift-845867d688-sx55h 1/1 Terminating 0 13m 10.130.0.90 lhy-417-1128-1-xzb85-master-2 <none> <none>
...
...
Thu Nov 28 05:00:21 PM CST 2024
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.17.6 True False False 69m
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
oauth-openshift-76b74b5855-75hds 1/1 Running 0 81s 10.128.0.97 lhy-417-1128-1-xzb85-master-0 <none> <none>
oauth-openshift-76b74b5855-qkhm2 0/1 Pending 0 25s <none> <none> <none> <none>
oauth-openshift-76b74b5855-tmxvv 1/1 Running 0 53s 10.129.0.78 lhy-417-1128-1-xzb85-master-1 <none> <none>
oauth-openshift-845867d688-sx55h 1/1 Terminating 0 13m 10.130.0.90 lhy-417-1128-1-xzb85-master-2 <none> <none>
Thu Nov 28 05:00:23 PM CST 2024
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.17.6 True False False 69m
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
oauth-openshift-76b74b5855-75hds 1/1 Running 0 82s 10.128.0.97 lhy-417-1128-1-xzb85-master-0 <none> <none>
oauth-openshift-76b74b5855-qkhm2 0/1 ContainerCreating 0 26s <none> lhy-417-1128-1-xzb85-master-2 <none> <none>
oauth-openshift-76b74b5855-tmxvv 1/1 Running 0 54s 10.129.0.78 lhy-417-1128-1-xzb85-master-1 <none> <none>
Thu Nov 28 05:00:24 PM CST 2024
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE MESSAGE
authentication 4.17.6 True False False 69m
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
oauth-openshift-76b74b5855-75hds 1/1 Running 0 84s 10.128.0.97 lhy-417-1128-1-xzb85-master-0 <none> <none>
oauth-openshift-76b74b5855-qkhm2 1/1 Running 0 28s 10.130.0.94 lhy-417-1128-1-xzb85-master-2 <none> <none>
oauth-openshift-76b74b5855-tmxvv 1/1 Running 0 56s 10.129.0.78 lhy-417-1128-1-xzb85-master-1 <none> <none>
...
...
i.e. at Nov 28 05:00:04 PM CST 2024, Progressing already turned False, but it should not, because the old-gen pod oauth-openshift-845867d688-sx55h was still running (i.e. Terminating) until Nov 28 05:00:21 PM CST 2024.
xxia-1 Updated, all pods got rollout