Bug 1744549 - cephmetrics-ansible only opens port 9283 on first mgr
Summary: cephmetrics-ansible only opens port 9283 on first mgr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Metrics
Version: 3.3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z1
: 3.3
Assignee: Boris Ranto
QA Contact: Uday kurundwade
Erin Donnelly
URL:
Whiteboard:
Depends On:
Blocks: 1726135
TreeView+ depends on / blocked
 
Reported: 2019-08-22 12:06 UTC by Torben Hørup
Modified: 2019-10-22 13:29 UTC (History)
10 users (show)

Fixed In Version: cephmetrics-2.0.7-1.el7cp
Doc Type: Bug Fix
Doc Text:
.The Prometheus exporter port is now opened on all `ceph-mgr` nodes Previously, the `ceph-mgr` playbook was not run on each `ceph-mgr` node, which meant the `ceph-mgr` Prometheus exporter port was not being opened on each node. With this update, the `ceph-mgr` playbook runs on all the `ceph-mgr` nodes, and the Prometheus exporter port is opened on all `ceph-mgr` nodes.
Clone Of:
Environment:
Last Closed: 2019-10-22 13:29:24 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3173 0 None None None 2019-10-22 13:29:42 UTC

Description Torben Hørup 2019-08-22 12:06:16 UTC
Using cephmetrics-ansible-2.0.2

the mgr role is only executed on first mgr node in inventory, which means that opening of port 9283 also only gets executed at one mgr instead of all MGR's

Which means that metrics only works when first MGR node is the one that has the active MGR role.

Comment 1 Torben Hørup 2019-08-22 12:25:46 UTC
Workaround:

ansible -i hosts.ini mgrs -m shell -a "firewall-cmd --add-port 9283/tcp" -become
ansible -i hosts.ini mgrs -m shell -a "firewall-cmd --permanent --add-port 9283/tcp" -become

Comment 3 Paul Cuzner 2019-08-23 01:47:41 UTC
Agree that this is an oversight! Looking at the git history, this has been the case for a while. Currently discussing the best option for fixing the issue.

Comment 4 Federico Lucifredi 2019-08-27 21:47:53 UTC
PM priority for first Z.

Comment 17 errata-xmlrpc 2019-10-22 13:29:24 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, 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/RHBA-2019:3173


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