Description of problem: Since the 'openshift cli' and 'openshift admin' commands deprecated in OCP 3.9, the openshift-dedicated-role.service could not running on 3.9 cluster Version-Release number of selected component (if applicable): # openshift version openshift v3.9.0-0.38.0 kubernetes v1.9.1+a0ce1bc657 etcd 3.2.8 How reproducible: always Steps to Reproduce: 1.install the latest openshift-scripts-dedicated scripts on the OCP 3.9 cluster 2.start the openshift-dedicated-role.service 3. Actual results: openshift-dedicated-role.service could not started Expected results: openshift-dedicated-role.service start successfully Additional info: error logs: Feb 06 20:40:58 python[61825]: Checking OpenShift CLI command ... Feb 06 20:40:58 python[61825]: FAIL Feb 06 20:40:58 python[61825]: Error: Checking OpenShift CLI command failed: Error: unknown command "cli" for "openshift" Feb 06 20:40:58 python[61825]: Run 'openshift --help' for usage.
This is not a bug. We have intentionally removed links to the "cli" from the openshift binary. Use the `oc` binary instead.
This should be not a command line issue, just need update update the dedicated openshift-dedicated script.
*** Bug 1558254 has been marked as a duplicate of this bug. ***
This is not an auth bug, please reassign to the correct component
This change was made earlier this week and is ready for testing
Verifiled. # rpm -qa | grep dedi openshift-scripts-dedicated-3.7.2.44-1.git.0.a7e17f1.el7.x86_64 # openshift version openshift v3.9.30 kubernetes v1.9.1+a0ce1bc657 etcd 3.2.16 Error log: # /usr/bin/apply-dedicated-roles.py --project-role-file=${PROJECT_ROLE_FILE} --cluster-role-file=${CLUSTER_ROLE_FILE} --dedicated-admin-group-file=${DEDICATED_ADMIN_GROUP_FILE} --skip-projects=${SKIP_PROJECTS} --groups=${GROUPS} Error: Checking OpenShift admin CLI command failed: