Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1378368 - [platformmanagement_public_479] User can not edit scheduledjobs
[platformmanagement_public_479] User can not edit scheduledjobs
Status: CLOSED CURRENTRELEASE
Product: OKD
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.x
Unspecified Unspecified
medium Severity medium
: ---
: 3.x
Assigned To: Maciej Szulik
Chuan Yu
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-22 05:39 EDT by weiwei jiang
Modified: 2016-12-09 16:51 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
This is a new feature so no doc update needed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-09 16:51:15 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)

  None (edit)
Description weiwei jiang 2016-09-22 05:39:34 EDT
Description of problem:
When try to edit scheduledjobs, got:
# oc edit scheduledjobs sj2 
A copy of your changes has been stored to "/tmp/oc-edit-xdosz.yaml"
error: no kind "ScheduledJob" is registered for version "batch/v1"


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

How reproducible:
always

Steps to Reproduce:
1. Create a scheduledjob
oc run sj2 --image=busybox --restart=Never --schedule="*/1 * * * *" -- sleep 300
2. Try to edit the scheduled job, make some change and try to save back to server
oc edit scheduledjobs sj2
3.

Actual results:
# oc edit scheduledjobs sj2 
A copy of your changes has been stored to "/tmp/oc-edit-xdosz.yaml"
error: no kind "ScheduledJob" is registered for version "batch/v1"


Expected results:
should work well

Additional info:
Comment 1 Maciej Szulik 2016-10-04 08:15:39 EDT
This should fix the problem: https://github.com/kubernetes/kubernetes/pull/34010
Comment 2 Maciej Szulik 2016-10-10 07:52:43 EDT
Origin cherry-pick https://github.com/openshift/origin/pull/11286
Comment 3 openshift-github-bot 2016-10-18 07:00:11 EDT
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/3ed3b35bca711e83944b7bc678f928ad87520805
Merge pull request #11286 from soltysh/bug1378368

Merged by openshift-bot
Comment 4 Chuan Yu 2016-10-21 01:31:28 EDT
Check with openshift v3.4.0.13, this issue has been fixed.

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