Bug 1897423

Summary: Max unavailable and Max surge value are not shown on Deployment Config Details page
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, jokerman, schituku, spadgett, yapei
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: incorrect strategy type is used to parse from the DC Consequence: Deployment Config Details page is not showing Max unavailable and Max surge Fix: use correct strategy type and parse from correct path Result: Deployment Config Details page is showing Max unavailable and Max surge
Story Points: ---
Clone Of:
: 1899056 (view as bug list) Environment:
Last Closed: 2021-02-24 15:33:26 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:
Bug Depends On:    
Bug Blocks: 1899056    
Attachments:
Description Flags
Screen shot showing the fields none

Description Yadan Pei 2020-11-13 03:51:27 UTC
Description of problem:
Max unavailable and Max surge value are not shown on Deployment Config Details page

Version-Release number of selected component (if applicable):
4.7.0-0.nightly-2020-11-12-063401

How reproducible:
Always

Steps to Reproduce:
1. create a deploymentconfig and check its details
# oc get dc example -n yapei47 -o json | jq '.spec.strategy.type'
"Rolling"
# oc get dc example -n yapei47 -o json | jq '.spec.strategy.rollingParams.maxUnavailable'
"25%"
# oc get dc example -n yapei47 -o json | jq '.spec.strategy.rollingParams.maxSurge'
0


Actual results:
1. Max unavailable and Max surge value is not shown on details page

Expected results:
1. Max unavailable and Max surge value should be shown on details page

Additional info:

Comment 2 Siva Reddy 2020-11-18 04:55:28 UTC
Max surge and max unavailable are now displayed on the deployment config page

Version:

4.7.0-0.nightly-2020-11-17-005408

the fields in question are now visible on the deployment config page. see the screen shot attached.

Comment 3 Siva Reddy 2020-11-18 04:56:09 UTC
Created attachment 1730474 [details]
Screen shot showing the fields

Comment 6 errata-xmlrpc 2021-02-24 15:33:26 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