Bug 1507822 - [trello Q53Gxe4v]Plan info is not updated automatically after change plan
Summary: [trello Q53Gxe4v]Plan info is not updated automatically after change plan
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: Jeff Phillips
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-31 09:12 UTC by Yanping Zhang
Modified: 2017-11-28 08:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-06 12:37:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Yanping Zhang 2017-10-31 09:12:21 UTC
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

Comment 1 Jessica Forrester 2017-10-31 15:01:53 UTC
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

Comment 2 Samuel Padgett 2017-10-31 20:54:58 UTC
The original problem is fixed by this PR:

https://github.com/openshift/origin-web-console/pull/2409

Comment 3 Jeff Phillips 2017-11-01 10:49:44 UTC
Addressed by https://github.com/openshift/origin-web-console/pull/2409

Comment 5 Yanping Zhang 2017-11-03 06:45:01 UTC
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.


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