Description of problem: We recently upgraded our openshift platform to 3.5* latest and we were testing the cronjobs. We created few cronjobs and they are running fine but when i was trying to describe its throwing below error: mukeshk2@MUKESHK2-M-C08S:[~] :>oc describe cronjobs pi Error from server (NotFound): the server could not find the requested resource +++++++++++++++++++++ other oc get/edit/export cronjobs are working fine but not describe. We can describe scheduledjob in 3.4 but not cronjobs in 3.5 Version-Release number of selected component (if applicable): :>openshift version openshift v3.5.5.31 kubernetes v1.5.2+43a9be4 etcd 3.1.0 :>oc get cronjobs NAME SCHEDULE SUSPEND ACTIVE LAST-SCHEDULE pi */2 * * * ? False 1 Thu, 10 Aug 2017 14:46:00 +0530 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: It doesn't work Expected results: It should work Additional info:
This is a known problem/limitation that is fixed in 3.7 release.
verified with the 3.7 version, the issue has fixed: openshift version openshift v3.7.0-0.147.1 kubernetes v1.7.6+a08f5eeb62 etcd 3.2.1 oc get cronjob NAME SCHEDULE SUSPEND ACTIVE LAST-SCHEDULE sj3 */5 * * * * False 1 Wed, 11 Oct 2017 17:05:00 +0800 oc describe cronjob sj3 Name: sj3 Namespace: test Labels: run=sj3 Annotations: <none> Schedule: */5 * * * * Concurrency Policy: Allow Suspend: False Starting Deadline Seconds: <unset> Selector: <unset> Parallelism: <unset> Completions: <unset> Pod Template: Labels: run=sj3 Containers: sj3: Image: busybox Port: <none> Args: sleep 300 Environment: <none> Mounts: <none> Volumes: <none> Last Schedule Time: Wed, 11 Oct 2017 17:05:00 +0800 Active Jobs: sj3-1507712700 Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 23m 23m 1 cronjob-controller Normal SuccessfulCreate Created job sj3-1507711500 17m 17m 1 cronjob-controller Normal SuccessfulCreate Created job sj3-1507711800 17m 17m 1 cronjob-controller Normal SawCompletedJob Saw completed job: sj3-1507711500 13m 13m 1 cronjob-controller Normal SuccessfulCreate Created job sj3-1507712100 12m 12m 1 cronjob-controller Normal SawCompletedJob Saw completed job: sj3-1507711800 7m 7m 1 cronjob-controller Normal SawCompletedJob Saw completed job: sj3-1507712100 7m 7m 1 cronjob-controller Normal SuccessfulCreate Created job sj3-1507712400 2m 2m 1 cronjob-controller Normal SuccessfulCreate Created job sj3-1507712700 2m 2m 1 cronjob-controller Normal SawCompletedJob Saw completed job: sj3-1507712400
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