tc filters appear set but live migration does not use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Steven Webster |
Bug Description
Brief Description
-----------------
traffic controls filters appear set on the management interface by design (ie. #1:30 = migration class) but the filter is not used in live migration
Severity
--------
Major
Steps to Reproduce
------------------
1. both cluster and mgmt interfaces configured:
cluster
ens801f1.95
mgmt
ens801f1.96
Traffic shaping (by design now) is set on mgmt interface now by design
eg. in this lab ens801f1.96
compute-
qdisc noqueue 0: root refcnt 2
compute-
qdisc htb 1: root refcnt 2 r2q 10 default 40 direct_packets_stat 0 direct_qlen 1000
qdisc sfq 40: parent 1:40 limit 127p quantum 1514b depth 127 divisor 1024 perturb 10sec
qdisc sfq 30: parent 1:30 limit 127p quantum 1514b depth 127 divisor 1024 perturb 10sec
qdisc sfq 20: parent 1:20 limit 127p quantum 1514b depth 127 divisor 1024 perturb 10sec
qdisc sfq 10: parent 1:10 limit 127p quantum 1514b depth 127 divisor 1024 perturb 10sec
2. An instance exists on the host and is running memory stress (eg. stress-ng)
3. Validate/watch traffic control filtering ie. check output for each class during a live migration of the instance
$ watch -n 1 tc -s class show dev <interface>
Ensuring that the live migration uses class eg. 1:30 and borrows from other classes
Expected Behavior
------------------
live migration was expected to use migration class eg. 1:30 and "borrow" from other classes
Actual Behavior
----------------
Not seeing the live migration class 1:30 actually used (and not seeing it borrow either)
ie. class htb 1:30 on the mgmt. interface (for the live migration) appears to have 0 sent and 0 borrowed
For example
$ tc -s class show dev ens802f1.95
class htb 1:1 root rate 10Gbit ceil 10Gbit burst 13750b cburst 0b
Sent 601881737217 bytes 551996833 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 3709269 borrowed: 0 giants: 0
tokens: 183 ctokens: 11
class htb 1:10 parent 1:1 leaf 10: prio 3 rate 1Gbit ceil 2Gbit burst 15125b cburst 1250b
Sent 55226436 bytes 827028 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 827028 borrowed: 0 giants: 0
tokens: 1897 ctokens: 88
class htb 1:20 parent 1:1 leaf 20: prio 1 rate 5Gbit ceil 10Gbit burst 15000b cburst 0b
Sent 240533937129 bytes 228964871 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 109895640 borrowed: 455177 giants: 0
tokens: 373 ctokens: 14
class htb 1:30 parent 1:1 leaf 30: prio 2 rate 3Gbit ceil 10Gbit burst 15000b cburst 0b
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 0 borrowed: 0 giants: 0
tokens: 625 ctokens: 15
class htb 1:40 parent 1:1 leaf 40: prio 4 rate 1Gbit ceil 2Gbit burst 15125b cburst 1250b
Sent 253230717752 bytes 245057753 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 117233721 borrowed: 2947769 giants: 0
tokens: 1869 ctokens: 74
class htb 1:50 parent 1:1 leaf 50: prio 0 rate 8Gbit ceil 10Gbit burst 14000b cburst 0b
Sent 108061855900 bytes 77147181 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
lended: 12165474 borrowed: 306323 giants: 0
tokens: 232 ctokens: 14
Reproducibility
---------------
yes
System Configuration
-------
HW lab (PV-1)
Branch/Pull Time/Commit
-------
"20190731T013000Z"
Last Pass
---------
Timestamp/Logs
--------------
see instance c99e6eb5-
log-id = 936
event-id = instance-
event-type = action-event
event-context = admin
importance = high
entity = tenant=
reason_text = Live-Migrate inprogress for instance test from host compute-0
additional_text =
timestamp = 2019-08-07 19:30:27.585069
Test Activity
-------------
Regression test
tags: | added: stx.regression |
tags: | added: stx.networking |
tags: | removed: stx.containers |
Changed in starlingx: | |
assignee: | Steven Webster (swebster-wr) → Brent Rowsell (brent-rowsell) |
tags: | added: stx.retestneeded |
Changed in starlingx: | |
status: | Triaged → In Progress |
Just confirming
cluster-host is ens801f1.95 ?