Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1316364 - Auto completion does not work normaly when command name is prefixed with path
Auto completion does not work normaly when command name is prefixed with path
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.2.0
Unspecified Unspecified
low Severity low
: ---
: 3.7.0
Assigned To: Fabiano Franz
Xingxing Xia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-10 00:21 EST by Xingxing Xia
Modified: 2017-11-28 16:51 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 16:51:43 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Xingxing Xia 2016-03-10 00:21:21 EST
Description of problem:
Auto completion works with single oc, but does not work normaly when oc is prefixed with path. 
/bin/openshift, /bin/oadm are similar
Relative path is similar: bin/oc, ./oc
Other software like git has no this problem

Version-Release number of selected component (if applicable):
openshift/oc v3.2.0.1
kubernetes v1.2.0-alpha.7-703-gbc4550d

How reproducible:
Always

Steps to Reproduce:
/bin/oc cre[press Tab]    gets no sub-command
/bin/oc [press Tab]       gets extra "oc":
/bin/oc oc 
Press Tab again,  gets sub-commands:
/bin/oc oc
adm              create           explain          logs             
...

Actual results:
Auto completion is abnormal.

Expected results:
Should auto complete successfully.

Additional info:
Comment 2 Xingxing Xia 2016-07-26 03:18:04 EDT
Not reproduced now in latest puddle version:
atomic-openshift-clients-3.3.0.10-1.git.0.c419cc7.el7.x86_64

`/bin/oc + TAB` works as same as `oc + TAB`.

Could move to ON_QA if suitable. Thanks!
Comment 3 Xingxing Xia 2017-08-25 03:15:55 EDT
Though comment 2 verified, double checked in v3.6, `/bin/oc + TAB` works
Comment 7 errata-xmlrpc 2017-11-28 16:51:43 EST
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/RHSA-2017:3188

Note You need to log in before you can comment on or make changes to this bug.