Bug 2274719
| Summary: | Add support for 'only_bind_port_on_networks' spec parameter for alertmanager | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Manoj Katari <mkatari> | |
| Component: | Cephadm | Assignee: | Shweta Bhosale <shbhosal> | |
| Status: | CLOSED ERRATA | QA Contact: | Vinayak Papnoi <vpapnoi> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.1 | CC: | adking, cephqe-warriors, fpantano, jelle.hoylaerts.ext, johfulto, mcaldeir, mobisht, msaini, shbhosal, tserlin | |
| Target Milestone: | --- | |||
| Target Release: | 8.1 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ceph-19.2.1-33.el9cp | Doc Type: | Enhancement | |
| Doc Text: |
Alertmanager 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 alertmanager specification file that includes both the networks' section with the network that alertmanager binds to an IP on, and `only_bind_port_on_networks: true` included in the "spec" section of the specification, Cephadm configures the alertmanager daemon to bind to an IP within that network rather than 0.0.0.0. This enables users to use the same port that alertmanager 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 alertmanager` can be run to pick up the changes to the settings.
alertmanager specification file:
----
service_type: alertmanager
service_name: alertmanager
placement:
count: 1
networks:
192.168.122.0/24
spec:
only_bind_port_on_networks: true
----
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2356569 (view as bug list) | Environment: | ||
| Last Closed: | 2025-06-26 12:12:19 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: | 2356569, 2356571, 2356570 | |||
|
Description
Manoj Katari
2024-04-12 12:23:37 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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-2025:9775 |