Network traffic plugin must discard data for unmounted interface
Bug #641264 reported by
Thomas Herve
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
Critical
|
Thomas Herve | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Right now, if you unmount an interface, and then remount it we'll try to compare the traffic between the 2 mounts, but I *think* the /proc/net/dev values are resetted. We should discard the value in memory as well.
Related branches
lp://qastaging/~therve/landscape-client/network-traffic-unmount-interface
- Kevin McDermott (community): Approve
- Jamu Kakar (community): Approve
-
Diff: 93 lines (+17/-9)2 files modifiedlandscape/monitor/networkactivity.py (+10/-3)
landscape/monitor/tests/test_networkactivity.py (+7/-6)
Changed in landscape-client: | |
milestone: | 1.5.5 → 1.5.5.1 |
Changed in landscape-client: | |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client (Ubuntu Jaunty): | |
status: | New → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Tried the 1.5.5 version with therve's trick (remove the network module) and indeed there was a huge jump in traffic. Then I applied the patch and repeated the trick, and there was no such spike.
qa + 1