Bug 1917660

Summary: Editing parallelism of job get error info
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, jokerman, yapei
Target Milestone: ---   
Target Release: 4.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: 2021-02-24 15:54:35 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:
Attachments:
Description Flags
error-info none

Description Yanping Zhang 2021-01-19 05:20:36 UTC
Created attachment 1748626 [details]
error-info

Description of problem:
Create a job, then "Edit parallelism" from action list, update parallelism count, click "Save", it shows "Danger alert:An error occurred
the server could not find the requested resource"

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2021-01-18-180737

How reproducible:
Always

Steps to Reproduce:
1.Create a job with yaml:
apiVersion: batch/v1
kind: Job
metadata:
  name: example
  namespace: prozyp
spec:
  parallelism: 3
  selector: {}
  template:
    metadata:
      name: pi
    spec:
      containers:
        - name: pi
          image: perl
          command:
            - perl
            - '-Mbignum=bpi'
            - '-wle'
            - print bpi(2000)
      restartPolicy: Never
2.Login console, on the job page, choose "Edit parallelism" from action list, update value, then click "Save".
3.

Actual results:
2. It shows "Danger alert:An error occurred
the server could not find the requested resource"
It's not clear what happened.

Expected results:
2. Should update value successfully. If the field could be updated, should show more detailed info. 
Additional info:

Comment 2 Yadan Pei 2021-01-22 07:27:34 UTC
1.Create a job with yaml:
apiVersion: batch/v1
kind: Job
metadata:
  name: example
  namespace: prozyp
spec:
  parallelism: 3
  selector: {}
  template:
    metadata:
      name: pi
    spec:
      containers:
        - name: pi
          image: perl
          command:
            - perl
            - '-Mbignum=bpi'
            - '-wle'
            - print bpi(2000)
      restartPolicy: Never
2.Login console with normal user(project admin), on the job page, choose "Edit parallelism" from action list, update value, then click "Save", the changes can be saved without error


Verified on 4.7.0-0.nightly-2021-01-21-215614

Comment 5 errata-xmlrpc 2021-02-24 15:54:35 UTC
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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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-2020:5633