Bug 1787334
| Summary: | Upgrade can not start due to version pod fail to request expected ephemeral-storage on master node | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Wei Sun <wsun> |
| Component: | Cluster Version Operator | Assignee: | W. Trevor King <wking> |
| Status: | CLOSED ERRATA | QA Contact: | liujia <jiajliu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.3.0 | CC: | adahiya, aos-bugs, jiajliu, jokerman, wking, wsun, xtian, zpeng |
| Target Milestone: | --- | Keywords: | Regression, TestBlocker |
| Target Release: | 4.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1786315 | Environment: | |
| Last Closed: | 2020-01-23 11:19:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1787424 | ||
| Bug Blocks: | 1786315 | ||
|
Description
Wei Sun
2020-01-02 12:46:51 UTC
Per the https://bugzilla.redhat.com/show_bug.cgi?id=1786315#c2 , clone this bug for 4.3.0 *** Bug 1787422 has been marked as a duplicate of this bug. *** The original issue from bz1786315 will not happen during an upgrade from v4.3. But the fix/workaround in bz1786315 may cause the inconsistency between v4.2 and v4.3, which will cause further issue when do continues upgrade following 4.2-4.3-4.3 latest path. So this bug is for enhance and consistancy in v4.3. QE will do regression test against the pr and check no ephemeral-storage request from v4.3 cvo. you could also validate it against the interrupted-update flow from [1], you'd just need to trigger the second 4.3->4.3 update (step 6) before the first 4.2->4.3 update (step 2) got far enough to bump control-plane kubelets. But I'm fine with more basic regression testing too ;). [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1787422#c0 Run upgrade from 4.3.0-0.nightly-2020-01-02-214950 to 4.3.0-0.nightly-2020-01-03-005054 succeed.
Checked the version pod did not request ephemeral-storage resource even the scheduled node had the capacity.
# oc get pod/version--hwwg5-wgpbq -o json -n openshift-cluster-version |jq .spec.containers[].resources
{
"requests": {
"cpu": "10m",
"memory": "50Mi"
}
}
# oc get node control-plane-1 -o json|jq .status.capacity
{
"cpu": "4",
"ephemeral-storage": "30905324Ki",
"hugepages-1Gi": "0",
"hugepages-2Mi": "0",
"memory": "8163844Ki",
"pods": "250"
}
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062 |