You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pod shall not transition from terminated phase: "Failed" -> "Succeeded" #17595
changed the title [-]deploymentconfigs keep the deployer pod invariant valid [Conformance] should deal with config change in case the deployment is still running [Suite:openshift/conformance/parallel][/-][+]Pod shall not transition from terminated phase: "Failed" -> "Succeeded"[/+]on Dec 5, 2017
@tnozicka just wondering, have you seen this one lately? Doesn't look like we have hit this one for a while now. Did it disappear at the same time we bumped the disk size on the CI instances?
I haven't. @ironcladlou@mfojtik got any flakes looking like this? (Those are usually different tests as the detector is asynchronous and run for every deployment test.)
This is a serious bug and I feel we need that enforcement in the apiserver as well as the fix.
It feels like the whole kubelet status manager ignores optimistic concurrency with resourceVersion and just does GET before updating the status no matter what resourceVersion was used for computing that status - the precondition might have changed in that case.
Activity
tnozicka commentedon Dec 5, 2017
@sjenning it seems to already have #17514
I don't think your condition prevents failed->succeded
origin/vendor/k8s.io/kubernetes/pkg/kubelet/status/status_manager.go
Line 286 in 21271eb
There few other flakes likely caused by kubelet not respecting pod state transition diagram:
/assign @sjenning
/unassign @tnozicka @mfojtik
/priority P0
tnozicka commentedon Dec 5, 2017
(previous issue #17011)
[-]deploymentconfigs keep the deployer pod invariant valid [Conformance] should deal with config change in case the deployment is still running [Suite:openshift/conformance/parallel][/-][+]Pod shall not transition from terminated phase: "Failed" -> "Succeeded"[/+]7 remaining items
sjenning commentedon Jan 30, 2018
@tnozicka just wondering, have you seen this one lately? Doesn't look like we have hit this one for a while now. Did it disappear at the same time we bumped the disk size on the CI instances?
tnozicka commentedon Jan 31, 2018
I haven't. @ironcladlou @mfojtik got any flakes looking like this? (Those are usually different tests as the detector is asynchronous and run for every deployment test.)
Any chance that this might be related #18233?
tnozicka commentedon Feb 1, 2018
likely not caused by the informers issue I pointed you to as @deads2k just saw it and the watch cache is already fixed on master
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/18387/test_pull_request_origin_extended_conformance_install/6640/
sjenning commentedon Feb 1, 2018
@tnozicka still trying to get to the root cause on this kubernetes/kubernetes#58711 (comment)
tnozicka commentedon Feb 8, 2018
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/batch/test_pull_request_origin_extended_conformance_install/7087/
sjenning commentedon Feb 12, 2018
Opened a PR upstream:
kubernetes/kubernetes#59767
Merge pull request #59767 from sjenning/check-phase-transition
smarterclayton commentedon Feb 25, 2018
Did this make it into 3.9? If so, still happening (below). If not, we need to get it in before release.
https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/18739/test_pull_request_origin_extended_conformance_install/7966/
sjenning commentedon Feb 27, 2018
It did go in about 2 weeks ago
#18585
Looking into it. If this is legitimately happening even with the check I added, I'm very confused.
tnozicka commentedon Mar 1, 2018
I don't think the requested check in apiserver is present.
To check, if I do
it gets overwritten back to Running.
This is a serious bug and I feel we need that enforcement in the apiserver as well as the fix.
It feels like the whole kubelet status manager ignores optimistic concurrency with resourceVersion and just does GET before updating the status no matter what resourceVersion was used for computing that status - the precondition might have changed in that case.
origin/vendor/k8s.io/kubernetes/pkg/kubelet/status/status_manager.go
Lines 451 to 476 in 710998e
sjenning commentedon Mar 1, 2018
switching back to this issue
sjenning commentedon Mar 1, 2018
I swear, I'm losing it. I totally forgot that this PR got reopened and merged upstream kubernetes/kubernetes#54530. I'll pick it right now.
Merge pull request #18792 from sjenning/pick-54530-3.9
Merge pull request kubernetes#59767 from sjenning/check-phase-transition