Bug 2264812
Summary: | prometheus listens on 0.0.0.0:9092 and conflicts with HAProxy on director-deployed ceph env | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | yatanaka |
Component: | Cephadm | Assignee: | Adam King <adking> |
Status: | CLOSED ERRATA | QA Contact: | Mohit Bisht <mobisht> |
Severity: | medium | Docs Contact: | Akash Raj <akraj> |
Priority: | unspecified | ||
Version: | 6.1 | CC: | adking, akraj, cephqe-warriors, mobisht, tserlin, vereddy |
Target Milestone: | --- | ||
Target Release: | 7.1 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ceph-18.2.1-87.el9cp | Doc Type: | Enhancement |
Doc Text: |
.Prometheus now binds to an IP within a specific network on a host, rather that always binding to 0.0.0.0
With this enhancement, using a Prometheus specification file that includes both the networks section with the network that Prometheus binds to an IP on, and `only_bind_port_on_networks: true` included in the "spec" section of the specification, Cephadm configures the Prometheus daemon to bind to an IP within that network rather than 0.0.0.0. This enables users to use the same port that Prometheus uses for another service but on a different IP on the host.
If it is a specification update that does not cause them all to be moved, `ceph orch redeploy prometheus` can be run to pick up the changes to the settings.
Prometheus specification file:
----
service_type: prometheus
service_name: prometheus
placement:
count: 1
networks:
- 10.0.208.0/22
spec:
only_bind_port_on_networks: true
----
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2024-06-13 14:26:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2267614, 2298578, 2298579 |
Description
yatanaka
2024-02-19 04:54:23 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2024:3925 |