Bug 1607175
| Summary: | Bond stats in gui are incorrect, showing only stats of one slave member | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Miki Shapiro <mshapiro> | ||||
| Component: | Frontend.Core | Assignee: | Ales Musil <amusil> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | msheena | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 4.2.4.5 | CC: | amusil, bugs, danken, kirill.prokin, mburman, michal.skrivanek, mshapiro | ||||
| Target Milestone: | ovirt-4.2.7 | Flags: | rule-engine:
ovirt-4.2+
|
||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ovirt-engine-4.2.7 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-11-02 14:32:48 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Network | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
What is reported from Linux on /sys/class/net/*/stats/* ? Might be related to bug 1511409 Answering myself: `vdsm-client Host getStats` reports the correct bond statistics from Linux. REST also reports the correct value, so indeed this is a UI problem. Can you please write down what was the bond's mode? also in what way did you put traffic on the bond/slaves? so I may reproduce.
Using iperf with bond mode:
- 4 (default): 1/3 slaves was reporting the traffic as well as the bond but other
slaves were not reporting anything but 1.
- 3: traffic was reported for all slaves, but not on bond.
Alesh, Maybe you can help us understand which mode/s should be tested, and in what way is the patch reflected? I was using mode 4 for that. There is still some management traffic in the disabled interface which should be reflected in the overall bond statistics. Verified on: rhvm-4.2.7.1-0.1.el7ev.noarch This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |
Created attachment 1469819 [details] Screenshot showing issue with UI Description of problem: GUI issue - BOND interface displays RX/TX stats of only one slave member, instead of the aggregate. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Configure bond with multiple slaves. Put traffic through. 2. In the GUI, go to Hosts -> select host -> Network Interfaces tab. Expand the bond interface to show slaves. Actual results: 3. Observe: (copy-paste of text from browser) bond0 MAC 00:1a:92:75:be:79 Rx Rate (Mbps) < 1 Total Rx (Bytes) 444,385 <==== These stats (RX, TX etc) are incorrect. It's what slave enp0s7 received, not what went through the bond. See below Tx Rate (Mbps) < 1 Total Tx (Bytes) 3,588 3000 Mbps 0 Pkts 1 Logical Network 3 Slaves MAC MAC Speed Rx Rate (Mbps) Tx Rate (Mbps) Total Rx (Mbps) Total Tx (Mbps) Drops (Pkts) enp0s7 00:1a:92:75:be:79 1000 < 1 < 1 444,385 <==== what slave interface enp0s7 received 3,588 0 enp2s0 00:e0:4c:2b:2e:b2 1000 49 < 1 3,038,457,140 <==== what interface enp2s0 received 53,154,076 0 enp3s0 00:e0:4c:5b:28:54 1000 72 < 1 4,474,104,894 <==== what interface enp3s0 received 57,969,718 0 Expected results: The bond should show the stats of all its slaves Additional info: