← Back to team overview

sts-sponsors team mailing list archive

[Bug 1999816] Re: Failure to get free disk space breaks "rabbitmqctl status" command

 

Hi Jorge,

Thanks for the new debdiffs!

They look good; I just adjusted a few things:
- k/j: version: missing .1 suffix per [1] (on me)
- k/j/f: shorter 'd/p/' on changelog (optional)
- k/j/f: origin field pointing to commit vs. PR.
- f: origin keyword of 'backport' vs. 'upstream'
  (the backport matches the upstream's in v3.8.x).
  
The packages built correctly on PPAs with -updates
and -proposed enabled, and I quickly tested Focal.

$ sudo rabbitmqctl status | grep -i disk
Free Disk Space
Low free disk space watermark: 0.05 gb
Free disk space: undefined gb

The upgrade path across pockets/releases is good:

$ dpkg --compare-versions 3.8.2-0ubuntu1.3 lt 3.8.2-0ubuntu1.4 ; echo $?
0
$ dpkg --compare-versions 3.8.2-0ubuntu1.4 lt 3.9.13-1 ; echo $?
0
$ dpkg --compare-versions 3.9.13-1 lt 3.9.13-1ubuntu0.22.04.1 ; echo $?
0
$ dpkg --compare-versions 3.9.13-1 lt 3.9.13-1ubuntu0.22.10.1 ; echo $?
0
$ dpkg --compare-versions 3.9.13-1ubuntu0.22.04.1 lt 3.9.13-1ubuntu0.22.10.1 ; echo $?
0
$ dpkg --compare-versions 3.9.13-1ubuntu0.22.10.1 lt 3.10.8-1.1 ; echo $?
0

Uploaded to Kinetic, Jammy, and Focal.

Thanks,
Mauricio

[1]
https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging


** Changed in: rabbitmq-server (Ubuntu Kinetic)
       Status: Triaged => In Progress

** Changed in: rabbitmq-server (Ubuntu Jammy)
       Status: Triaged => In Progress

** Changed in: rabbitmq-server (Ubuntu Focal)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of SE SRU
("STS") Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1999816

Title:
  Failure to get free disk space breaks "rabbitmqctl status" command

Status in rabbitmq-server package in Ubuntu:
  Fix Released
Status in rabbitmq-server source package in Focal:
  In Progress
Status in rabbitmq-server source package in Jammy:
  In Progress
Status in rabbitmq-server source package in Kinetic:
  In Progress

Bug description:
  [Impact]

  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 for example: [detailed steps in comment
  #5].

  #!/bin/bash
  sleep 5m

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/1999816/+subscriptions