subject: prometheus-bind-exporter: Bind v9.18.12+ unmarshall xml error
Package: prometheus-bind-exporter
Version: 0.4.0+ds-1+b5
Severity: important

Dear Maintainer,

As a devops guy working on prometheus community stuff I would ask you to
upgrade the official debian 11 package for *prometheus-bind-exporter
(v0.4.0) *to latest stable release *v0.6.1*. It fixes a major bug that
blocks users working with bind v9.18.12+

What led up to the situation?
Upgrade to any bind version 9.18.12+ crashes every bind-exporter release below 
version 0.6.1.
The problem is an unmarshall value of negative xml files.

What exactly did you do (or not do) that was effective?
Upgrade to bind version v9.18.12+

What was the outcome of this action?
Unmarshall error of bind statistics channel output -> hence no valid metrics

What outcome did you expect instead?
Correct pars of bind xml output and output of metrics

For further information on fix, please check the project source of 
prometheus-exporter
https://github.com/prometheus-community/bind_exporter/releases/tag/v0.6.1

-- System Information:
Debian Release: 10.13
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-21-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_ALL 
to default locale: No such file or directory
UTF-8), LANGUAGE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default 
locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled







> Daniel Swarbrick <dswarbr...@debian.org> hat am 23.03.2023 23:10 CET 
> geschrieben:
> 
>  
> Hi Benjamin,
> 
> Thanks for reaching out about this. Firstly, the best way to move this 
> forward is to file a Debian bug against the prometheus-bind-exporter 
> package so that it's visible all.
> 
> Secondly, do you know if there are some specific circumstances under 
> which the bug occurs? I personally run a system that tracks Debian 
> testing (i.e., bookworm, currently), and as such has 
> prometheus-bind-exporter 0.6.0-1 and bind9 1:9.18.12-1, and I do not see 
> any problems at present. However, I have seen weird XML unmarshalling 
> bugs before in bind_exporter, namely when some of the fields contained 
> just a hyphen instead of a numeric value - and that resolved itself as 
> soon as those particular counters incremented to a non-nil value.
> 
> If this bug is easily reproduced and commonly occurs, then it would 
> certainly raise the urgency to get the updated bind_exporter into 
> bookworm before it is released. Once that is done, we can consider 
> backporting it to bullseye.
> 
> Please include any helpful information in a Debian bug.
> 
> Mit freundlichen Grüßen,
> Daniel Swarbrick
> 
> On 23.03.23 09:11, Benjamin Schönbach wrote:
> 
> > Hi folks,
> > 
> > As a devops guy working on prometheus community stuff I would ask you to 
> > upgrade the official debian 11 package for *prometheus-bind-exporter 
> > (v0.4.0) *to latest stable release *v0.6.1*. It fixes a major bug that 
> > blocks users working with bind v9.18.12+.
> > 
> > https://github.com/prometheus-community/bind_exporter/releases/tag/v0.6.1 
> > <https://github.com/prometheus-community/bind_exporter/releases/tag/v0.6.1>
> > 
> > greetings ben
> > Dr. Benjamin Schönbach
> > DevOps Engineer, Team DNS
> > -- 
> > DENIC eG, Kaiserstraße 75 - 77, 60329 Frankfurt am Main, GERMANY
> > E-Mail: schoenb...@denic.de, Fon: +49 69 27235-108, Fax: -108
> > https://www.denic.de <https://www.denic.de>
> > Angaben nach § 25a Absatz 1 GenG: DENIC eG (Sitz: Frankfurt am Main)
> > Vorstand: Thomas Keller, Martin Küchenthal, Andreas Musielak, Sebastian 
> > Röthler
> > Vorsitzender des Aufsichtsrats: Dr. Johannes Loxen
> > Eingetragen unter Nr. 770 im Genossenschaftsregister, Amtsgericht 
> > Frankfurt am Main
> > Allgemeiner Hinweis zur Erfüllung unserer Informationspflichten gemäß 
> > Art. 13, Art. 14 DS-GVO: Informationen zur Verarbeitung 
> > personenbezogener Daten durch DENIC finden Sie unter 
> > https://www.denic.de/datenverarbeitung-allgemein/ 
> > <https://www.denic.de/datenverarbeitung-allgemein/>

--

Dr. Benjamin Schönbach
DevOps Engineer, Team DNS 
-- 
DENIC eG, Kaiserstraße 75 - 77, 60329 Frankfurt am Main, GERMANY 
E-Mail: schoenb...@denic.de, Fon: +49 69 27235-108, Fax: -108 
https://www.denic.de

Angaben nach § 25a Absatz 1 GenG: DENIC eG (Sitz: Frankfurt am Main) 
Vorstand: Thomas Keller, Martin Küchenthal, Andreas Musielak, Sebastian Röthler
Vorsitzender des Aufsichtsrats: Dr. Johannes Loxen
Eingetragen unter Nr. 770 im Genossenschaftsregister, Amtsgericht Frankfurt am 
Main

Allgemeiner Hinweis zur Erfüllung unserer Informationspflichten gemäß Art. 13, 
Art. 14 DS-GVO: Informationen zur Verarbeitung personenbezogener Daten durch 
DENIC finden Sie unter https://www.denic.de/datenverarbeitung-allgemein/
Package: prometheus-bind-exporter
Version: 0.4.0+ds-1+b5
Severity: important

Dear Maintainer,

As a devops guy working on prometheus community stuff I would ask you to
upgrade the official debian 11 package for *prometheus-bind-exporter
(v0.4.0) *to latest stable release *v0.6.1*. It fixes a major bug that
blocks users working with bind v9.18.12+

What led up to the situation?
Upgrade to any bind version 9.18.12+ crashes every bind-exporter release below 
version 0.6.1.
The problem is an unmarshall of a negative value within xml output of bind. 

What exactly did you do (or not do) that was effective?
Upgrade to bind version v9.18.12+

What was the outcome of this action?
Unmarshall error of bind statistics channel output -> hence no valid metrics

What outcome did you expect instead?
Correct pars of bind xml output and output of metrics

For further information on fix, please check the project source of 
prometheus-exporter
https://github.com/prometheus-community/bind_exporter/releases/tag/v0.6.1

-- System Information:
Debian Release: 10.13
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-21-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set LC_ALL 
to default locale: No such file or directory
UTF-8), LANGUAGE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default 
locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Attachment: signature.asc
Description: PGP signature

Reply via email to