Doc Text bug for change for 2.2.9 Relevant changes: https://github.com/openshift/origin-server/pull/6298 Add a new configuration item, TRAFFIC_CONTORL_DEVS, which is a space-delimited list of interfaces that should be tc-managed. Update code so that tc changes are applied across all devices that are to be traffic-controlled. Also hard-code limits to very high numbers for the loopback interface if it is to be managed.
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