Bug 1416882

Summary: Allow Users to Specify Percentages Instead of Weight when Setting up Split Traffic Routes
Product: OpenShift Container Platform Reporter: Nick Schuetz <nschuetz>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: aos-bugs, jokerman, mmccomas, spadgett, tdawson, yanpzhan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
When creating or editing routes that send traffic to 2 services in the web console, you can now specify the service weights as percentages using a slider control. Previously you had to enter weights between 0-256 as integer values. You still have the option to enter integer weights if desired.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-12 19:10:53 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:
Embargoed:

Description Nick Schuetz 2017-01-26 17:05:57 UTC
Description of problem:

When setting up a split route in the UI, the user is only able to specify weight 0-256. I suggest we give them the ability to use percentages because it is more intuitive. This I believe would make for a better user experience.

Version-Release number of selected component (if applicable):

3.4.0.40

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Samuel Padgett 2017-01-26 19:26:02 UTC
We've added a slider to set weights as a percentage if there are two services.

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

Comment 2 Troy Dawson 2017-01-27 17:26:29 UTC
This has been merged into ocp and is in OCP v3.5.0.10 or newer.

Comment 4 Yanping Zhang 2017-02-03 02:05:53 UTC
Checked on OCP v3.5.0.14, When create or edit route and split traffic across two services, there is a slider for user to set percentage directly. And if split traffic across more than 2 services, user still needs set weight for services.

Comment 7 errata-xmlrpc 2017-04-12 19:10:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:0884