Bug 1383647

Summary: Weight chart doesn't update automatically after remove service from route
Product: OKD Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-09 21:51:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.