Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1885520

Summary: [OSP16.2] healthchecks failing due to missing 'ss' binary (iproute rpm)
Product: Red Hat OpenStack Reporter: Michele Baldessari <michele>
Component: openstack-containersAssignee: OSP Team <rhos-maint>
Status: CLOSED ERRATA QA Contact: Arik Chernetsky <achernet>
Severity: medium Docs Contact:
Priority: medium    
Version: 16.2 (Train)CC: m.andre, shrjoshi
Target Milestone: betaKeywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-11.4.1-2.20201013004942.325743e.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-15 13:18:18 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:

Description Michele Baldessari 2020-10-06 09:17:47 UTC
Description of problem:
On a freshly deployed OSP16.2 (RHOS_TRUNK-16.0-RHEL-8-20200923.n.1) we can observe the following healthchecks in failed status:
● tripleo_heat_engine_healthcheck.service              loaded failed failed heat_engine healthcheck               
● tripleo_ironic_conductor_healthcheck.service         loaded failed failed ironic_conductor healthcheck          
● tripleo_ironic_inspector_dnsmasq_healthcheck.service loaded failed failed ironic_inspector_dnsmasq healthcheck  
● tripleo_mistral_engine_healthcheck.service           loaded failed failed mistral_engine healthcheck            
● tripleo_mistral_event_engine_healthcheck.service     loaded failed failed mistral_event_engine healthcheck      

All these failures (except the heat_engine one which will be filed separately) are due to the following:
Oct 06 09:11:35 undercloud-0.redhat.local healthcheck_ironic_inspector_dnsmasq[812974]: + grep -E ':(67).*,pid=(7),'                                          
Oct 06 09:11:35 undercloud-0.redhat.local healthcheck_ironic_inspector_dnsmasq[812974]: /usr/share/openstack-tripleo-common/healthcheck/common.sh: line 59: ss
: command not found                                                                                                                                           
Oct 06 09:11:35 undercloud-0.redhat.local healthcheck_ironic_inspector_dnsmasq[812974]: + sudo -u dnsmasq ss -ntuap                                           
Oct 06 09:11:35 undercloud-0.redhat.local healthcheck_ironic_inspector_dnsmasq[812974]: sudo: ss: command not found                                           

So the affected images that do not have ss binary (in the iproute rpm) are the following:
# for j in `for i in $(systemctl list-units --failed |grep failed |awk '{ print $2 }'); do cat /etc/systemd/system/$i | grep ExecStart |awk '{ print $5 }'; done`; do podman ps |grep $j | awk '{ print $2 }'; done                                                                                   
undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-heat-engine:16.2_20200930.1
undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-ironic-conductor:16.2_20200930.1
undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-ironic-inspector:16.2_20200930.1
undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-mistral-engine:16.2_20200930.1
undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp16-openstack-mistral-eventengine:16.2_20200930.1

Comment 8 Miguel Garcia 2021-07-28 13:28:26 UTC
Confirmed that the iproute RPM is now installed in all 16.2 container images. To make extra sure, also made sure the ss binary is present:
[root@7b33b4a3cd04 /]# which ss
/usr/sbin/ss
[root@7b33b4a3cd04 /]# rpm -qf $(which ss)
iproute-5.9.0-4.el8.x86_64

VERIFIED.

Comment 10 errata-xmlrpc 2021-09-15 13:18:18 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 containers bug fix 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/RHEA-2021:3489