Bug 1305104 - linked kubectl binaries do not support standard operations
Summary: linked kubectl binaries do not support standard operations
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.2.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-05 16:02 UTC by Timothy St. Clair
Modified: 2016-07-04 00:46 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 16:37:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1065 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise atomic-openshift-utils bug fix update 2016-05-12 20:32:56 UTC

Description Timothy St. Clair 2016-02-05 16:02:50 UTC
Description of problem:
We ship a softlink in our rpms: 

$ ls -la /usr/bin/kubectl
lrwxrwxrwx. 1 root root 2 Jan 29 07:45 /usr/bin/kubectl -> oc

but we don't support that all the standard operations that kubectl does.  IMHO we should strike it from our release b/c its confusing.  

Version-Release number of selected component (if applicable):
*

How reproducible:
100% 

Steps to Reproduce:
1. $ kubectl create namespace thisshouldwork

Actual results:
error: Unexpected args: [namespace thisshouldwork]

Expected results:
namespace "thisshouldwork" created

Additional info:
There are likely other operations as well. 

https://github.com/openshift/origin/issues/7063#issuecomment-180410331

Comment 1 Clayton Coleman 2016-02-06 23:48:39 UTC
Those operations had not been picked up until the most recent rebase.  We plan to continue to ship this command for compatibility.  Exceptions are specific and relate to functionality upstream that is not ready to be provided to customers, like "apply" (which is now enabled as of 1.1.2).

Moving to ON_QA - this should be in master.

Comment 3 DeShuai Ma 2016-02-14 05:11:26 UTC
Verify this bug, In later test QE will cover kubectl command.

Comment 5 errata-xmlrpc 2016-05-12 16:37:54 UTC
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-2016:1065


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