Bug 1383647 - Weight chart doesn't update automatically after remove service from route
Summary: Weight chart doesn't update automatically after remove service from route
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-11 11:01 UTC by Yanping Zhang
Modified: 2016-12-09 21:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-09 21:51:28 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yanping Zhang 2016-10-11 11:01:13 UTC
Description of problem:
Create a route pointing to multiple services(at least 3 services), then edit the route, remove some services, make sure to remain at least 2 services, click "Save", check the weight chart is not updated automatically.

Version-Release number of selected component (if applicable):
openshift v1.4.0-alpha.0+d6a4d98
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1

How reproducible:


Steps to Reproduce:
1.Create four services with 4 pods.
2.On web console, create a route pointing to the four services.
3.Edit the route on web console, remove one or two services from the route, check the weight chart.

Actual results:
3.After save editing the route, the weight table is updated, but the weight chart doesn't update immediately, user has to refresh the page or re-access the page.

Expected results:
3.The weight chart should be updated automatically.

Additional info:
Adding service to a route which points to multiple services has no this issue.

Comment 1 Jessica Forrester 2016-10-11 13:57:12 UTC
The weight table is updating but the chart isnt so i dont think this is the data service issue, sounds like a missing call to c3's chart refresh

Comment 3 Samuel Padgett 2016-10-19 12:04:37 UTC
Moving back to modified since the vendor hasn't merged yet.

https://github.com/openshift/origin/pull/11401

Comment 4 Yanping Zhang 2016-10-20 04:53:08 UTC
openshift version
openshift v1.4.0-alpha.0+44fd91b-dirty
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1
Tested on origin env with above version, now after remove service from route with multiple services, the weight chart can be updated automatically. the bug has been fixed, so move it to Verified.


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