[Bug 1999816] [NEW] Failure to get free disk space breaks "rabbitmqctl status" command
Launchpad Bug Tracker
1999816 at bugs.launchpad.net
Thu Dec 29 16:20:59 UTC 2022
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
When for some reason the df command fails to get the disk free space
(for example timeout on a heavily loaded system) the result is a
harcoded value of "unknown". As this is not a valid number this
generates arithmetic errors when the "rabbitmqctl status" command is run
and tries to divide that value to convert it to another unit.
This has been fixed upstream here:
https://github.com/rabbitmq/rabbitmq-server/pull/4897
[Test Plan]
The df command can be linked to another file that just waits for a few minutes to force a timeout (I tested with 5 minutes). After the timeout occurs the "rabbitmqctl status" returns an error with the unpatched version. After the patch it shows all the information and displays unknown in the free space line.
[Where problems could occur]
The patch just changes the display of information, it should not break anything in the core operations of the package
** Affects: rabbitmq-server (Ubuntu)
Importance: Undecided
Assignee: Jorge Merlino (jorge-merlino)
Status: In Progress
** Tags: patch sts sts-sponsors ubuntu-sponsors
--
Failure to get free disk space breaks "rabbitmqctl status" command
https://bugs.launchpad.net/bugs/1999816
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list