Bug 2109799 - [oc compatibility] - oc serviceaccounts get-token <sa_name> for 4.10 oc not functioning against 4.11 cluster
Summary: [oc compatibility] - oc serviceaccounts get-token <sa_name> for 4.10 oc not f...
Keywords:
Status: CLOSED DUPLICATE of bug 2108241
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Arda Guclu
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-22 07:02 UTC by RamaKasturi
Modified: 2022-09-06 11:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-06 11:29:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description RamaKasturi 2022-07-22 07:02:44 UTC
Description of problem:
Given oc is supposed to be +1/-1 version compatible i see that oc get sa <token> for 4.10 against 4.11 cluster gives error

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


How Reproducible:
Login to 4.11 cluster
Using 4.10 oc client run the command ‘oc serviceaccounts get-token <sa_name> -n openshift-monitoring`

Actual Results:
ec2-user@ip-10-0-8-161 ~ % ./oc serviceaccounts get-token prometheus-k8s -n openshift-monitoring
error: could not find a service account token for service account "prometheus-k8s"

Expected Results:
Given oc is supposed to be +1/-1 version compatible i expect that no error is thrown.

Additional Info:
https://coreos.slack.com/archives/CS05TR7BK/p1658470267599869?thread_ts=1658470242.227799&cid=CS05TR7BK

Comment 2 Arda Guclu 2022-09-06 11:29:45 UTC

*** This bug has been marked as a duplicate of bug 2108241 ***


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