You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/06 22:08:42 UTC
[jira] [Commented] (TC-136) Interface speed unknown in astats on
CentOS Linux kernel 3.10.0-514
[ https://issues.apache.org/jira/browse/TC-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854839#comment-15854839 ]
ASF GitHub Bot commented on TC-136:
-----------------------------------
GitHub user elsloo opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/256
[TC-136] Fixes a logic bug that prevented the easy case for finding b…
…ond speed, and handle the case where the CentOS 7.3 3.10.0-514 kernel uses lower_X as a pointer to enslaved interfaces, while retaining the slave_X case from earlier kernels.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/elsloo/incubator-trafficcontrol 2.0.x_astats_bugfix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/256.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #256
----
commit 5eda5cd2cd6314879c4624891581b9181350b0d5
Author: Jeff Elsloo <je...@cable.comcast.com>
Date: 2017-02-06T22:07:20Z
[TC-136] Fixes a logic bug that prevented the easy case for finding bond speed, and handle the case where the CentOS 7.3 3.10.0-514 kernel uses lower_X as a pointer to enslaved interfaces, while retaining the slave_X case from earlier kernels.
----
> Interface speed unknown in astats on CentOS Linux kernel 3.10.0-514
> -------------------------------------------------------------------
>
> Key: TC-136
> URL: https://issues.apache.org/jira/browse/TC-136
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Server Plugin - astats_over_http
> Affects Versions: 1.8.0
> Reporter: Jeff Elsloo
>
> CentOS 7.2 ships with kernel 3.10.0-327, while 7.3 has 3.10.0-514. The former provides one way to find slave interfaces via sysfs:
> {code}/sys/class/net/<bond>/slave_<enslaved_interface>{code}
> ...while the latter provides another:
> {code}/sys/class/net/<bond>/lower_<enslaved_interface>{code}
> A bug in astats is causing us to skip the easiest means of obtaining the speed, falling through to one that is known to work only with 3.10.0-327 and prior kernels.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)