Bug 1536189

Summary: deploymentconfig controller creates event with large oldReplicas
Product: OpenShift Container Platform Reporter: Seth Jennings <sjenning>
Component: MasterAssignee: Seth Jennings <sjenning>
Status: CLOSED ERRATA QA Contact: Wang Haoran <haowang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: aos-bugs, erjones, jokerman, mfojtik, mmccomas
Target Milestone: ---   
Target Release: 3.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Fixes an issue in an event reported by the deploymentconfig controller where the old replica count would be an unreasonably large and incorrect number.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-12 06:01:18 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:

Description Seth Jennings 2018-01-18 20:31:41 UTC
Description of problem:

https://github.com/openshift/origin/pull/16759

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

latest v3.6 release

How reproducible:

always

Steps to Reproduce:
1. deploymentconfig scales a RC and scaling event is generated
2.
3.

Actual results:

Scaled replication controller "router-1" from 842424714384 to 1

Expected results:

Scaled replication controller "router-1" from 842424714384 to 0

Additional info:
This is a backport request to 3.6.  3.7 and later are not effected.

Comment 2 Michal Fojtik 2018-01-19 12:16:16 UTC
Fix merged, we should wait for next build of 3.6. Thanks Seth!

Comment 4 Wang Haoran 2018-01-25 05:28:54 UTC
Verified with:
oc v3.6.173.0.97
kubernetes v1.6.1+5115d708d7
features: Basic-Auth GSSAPI Kerberos SPNEGO

Comment 7 errata-xmlrpc 2018-04-12 06:01:18 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.

https://access.redhat.com/errata/RHBA-2018:1106