Bug 1353834 - Regression issue when updating deployment config
Summary: Regression issue when updating deployment config
Keywords:
Status: CLOSED DUPLICATE of bug 1333129
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: openshift-controller-manager
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Michail Kargakis
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-08 07:10 UTC by Jaspreet Kaur
Modified: 2019-12-16 06:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-20 08:46:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jaspreet Kaur 2016-07-08 07:10:07 UTC
Description of problem: When changing the health check url probe it gives the status as updated :

oc set probe dc/hello-world --readiness --get-url=<a href='http://:8080/'>http://:8080/</a>

and then scale dc it starts but later fails to deploy the new replicas as below 

 12s        12s        1    {deployment-controller }            Warning        FailedUpdate        Cannot update deployment syseng-validation/hello-world-1 status to Pending: replicationcontrollers "hello-world-1" cannot be updated: the object has been modified; please apply your changes to the latest version and try again

2) When initiating the scaling first and changing the health check probe later. It succeeds.

Below error is seen :
Events:
  FirstSeen	LastSeen	Count	From				SubobjectPath	Type		Reason			Message
  ---------	--------	-----	----				-------------	--------	------			-------
  12s		12s		1	{deploymentconfig-controller }			Normal		DeploymentCreated	Created new deployment "hello-world-1" for version 1
  12s		12s		1	{deployment-controller }			Warning		FailedUpdate		Cannot update deployment syseng-validation/hello-world-1 status to Pending: replicationcontrollers "hello-world-1" cannot be updated: the object has been modified; please apply your changes to the latest version and try again



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results: If it says the the healthcheck probe url is updated then it should have succeeded while it fails. 

Expected results: It should have succeeded without issue.


Additional info:

Comment 3 Michail Kargakis 2016-07-13 08:36:20 UTC
This is not a regression but a known issue we have taken because of backwards-compatibility concerns. There is similar discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1306720

Comment 4 Michail Kargakis 2016-07-20 08:46:28 UTC
Closing as duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1333129

*** This bug has been marked as a duplicate of bug 1333129 ***


Note You need to log in before you can comment on or make changes to this bug.