Bug 2230214

Summary: Add tc package to overcloud images
Product: Red Hat OpenStack Reporter: Takashi Kajinami <tkajinam>
Component: openstack-tripleo-puppet-elementsAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: Lon Hohberger <lhh>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: averdagu, hbrock, jslagle, ldenny, mariel, mburns, nobody, ramishra
Target Milestone: z6Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-0.8.1-2.20230817005023.123ce73.el8ost openstack-tripleo-puppet-elements-11.3.2-2.20230811225002.20fe038.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2216062 Environment:
Last Closed: 2023-11-08 19:19:17 UTC Type: ---
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: 2216062    
Bug Blocks:    

Description Takashi Kajinami 2023-08-09 01:54:34 UTC
+++ This bug was initially created as a clone of Bug #2216062 +++

Description of problem:
Hi Team, 

Just wanted to open a bug to discuss adding the tc command to the overcloud base image.

We had an interesting high level evaluation that came down to packets dropping in qdisc drop counter and you need tc to check that.

It's collected by sos but with the package not installed we just get `command not found` as you can imagine.

I'm not sure where to open this bug so please redirect if this is the incorrect component!

Cheers!

Version-Release number of selected component (if applicable):
16.*
17.*
18.*

--- Additional comment from  on 2023-06-20 00:42:38 UTC ---

I can't say for sure how often we would use this command but I see it as being along the same lines as `ethtool`, `ip` etc.

The command has a few uses but the one I'm referencing is checking the qdisc statistics like `tc -s qdisc show dev eth1`

Some more details here (Internal Red Hat comment): https://bugzilla.redhat.com/show_bug.cgi?id=2209774#c30

Some details on the package:

[root@compute-0 heat-admin]# dnf info iproute-tc
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:49 ago on Tue 20 Jun 2023 00:37:01 UTC.
Available Packages
Name         : iproute-tc
Version      : 5.18.0
Release      : 1.el8
Architecture : x86_64
Size         : 466 k
Source       : iproute-5.18.0-1.el8.src.rpm
Repository   : rhel-8-for-x86_64-baseos-rpms
Summary      : Linux Traffic Control utility
URL          : https://kernel.org/pub/linux/utils/net/iproute2/
License      : GPLv2+
Description  : The Traffic Control utility manages queueing disciplines, their classes and
             : attached filters and actions. It is the standard tool to configure QoS in
             : Linux.

Comment 8 Lon Hohberger 2023-10-31 14:58:58 UTC
This maps to iproute-tc package, which is installed in the overcloud-full-* images in rhosp-director-images-16.2-20231025.3.el8ost

Comment 13 errata-xmlrpc 2023-11-08 19:19:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.2.6 (Train) bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6307