Bug 2021730

Summary: rabbitmqctl node_health_check and its HTTP API counterpart are DEPRECATED is continuously output to log
Product: Red Hat OpenStack Reporter: Takemi Asakura <tasakura>
Component: openstack-tripleo-commonAssignee: Adriano Petrich <apetrich>
Status: CLOSED ERRATA QA Contact: Julia Marciano <jmarcian>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: dabarzil, dciabrin, jmarcian, lmiccini, mburns, ramishra, slinaber
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-common-11.7.1-2.20210618225926.90725a9.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-23 22:12:24 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 Takemi Asakura 2021-11-10 03:46:32 UTC
Description of problem:

There is a report from a customer that warning messages "rabbitmqctl node_health_check and its HTTP API counterpart are DEPRECATED" is continuously output to /var/log/containers/rabbitmq/rabbit@<hostname>.log on RHOSP16.2 undercloud.

It seems that the upstream has been modified[1] with a new health check method, but when will it be backport to RHOSP16.2?

[1] https://review.opendev.org/c/openstack/tripleo-common/+/796661

Version-Release number of selected component (if applicable):
RHOSP 16.2.0

Comment 6 Julia Marciano 2022-03-02 00:27:42 UTC
Verified:

[stack@undercloud-0 ~]$ cat core_puddle_version 
RHOS-16.2-RHEL-8-20220210.n.1

[root@undercloud-0 ~]# rpm -qa|grep openstack-tripleo-common
openstack-tripleo-common-11.7.1-2.20211218004850.173edba.el8ost.noarch

from /var/log/messages:
324557:Feb 28 23:12:26 undercloud-0 healthcheck_rabbitmq[710365]: Checking if RabbitMQ is running on node rabbit@undercloud-0 ...
324558:Feb 28 23:12:26 undercloud-0 healthcheck_rabbitmq[710365]: RabbitMQ on node rabbit@undercloud-0 is fully booted and running
324559:Feb 28 23:12:26 undercloud-0 systemd[1]: tripleo_rabbitmq_healthcheck.service: Succeeded.

# Verifying that there are no more deprecation messages related to rabbitmq healthcheck:
[root@undercloud-0 ~]# grep DEPRECATED /var/log/containers/rabbitmq/rabbit
[root@undercloud-0 ~]# 

# Check which command is used for rabbitmq healthcheck:
[root@undercloud-0 ~]# /usr/bin/podman exec --user root rabbitmq cat /openstack/healthcheck
#!/bin/bash

rabbitmq-diagnostics check_running || exit 1

Comment 11 errata-xmlrpc 2022-03-23 22:12:24 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 (Release of components for Red Hat OpenStack Platform 16.2.2), 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-2022:1001