Bug 2110359
| Summary: | oc get stopped doing completion on tab. | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Shay Rozen <srozen> |
| Component: | oc | Assignee: | Jan Chaloupka <jchaloup> |
| oc sub component: | oc | QA Contact: | zhou ying <yinzhou> |
| Status: | CLOSED DUPLICATE | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | aguclu, jchaloup, mfojtik |
| Version: | 4.11 | Keywords: | Reopened |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-03 10:01:26 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: | |||
|
Description
Shay Rozen
2022-07-25 10:12:29 UTC
Hello Shay, checking with 4.12.0-0.nightly-2022-07-07-144231 on Fedora 32 with bash-5.0.17-1.fc32.x86_64 I am not able to reproduce the issue. When doing "oc get <tab>", "oc get pods <tab>" I get the resources, resp. pods. ``` $ oc get <tab> Display all 188 possibilities? (y or n) $ oc get pod<tab> poddisruptionbudgets.policy pods podtemplates podmonitors.monitoring.coreos.com podsecuritypolicies.policy podnetworkconnectivitychecks.controlplane.operator.openshift.io pods.metrics.k8s.io ``` When doing "$ oc get pods <tab>" the command changes into "$ oc get pods sso". For namespaces: ``` $ oc get ns <tab> default openshift-cluster-storage-operator openshift-ingress openshift-multus kube-node-lease openshift-cluster-version openshift-ingress-canary openshift-network-diagnostics ... ``` When building and running oc from the latest release-4.11 head I am still not able to reproduce it. What operating system/bash version are you using? Hi Jan, the problem occurred while using 4.11.0-0.nightly-2022-07-24-151159 and still happens with the newer 4.11 nightly. Maybe it got fixed in 4.12 somehow but still happens in 4.11 which the BZ was raised on. *** This bug has been marked as a duplicate of bug 2101885 *** I'm reopening. https://bugzilla.redhat.com/show_bug.cgi?id=2101885 is about 4.12. This is around 4.11. I set duplicate id of 4.12. This is 4.11 https://bugzilla.redhat.com/show_bug.cgi?id=2107003 and this https://github.com/openshift/oc/pull/1206 is the patch waiting to be approved. *** This bug has been marked as a duplicate of bug 2107003 *** |