Description of problem: # python evict-pods.py 172.16.120.10 -v -n 1 Arguments to program: Node = 172.16.120.10 Options = {'skip_unschedulable': False, 'resource': 'memory', 'verbose': True, 'dry_run': False, 'num_pods': 1} Checking OpenShift CLI command ... FAIL Error: Checking OpenShift CLI command failed: Error: unknown command "cli" for "openshift" Run 'openshift --help' for usage Version-Release number of selected component (if applicable): openshift v3.9.0-0.19.0 kubernetes v1.9.0-beta1 How reproducible: Always Steps to Reproduce: 1. Get the evict-pods.py from https://github.com/openshift/online/blob/master/scripts/maintenance/evict-pods.py 2. Run the script as admin eg: # python evict-pods.py $nodename -v -n 1 Actual results: Same as description Expected results: evict-pods.py could work well Additional info:
`openshift cli` was a deprecated path. The client command is `oc`. You'll need update the script.
Hi David, The script is provided by devel team, and presents in the online product repo. So the script should be the bug itself. Thanks.
I'm not familiar with the script. Abhishek?