2022-08-31 09:39:16 |
Jasper Ras |
bug |
|
|
added bug |
2022-09-01 13:47:55 |
Paride Legovini |
rabbitmq-server (Ubuntu): status |
New |
Triaged |
|
2022-09-01 13:48:01 |
Paride Legovini |
nominated for series |
|
Ubuntu Jammy |
|
2022-09-01 13:48:01 |
Paride Legovini |
bug task added |
|
rabbitmq-server (Ubuntu Jammy) |
|
2022-09-01 13:50:47 |
Paride Legovini |
bug watch added |
|
https://github.com/deadtrickster/prometheus.erl/issues/133 |
|
2022-09-01 13:50:47 |
Paride Legovini |
bug task added |
|
rabbitmq |
|
2022-09-01 14:00:03 |
Paride Legovini |
rabbitmq-server (Ubuntu Jammy): status |
New |
Triaged |
|
2022-09-01 14:03:18 |
Paride Legovini |
tags |
|
server-todo |
|
2022-09-01 14:03:36 |
Paride Legovini |
bug |
|
|
added subscriber Ubuntu Server |
2022-09-08 08:54:02 |
Christian Ehrhardt |
rabbitmq-server (Ubuntu): status |
Triaged |
Incomplete |
|
2022-09-08 08:54:04 |
Christian Ehrhardt |
rabbitmq-server (Ubuntu Jammy): status |
Triaged |
Incomplete |
|
2022-09-08 08:54:07 |
Christian Ehrhardt |
rabbitmq-server (Ubuntu): assignee |
|
Christian Ehrhardt (paelzer) |
|
2022-09-08 08:54:08 |
Christian Ehrhardt |
rabbitmq-server (Ubuntu Jammy): assignee |
|
Christian Ehrhardt (paelzer) |
|
2022-09-08 09:05:38 |
Christian Ehrhardt |
description |
The prometheus client in 3.9.13 contains a bug that crashes the prometheus_mnesia collector. Better described at https://github.com/deadtrickster/prometheus.erl/issues/133.
The bug is fixed in rabbitmq-server 3.9.15 as noted in https://github.com/rabbitmq/rabbitmq-server/pull/4376#issuecomment-1086772472
I'd like to request this package be bumped to 3.9.15 or the fix backported. |
[ Impact ]
Background:
Mnesia is a distributed database that RabbitMQ uses to store information
about users, exchanges, queues, and bindings. Messages, however are not
stored in the database. More at
https://www.erlang.org/doc/apps/mnesia/mnesia_overview
For monitoring rabbitmq it integrates prometheus.erl
https://github.com/deadtrickster/prometheus.erl/blob/master/doc/README.md
* In the current version of rabbitmq in Jammy and Kinetic there is a bug
in the embedded prometheur.erl which crashes when reading that mnesia
info from rabbitmq but getting an "undefined".
* Without handling this more gracefully that crashes the collector
as outlined in more detail at
https://github.com/deadtrickster/prometheus.erl/issues/133
* The fix itself is not too complex, an abstraction of mnesia:table_info
that now catches the "undefined" case and in that case maps it to "0".
[ Test Plan ]
* To be defined after reporter feedback
[ Where problems could occur ]
* When looking at rabbitmq overall this seems to be a corner case;
The code change (and thereby the regression risk) would only affect
those people using the prometheus_mnesia_collector which is
disfunctional without this fix anyway.
* We have all the usual "could always happen" issues like rebuilds
introducing other dependencies or anything similar - but those exist
whatever we do. Gladly we are not messing with configs, services or
anything else that is persistent.
[ Other Info ]
* The patch is from prometheus.erl upstream (which does not exist in the
archive on its own) and applied to rabbitmq which embeds the source.
---
The prometheus client in 3.9.13 contains a bug that crashes the prometheus_mnesia collector. Better described at https://github.com/deadtrickster/prometheus.erl/issues/133.
The bug is fixed in rabbitmq-server 3.9.15 as noted in https://github.com/rabbitmq/rabbitmq-server/pull/4376#issuecomment-1086772472
I'd like to request this package be bumped to 3.9.15 or the fix backported. |
|
2022-09-08 09:06:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/rabbitmq-server/+git/rabbitmq-server/+merge/429624 |
|
2022-09-08 09:06:59 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~paelzer/ubuntu/+source/rabbitmq-server/+git/rabbitmq-server/+merge/429625 |
|
2022-09-12 06:45:10 |
Christian Ehrhardt |
rabbitmq-server (Ubuntu): assignee |
Christian Ehrhardt (paelzer) |
|
|
2022-09-12 06:45:12 |
Christian Ehrhardt |
rabbitmq-server (Ubuntu Jammy): assignee |
Christian Ehrhardt (paelzer) |
|
|
2022-09-12 06:45:17 |
Christian Ehrhardt |
tags |
server-todo |
|
|
2022-11-16 23:54:24 |
Bug Watch Updater |
rabbitmq: status |
Unknown |
Fix Released |
|