Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2043243

Summary: [tc-htb] error when setting burst max value
Product: Red Hat Enterprise Linux 8 Reporter: David Hill <dhill>
Component: iprouteAssignee: Andrea Claudi <aclaudi>
Status: CLOSED NEXTRELEASE QA Contact: Mingyu Shi <mshi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.4CC: aclaudi, dzheng, jiji, mshi, network-qe, smitterl, yalzhang
Target Milestone: rcKeywords: Reopened, Triaged
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: iproute-6.2.0-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1910745 Environment:
Last Closed: 2023-10-09 07:45:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1910745    
Bug Blocks:    

Comment 11 Mingyu Shi 2022-02-15 02:22:48 UTC
Hi Andrea

I ACKed the bug, when you'll have evaluated the DTM, please help me to set ITM = DTM + 2, thanks!

Comment 18 Mingyu Shi 2023-10-08 07:03:20 UTC
[root@vm-10-0-184-70 ~]# rpm -q iproute
iproute-6.2.0-5.el8_9.x86_64
[root@vm-10-0-184-70 ~]# ip link add type veth
[root@vm-10-0-184-70 ~]# ip link set veth0 up
[root@vm-10-0-184-70 ~]# ip link set veth1 up
[root@vm-10-0-184-70 ~]# tc class add dev veth0 parent 1: classid 1:1 htb rate 100KBps burst errtrigger
bash: tc: command not found
[root@vm-10-0-184-70 ~]# dnf install iproute-tc
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 1:01:13 ago on Sun 08 Oct 2023 02:00:23 AM EDT.
Dependencies resolved.
==============================================================================================================================================================
 Package                                Architecture                       Version                                     Repository                        Size
==============================================================================================================================================================
Installing:
 iproute-tc                             x86_64                             6.2.0-5.el8_9                               rhel                             469 k

Transaction Summary
==============================================================================================================================================================
Install  1 Package

Total download size: 469 k
Installed size: 883 k
Is this ok [y/N]: y
Downloading Packages:
iproute-tc-6.2.0-5.el8_9.x86_64.rpm                                                                                            15 MB/s | 469 kB     00:00    
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                          15 MB/s | 469 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                      1/1 
  Installing       : iproute-tc-6.2.0-5.el8_9.x86_64                                                                                                      1/1 
  Running scriptlet: iproute-tc-6.2.0-5.el8_9.x86_64                                                                                                      1/1 
  Verifying        : iproute-tc-6.2.0-5.el8_9.x86_64                                                                                                      1/1 
Installed products updated.

Installed:
  iproute-tc-6.2.0-5.el8_9.x86_64                                                                                                                             

Complete!
[root@vm-10-0-184-70 ~]# tc class add dev veth0 parent 1: classid 1:1 htb rate 100KBps burst errtrigger
Illegal "burst"
Usage: ... qdisc add ... htb [default N] [r2q N]
                      [direct_qlen P] [offload]
 default  minor id of class to which unclassified packets are sent {0}
 r2q      DRR quantums are computed as rate in Bps/r2q {10}
 debug    string of 16 numbers each 0-3 {0}

 direct_qlen  Limit of the direct queue {in packets}
 offload  enable hardware offload
... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]
                      [prio P] [slot S] [pslot PS]
                      [ceil R2] [cburst B2] [mtu MTU] [quantum Q]
 rate     rate allocated to this class (class can still borrow)
 burst    max bytes burst which can be accumulated during idle period {computed}
 mpu      minimum packet size used in rate computations
 overhead per-packet size overhead used in rate computations
 linklay  adapting to a linklayer e.g. atm
 ceil     definite upper class rate (no borrows) {rate}
 cburst   burst but for ceil {computed}
 mtu      max packet size we create rate map for {1600}
 prio     priority of leaf; lower are served first {0}
 quantum  how much bytes to serve from leaf at once {use r2q}




As expected, it showed "Illegal burst"

Comment 19 Andrea Claudi 2023-10-09 07:45:33 UTC
Fixed in rhel-8.9.