Bug 1563673
Summary: | [RFE] Add timeout when draining a node for update | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Thom Carlin <tcarlin> | |
Component: | Cluster Version Operator | Assignee: | Scott Dodson <sdodson> | |
Status: | CLOSED ERRATA | QA Contact: | Weihua Meng <wmeng> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 3.6.1 | CC: | aos-bugs, jokerman, jvallejo, mmccomas, mtaru, wmeng | |
Target Milestone: | --- | |||
Target Release: | 3.9.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | No Doc Update | ||
Doc Text: |
undefined
|
Story Points: | --- | |
Clone Of: | ||||
: | 1573478 (view as bug list) | Environment: | ||
Last Closed: | 2018-06-27 18:01:34 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1724792, 1573478 |
Description
Thom Carlin
2018-04-04 12:23:51 UTC
Per the help output of `drain`[1], `--force` must be used in order to allow deletion to proceed for a few cases involving managed pods. @Scott, the playbook could be updated to run drain with --force and a --timeout 1. https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/drain.go#L166-L167 This was delivered in 3.9 GA https://github.com/openshift/openshift-ansible/pull/5080 https://trello.com/c/MSD4BNm9/580-3-node-upgrade-improvements Fixed. openshift-ansible-3.9.14-1.git.3.c62bc34.el7.noarch.rpm This is already shipped. Docs about this: https://docs.openshift.com/container-platform/3.9/upgrading/automated_upgrades.html#customizing-node-upgrades The openshift_upgrade_nodes_drain_timeout variable allows you to specify the length of time to wait before giving up. 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/RHSA-2018:2013 |