Summary: | which command deprecates `oc adm manage-node`? | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Hongkai Liu <hongkliu> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | aos-bugs, hongkliu, jokerman, lxia, mifiedle, mmccomas |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:41:42 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: |
Description
Hongkai Liu
2019-01-09 19:28:52 UTC
PR merged, moving to on qa. This bug was found by `oc adm manage-node --schedulable=true <node_name>`. With recently version, I can find the right command which replaces the above command. # oc version --client -o yaml clientVersion: buildDate: 2019-02-27T02:13:46Z compiler: "" gitCommit: 0cbcfc5afe gitTreeState: "" gitVersion: v4.0.5 goVersion: "" major: "4" minor: 0+ platform: "" # oc adm manage-node --schedulable=true ip-172-31-62-96.us-west-2.compute.internal Error: unknown flag: --schedulable Usage: oc adm [flags] Cluster Management: upgrade Upgrade a cluster top Show usage statistics of resources on the server Node Management: drain Drain node in preparation for maintenance cordon Mark node as unschedulable uncordon Mark node as schedulable taint Update the taints on one or more nodes node-logs Display and filter node logs ... # oc adm cordon --help Mark node as unschedulable. Usage: oc adm cordon NODE [flags] Examples: # Mark node "foo" as unschedulable. oc adm cordon foo Options: --dry-run=false: If true, only print the object that would be sent, without sending it. -l, --selector='': Selector (label query) to filter on Use "oc adm options" for a list of global command-line options (applies to all commands). # oc get node NAME STATUS ROLES AGE VERSION ip-10-0-139-117.us-east-2.compute.internal Ready master 137m v1.12.4+0cbcfc5afe ip-10-0-141-124.us-east-2.compute.internal Ready worker 120m v1.12.4+0cbcfc5afe ip-10-0-146-210.us-east-2.compute.internal Ready master 137m v1.12.4+0cbcfc5afe ip-10-0-153-255.us-east-2.compute.internal Ready worker 120m v1.12.4+0cbcfc5afe ip-10-0-168-2.us-east-2.compute.internal Ready master 137m v1.12.4+0cbcfc5afe ip-10-0-173-190.us-east-2.compute.internal Ready worker 120m v1.12.4+0cbcfc5afe # oc adm cordon ip-10-0-141-124.us-east-2.compute.internal node/ip-10-0-141-124.us-east-2.compute.internal cordoned # oc get node NAME STATUS ROLES AGE VERSION ip-10-0-139-117.us-east-2.compute.internal Ready master 138m v1.12.4+0cbcfc5afe ip-10-0-141-124.us-east-2.compute.internal Ready,SchedulingDisabled worker 120m v1.12.4+0cbcfc5afe ip-10-0-146-210.us-east-2.compute.internal Ready master 138m v1.12.4+0cbcfc5afe ip-10-0-153-255.us-east-2.compute.internal Ready worker 120m v1.12.4+0cbcfc5afe ip-10-0-168-2.us-east-2.compute.internal Ready master 138m v1.12.4+0cbcfc5afe ip-10-0-173-190.us-east-2.compute.internal Ready worker 120m v1.12.4+0cbcfc5afe 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-2019:0758 |