Bug 1902690
| Summary: | Worker node is not evicted at soft shutdown | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daniel <dmaizel> |
| Component: | Bare Metal Hardware Provisioning | Assignee: | Steven Hardy <shardy> |
| Bare Metal Hardware Provisioning sub component: | baremetal-operator | QA Contact: | Amit Ugol <augol> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | dhellmann, zbitter |
| Version: | 4.7 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-12-01 17:41:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Daniel
2020-11-30 12:27:49 UTC
It appears to me that graceful shutdown of kubelet was only implemented in upstream k8s in the last month, and it is behind a feature gate: https://github.com/kubernetes/kubernetes/pull/96129 If users want to shut down a host, they should cordon and drain it first. (Deleting the Machine object will do this automatically, though it will also deprovision.) There are valid reasons to want to soft-power-off (e.g. to avoid data corruption/lost disk writes), but relying on it to make k8s drain the Node is not one of them (at least not yet). I'm going to close this bug, but feel free to open another one if it turns out that we are not actually successfully soft powering down the host. |