Hide Forgot
Description of problem: Go to DC edit page, first click 'advanced strategy options' to expand advanced options,then change strategy from Recreate to Rolling, select No(not to keep parameters),Timeout parameter value is cleared but Lifecycle Hooks are not cleared If we didn't expand advanced options at first and change deployment strategy directly, all parameters will be cleared correctly Version-Release number of selected component (if applicable): v3.4.0.14 How reproducible: Always Steps to Reproduce: 1.Create app with DC strategy is Recreate $ oc process -f https://raw.githubusercontent.com/openshift/rails-ex/master/openshift/templates/rails-postgresql.json |oc create -f - 2.Go to Applications -> Deployments -> rails-postgresql-example -> Actions -> Edit 3.First click advanced strategy options, Pre Lifecycle Hook is shown correctly 4.Change Strategy Type to Rolling, select No in dialog 5.Check parameter & value for Rolling strategy type Actual results: 5.Timeout value is cleared, but Pre Lifecycle Hook is not cleared Expected results: 5. Timeout and Pre Lifecycle Hook should both be cleared Additional info:
Created attachment 1213424 [details] PreLifecycleHookNotCompletelyCleared
Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/0accdd828e1c2a27dd1e12c664c1fb1374f5b34b Bug 1388041 - Clear lifecycle hooks on strategy switch
Checked against openshift v1.4.0-alpha.0+90d8c62-1000 The fix has been merged, no matter "advanced options" is expanded or not, lifecycle hooks could be cleared successfully. Could verify when change to ON_QA
This bug is in the OCP product so it needs to wait to be moved to ON_QA until its been pulled into an OCP build. If this bug is moved to Origin we can move it to ON-QA sooner.
Sorry, i will change it back to Origin to get the fix sooner
Checked against v1.4.0-alpha.1+b81b382-59 It has been fixed, lifecycle hooks are cleared correctly Move to VERIFIED