Bug 1376192 - Changes to DC do not trigger ConfigChange Deployments.
Summary: Changes to DC do not trigger ConfigChange Deployments.
Keywords:
Status: CLOSED DUPLICATE of bug 1375820
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: openshift-controller-manager
Version: 3.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Michal Fojtik
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 20:01 UTC by Eric Rich
Modified: 2019-12-16 06:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-15 10:04:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Rich 2016-09-14 20:01:39 UTC
Description of problem:

DeploymentConfig triggers for ConfigChange are not trigger when DC is updated, in all cases. 

Version-Release number of selected component (if applicable): 3.2.1
How reproducible: Undetermined.

Steps to Reproduce:

$ oc get dc
> NAME      REVISION   REPLICAS   TRIGGERED BY
> cdvr      8          1          config,image(cdvr:7ebf9ee204dbfc36f66d630450c4aa634424de06)
> cdvv      10         1          config,image(cdvv:ca86988c567af5a46212044578010a17a949d73c)

$ oc edit dc cdvv
> deploymentconfig "cdvv" edited

$ oc get dc
> NAME      REVISION   REPLICAS   TRIGGERED BY
> cdvr      8          1          config,image(cdvr:7ebf9ee204dbfc36f66d630450c4aa634424de06)
> cdvv      10         1          config,image(cdvv:ca86988c567af5a46212044578010a17a949d73c)


$ --> diff cdvv.{before,after}.yaml ## Changes made during `oc edit`. 
14c14
<   resourceVersion: "11973946"
---
>   resourceVersion: "12038161"
29c29
<         cpu: 100m
---
>         cpu: 110m
32c32
<         cpu: 100m
---
>         cpu: 110m
55c55
<           value: sdfsdf
---
>           value: sdfsRXRXR
84c84
<             cpu: 100m
---
>             cpu: 110m
87c87
<             cpu: 100m
---
>             cpu: 110m

Actual results: Changes are not seen when resource values are updated. 

Expected results: Changes made to anything under spec.template should trigger a config change.

Additional info: http://post-office.corp.redhat.com/archives/aos-devel/2016-September/msg00406.html

Comment 1 Michail Kargakis 2016-09-15 10:04:06 UTC

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


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