Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1503910

Summary: oc describe cronjob doesn't work
Product: OpenShift Container Platform Reporter: Wang Haoran <haowang>
Component: ocAssignee: Juan Vallejo <jvallejo>
Status: CLOSED WONTFIX QA Contact: Xingxing Xia <xxia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: aos-bugs, ffranz, haowang, jokerman, jvallejo, mmccomas, smunilla
Target Milestone: ---   
Target Release: 3.7.0   
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: 2018-03-09 00:56:02 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 Wang Haoran 2017-10-19 03:32:19 UTC
Description of problem:
oc describe cronjob doesn't work, error:
Error from server (NotFound): the server could not find the requested resource

Version-Release number of selected component (if applicable):
oc v3.6.173.0.56
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://ip-172-18-12-169.ec2.internal:8443
openshift v3.6.173.0.56
kubernetes v1.6.1+5115d708d7

How reproducible:

always
Steps to Reproduce:
1.oc run pi --schedule="0/5 * * * ?" --image=perl --restart=OnFailure -- perl -Mbignum=bpi -wle 'print bpi(2000)'
2.oc describe cronjob pi
Error from server (NotFound): the server could not find the requested resource

3.

Actual results:


Expected results:


Additional info:

Comment 1 Juan Vallejo 2017-10-20 16:27:21 UTC
Origin PR: https://github.com/openshift/origin/pull/16976
Fixes 3.6 client.

This bug does not exist in 3.7 clients.

Comment 2 Wang Haoran 2017-10-24 02:06:04 UTC
Changed to status modified, will verify once new puddle built out.

Comment 4 Wang Haoran 2017-10-31 07:08:00 UTC
Have a test with:
openshift v3.6.173.0.63
kubernetes v1.6.1+5115d708d7
etcd 3.2.1

It is still not work.
oc describe cronjob pi
Error from server (NotFound): the server could not find the requested resource

Comment 5 Juan Vallejo 2017-10-31 14:25:44 UTC
@haowang

It works for me when I test using a 3.6 client compiled
from latest changes on the 3.6 branch [1].
I have tested against both a 3.6 and 3.7 cluster.

Also tested with a 3.7 client against a 3.6 and 3.7 cluster
and it works as expected (with no error from server).

What version of the client are you testing with?

1. https://github.com/openshift/origin/commits/release-3.6

```
$ oc version
oc v3.6.0+008f2d5-64-dirty
kubernetes v1.6.1+5115d708d7
features: Basic-Auth
```