Description of problem: On a provisioned service page, it's using plan one, click "Edit" button, choose another plan, it updated successfully. but it still shows plan one on privisioned service, and won't automatically update, need refresh the page manually. Version-Release number of selected component (if applicable): OpenShift Master: v3.7.0-0.184.0 Kubernetes Master: v1.7.6+a08f5eeb62 How reproducible: Always Steps to Reproduce: 1.Provision service from service class "PostgreSQL (APB)", when provisioning, select the first plan. 2.After service instance is ready, on provisioned service page, update first plan to second plan by "Edit" button. 3.After close the update panel, wait the status become ready, check plan info on provision page. Actual results: 2.It updates successfully. 3.It still show first plan, second plan shows up only when we refresh the page or access other page then access provisioned service page again. Expected results: 3. Should show the second plan automatically. Additional info: If update parameters on "Configuration" stage, it will show the updated parameters immediately, no need to refresh. PS: if the issue comes from lack of watch of this resource? we also found that seems no watch of quota in quota page, no watch of secret in secrets page until fresh
Quota was intentional since we can't watch appliedclusterquota, but I think next release we will update that to poll once a minute so that we get some updates. Secrets is a bug, they should have been watches, both on the list of secrets and when viewing a particular secret. @jhadvig is going to fix this part
The original problem is fixed by this PR: https://github.com/openshift/origin-web-console/pull/2409
Addressed by https://github.com/openshift/origin-web-console/pull/2409
Tested on ocp 3.7 env with version blew: OpenShift Master: v3.7.0-0.190.0 Kubernetes Master: v1.7.6+a08f5eeb62 On provisioned page, after update plan, the new plan info can show up immediately without manually refresh. And new secret also shows up automatically on secrets page when secret is created by cli. The bug is fixed, so move it to Verified.