Description of problem: oc bash completion is not completing everything. Examples: oc get deployment oc get pvc ... In origin however, these seem to be completed: https://github.com/openshift/origin/blob/master/contrib/completions/bash/oc Version-Release number of selected component (if applicable): $ openshift version openshift v3.9.27 kubernetes v1.9.1+a0ce1bc657 etcd 3.2.16 $ dzdo rpm -qa | grep openshift-ansible openshift-ansible-3.9.27-1.git.0.52e35b5.el7.noarch openshift-ansible-roles-3.9.27-1.git.0.52e35b5.el7.noarch openshift-ansible-docs-3.9.27-1.git.0.52e35b5.el7.noarch openshift-ansible-playbooks-3.9.27-1.git.0.52e35b5.el7.noarch
Hi Mauricio, are you able to get any other commands to complete? Have you made sure that the completion script has been sourced in your shell? ``` $ source <(oc completion bash) ```
Hi Juan, >>> are you able to get any other commands to complete? yes, it's a very strange behavior. Some commands complete and others do not. >>>Have you made sure that the completion script has been sourced in your shell? yes, I checked again to make sure.
Hi Mauricio, I have checked this with a newer client, and this issue no longer occurs as of v3.10. Moving this to ON_QA. Thanks
Verified in oc v3.10.0-0.54.0 which is yum installed/upgraded. The problem does not exist. What still exist are bug 1534371's some examples
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:0405