Bug 1310247
| Summary: | New configuration item, TRAFFIC_CONTROL_DEVS | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Rory Thrasher <rthrashe> |
| Component: | Networking | Assignee: | Rory Thrasher <rthrashe> |
| Status: | CLOSED ERRATA | QA Contact: | Meng Bo <bmeng> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | aos-bugs, tiwillia, xiama |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openshift-origin-node-util-1.38.6.1-1.el6op rubygem-openshift-origin-node-1.38.5.2-1.el6op | Doc Type: | Enhancement |
| Doc Text: |
Feature: Enable the use of traffic control on multiple network interfaces.
Reason: Nodes may have multiple interfaces. Some administrators may need to specifically control the traffic on all interfaces on a node, rather than just a single interface.
Result: Traffic Control can now be configured to control multiple interfaces.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-22 16:54:55 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
Rory Thrasher
2016-02-19 20:56:13 UTC
QA:
Could you please verify the following few scenarios?
- oo-accept-node fails when no device is found
1) Add the following to /etc/openshift/node.conf
TRAFFIC_CONTROL_DEVS="lo eth0 fakedev1"
2) Run oo-accept-node. The output should look similar to:
FAIL: tc htb qdisc not configured
Cannot find device "fakedev1"
- oo-accept-node succeeds
1) Add a network interface to the node
2) Add the following to /etc/openshift/node.conf, using the real name of the new interface instead of 'fakedev1':
TRAFFIC_CONTROL_DEVS="lo eth0 fakedev1"
3) Run oo-accept-node. The command should succeed
- Verify that traffic control is enforced on a new interface
1) Add a network interface to the node
2) Add the following to /etc/openshift/node.conf, using the real name of the new interface instead of 'fakedev1':
TRAFFIC_CONTROL_DEVS="lo eth0 fakedev1"
3) Restart the openshift-tc service
4) Check the `tc_max_bandwidth` value in /etc/openshift/resource_limits.conf
5) Run the following command, replacing fakedev1 with the name of the new interface:
/usr/sbin/tc -d class show dev fakedev1
6) The output of the above command should define a ceiling equal to that defined as `tc_max_bandwith`. For example, if the default `800` was used in resource_limits.conf, the following should be seen in the command output:
class htb 1:3e8 parent 1:1 leaf 3e8: prio 0 quantum 100000 rate 2000Kbit ceil 800000Kbit burst 1600b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
Note the 'ceil 800000Kbit`
Check on puddle [2.2.9/2016-02-25.2]
1) Add the following to /etc/openshift/node.conf
TRAFFIC_CONTROL_DEVS="lo eth0 eth1"
2) Run oo-accept-node. The output should look similar to:
[root@node1 ~]# oo-accept-node
Cannot find device "eth1"
FAIL: tc htb qdisc not configured
1 ERRORS
3) Run oo-accept-node after adding eth1 device
# oo-accept-node
PASS
4). Check the 'tc_max_bandwidth'
# tc -d class show dev eth1
class htb 1:1 root prio 0 quantum 200000 rate 800000Kbit ceil 800000Kbit burst 1600b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
[root@node1 ~]# tc -d class show dev eth0
class htb 1:1 root prio 0 quantum 200000 rate 800000Kbit ceil 800000Kbit burst 1600b/8 mpu 0b overhead 0b cburst 1600b/8 mpu 0b overhead 0b level 0
move this issue to VERIFIED.
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://rhn.redhat.com/errata/RHSA-2016-0489.html |