Bug 1378368 - [platformmanagement_public_479] User can not edit scheduledjobs
Summary: [platformmanagement_public_479] User can not edit scheduledjobs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.x
Assignee: Maciej Szulik
QA Contact: Chuan Yu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-22 09:39 UTC by weiwei jiang
Modified: 2016-12-09 21:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
This is a new feature so no doc update needed.
Clone Of:
Environment:
Last Closed: 2016-12-09 21:51:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description weiwei jiang 2016-09-22 09:39:34 UTC
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 12:15:39 UTC
This should fix the problem: https://github.com/kubernetes/kubernetes/pull/34010

Comment 2 Maciej Szulik 2016-10-10 11:52:43 UTC
Origin cherry-pick https://github.com/openshift/origin/pull/11286

Comment 3 openshift-github-bot 2016-10-18 11:00:11 UTC
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 05:31:28 UTC
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.