Bug 1957638 - At the end of the undercloud update, rabbitmq fails to be restarted.
Summary: At the end of the undercloud update, rabbitmq fails to be restarted.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: erlang
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: z16
: 13.0 (Queens)
Assignee: John Eckersberg
QA Contact: Sofer Athlan-Guyot
URL:
Whiteboard:
Depends On:
Blocks: 1943285
TreeView+ depends on / blocked
 
Reported: 2021-05-06 08:04 UTC by Sofer Athlan-Guyot
Modified: 2022-08-02 13:36 UTC (History)
8 users (show)

Fixed In Version: erlang-21.3.8.20-2.el7ost rabbitmq-server-3.7.28-3.el7ost openstack-tripleo-heat-templates-8.4.1-85.el7ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-16 10:59:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-3658 0 None None None 2022-08-02 13:36:53 UTC
Red Hat Product Errata RHBA-2021:2385 0 None None None 2021-06-16 10:59:59 UTC

Description Sofer Athlan-Guyot 2021-05-06 08:04:37 UTC
Description of problem:

Running an update from z10 to passed_phase2, after rabbitmq was updated to rabbitmq-server.x86_64 0:3.7.28-2.el7ost from rabbitmq-server-3.6.15-4.el7ost.noarch 

2021-05-05 18:26:29 | 2021-05-05 18:26:29,321 INFO: ---> Package rabbitmq-server.noarch 0:3.6.15-4.el7ost will be updated
2021-05-05 18:26:29 | 2021-05-05 18:26:29,322 INFO: ---> Package rabbitmq-server.x86_64 0:3.7.28-2.el7ost will be an update

We get an systemd unit error trying to restart epmd.


2021-05-05 18:39:42 | 2021-05-05 18:39:42,339 INFO: dib-run-parts Wed May  5 18:39:42 UTC 2021 Running /usr/libexec/os-refresh-config/configure.d/40-stop-running-epmd
2021-05-05 18:39:42 | 2021-05-05 18:39:42,346 INFO: + RESTART_RABBITMQ=
2021-05-05 18:39:42 | 2021-05-05 18:39:42,346 INFO: + systemctl is-active rabbitmq-server
2021-05-05 18:39:42 | 2021-05-05 18:39:42,353 INFO: active
2021-05-05 18:39:42 | 2021-05-05 18:39:42,353 INFO: + RESTART_RABBITMQ=yes
2021-05-05 18:39:42 | 2021-05-05 18:39:42,354 INFO: + systemctl stop rabbitmq-server
2021-05-05 18:39:47 | 2021-05-05 18:39:47,271 INFO: + pgrep -u rabbitmq -f 'epmd.*-daemon'
2021-05-05 18:39:47 | 2021-05-05 18:39:47,271 INFO: + xargs -r kill
2021-05-05 18:39:47 | 2021-05-05 18:39:47,290 INFO: + systemctl try-restart 'epmd@*'
2021-05-05 18:39:47 | 2021-05-05 18:39:47,304 INFO: Failed to try-restart epmd.0.0.service: Unit is not loaded properly: Invalid argument.
2021-05-05 18:39:47 | 2021-05-05 18:39:47,304 INFO: See system logs and 'systemctl status epmd.0.0.service' for details.
2021-05-05 18:39:47 | 2021-05-05 18:39:47,305 INFO: [2021-05-05 18:39:47,304] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/configure.d']' returned non-zero exit status 1]
2021-05-05 18:39:47 | 2021-05-05 18:39:47,306 INFO: 
2021-05-05 18:39:47 | 2021-05-05 18:39:47,306 INFO: [2021-05-05 18:39:47,305] (os-refresh-config) [ERROR] Aborting...
2021-05-05 18:39:47 | 2021-05-05 18:39:47,317 DEBUG: An exception occurred

Comment 3 Sofer Athlan-Guyot 2021-05-06 12:07:41 UTC
For Update the workaround would be:

 - run the undercloud update, let it fails, run the systemctl daemon-reload command, and run it again.

For FFU from 10-13, the workaround would be the same.

Comment 23 errata-xmlrpc 2021-06-16 10:59:50 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 13.0 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-2021:2385


Note You need to log in before you can comment on or make changes to this bug.