Bug 1714168

Summary: [4.1] Cannot change Requests values in image-registry operator config
Product: OpenShift Container Platform Reporter: Wenjing Zheng <wzheng>
Component: Image RegistryAssignee: Ricardo Maraschini <rmarasch>
Status: CLOSED ERRATA QA Contact: Wenjing Zheng <wzheng>
Severity: low Docs Contact:
Priority: medium    
Version: 4.1.0CC: aos-bugs, nstielau, obulatov, rmarasch
Target Milestone: ---Keywords: Regression
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1726894 (view as bug list) Environment:
Last Closed: 2019-08-28 19:54:45 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:
Bug Depends On: 1726894    
Bug Blocks:    

Description Wenjing Zheng 2019-05-27 09:52:28 UTC
Description of problem:
Image-registry pod crashes when change Requests values in image-registry operator config:
      maxInQueue: 2
      maxRunning: 2
      maxWaitInQueue: 100s
      maxInQueue: 2
      maxRunning: 2
      maxWaitInQueue: 100s

[wzheng@openshift-qe 4.0]$ oc get pods
NAME                                               READY   STATUS             RESTARTS   AGE
cluster-image-registry-operator-66ffb5c976-hsfrl   1/1     Running            0          7h6m
image-registry-6b59656bcc-kps6q                    1/1     Running            0          7h6m
image-registry-7465646c9b-v8wsx                    0/1     CrashLoopBackOff   1          12s
node-ca-26wp5                                      1/1     Running            0          7h6m
node-ca-54j5k                                      1/1     Running            0          7h6m
node-ca-6zrql                                      1/1     Running            0          7h6m
node-ca-mvttv                                      1/1     Running            0          7h6m
node-ca-ww9b2                                      1/1     Running            0          7h6m
[wzheng@openshift-qe 4.0]$ oc logs pods/image-registry-7465646c9b-v8wsx
time="2019-05-27T09:44:16Z" level=fatal msg="error parsing configuration file: yaml: unmarshal errors:\n  line 1: cannot unmarshal !!map into time.Duration"

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

How reproducible:

Steps to Reproduce:
1.Change request value in image-registry operator config
2.Wait image-registry pod restarts

Actual results:
Pod changes to CrashLoopBackOff.

Expected results:
Pod should be running.

Additional info:

Comment 3 Wenjing Zheng 2019-08-15 05:38:39 UTC
Verified on 4.1.0-0.nightly-2019-08-14-043700.

Comment 6 errata-xmlrpc 2019-08-28 19:54:45 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.