Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1755839 - haproxy 2: build the Prometheus exporter service
Summary: haproxy 2: build the Prometheus exporter service
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: haproxy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-26 10:26 UTC by Jose Pedro Oliveira
Modified: 2019-10-31 00:57 UTC (History)
6 users (show)

Fixed In Version: haproxy-2.0.7-2.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-31 00:57:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Specfile changes (1.42 KB, patch)
2019-09-26 10:29 UTC, Jose Pedro Oliveira
no flags Details | Diff

Description Jose Pedro Oliveira 2019-09-26 10:26:02 UTC
Description of problem:
Current version of haproxy 2 is not built with the Prometheus exporter service.


Version-Release number of selected component (if applicable):
haproxy-2.0.6-1.fc32.src.rpm


Build changes:
EXTRA_OBJS="contrib/prometheus-exporter/service-prometheus.o" needs to
be added to the build procedure (make command line arguments).


Expected results:
# haproxy -vv
HA-Proxy version 2.0.6 2019/09/13 - https://haproxy.org/
...
Built with the Prometheus exporter as a service
...
Available services :
	prometheus-exporter
...


Additional info:
See blog post: HAProxy Exposes a Prometheus Metrics Endpoint
https://www.haproxy.com/blog/haproxy-exposes-a-prometheus-metrics-endpoint/

Comment 1 Jose Pedro Oliveira 2019-09-26 10:29:48 UTC
Created attachment 1619444 [details]
Specfile changes

Comment 2 Jose Pedro Oliveira 2019-09-27 15:13:49 UTC
haproxy 2.0.7 has also been released.

Changelog:
https://www.haproxy.org/download/2.0/src/CHANGELOG

Tarball:
https://www.haproxy.org/download/2.0/src/haproxy-2.0.7.tar.gz

Comment 3 Steven Haigh 2019-10-18 06:45:40 UTC
So is there any reason as to why the haproxy updates seem to have stopped?

I don't see a 2.0.5 in bodhi, yet I have it installed. I'm not sure how this managed to get through - but 2.0.6 is a bugfix version for a CVE on http2 handling, and 2.0.7 is another bugfix release.

It would be preferred to do both of these.

Comment 4 Steven Haigh 2019-10-18 06:46:05 UTC
Sorry, I should mention this is on F31.

Comment 5 Fedora Update System 2019-10-21 15:10:39 UTC
FEDORA-2019-800e4a4e24 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-800e4a4e24

Comment 6 Steven Haigh 2019-10-21 15:15:38 UTC
Excellent, thanks for the new packages. I'll install them tomorrow and give feedback via bodhi.

Comment 7 Fedora Update System 2019-10-23 15:43:58 UTC
haproxy-2.0.7-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-800e4a4e24

Comment 8 Fedora Update System 2019-10-31 00:57:28 UTC
haproxy-2.0.7-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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