Since latest OSP17 compose we introduced ceph 5.2 in OSP17. In Ceph 5.x , socket path has been changed from /var/run/ceph/ to /var/run/ceph/FSID FSID is the ceph cluster ID We currently using a code that creates a conf file for collectd ceph plugin and defines socket path in /var/run/ceph /usr/share/openstack-puppet/modules/collectd/templates/plugin/ceph.conf.erb <Plugin ceph> LongRunAvgLatency <%= @longrunavglatency %> ConvertSpecialMetricTypes <%= @convertspecialmetrictypes %> <% @daemons.each do |daemon| -%> <Daemon "<%= daemon %>"> SocketPath "/var/run/ceph/<%= daemon %>.asok" </Daemon> <% end -%> </Plugin> As a result of that collectd ceph plugin can't connect to the socket because there is no socket in /var/run/ceph and no ceph metrics collected. Workaround: Manually change socket path in collectd ceph plugin config file.
Moving this for resolution against RHOSP 17.1.
In order to get this moved forward, it'll need a downstream build, the build name-version-release put in the fixed-in-version field and then the bug moved to MODIFIED
(In reply to Matthias Runge from comment #26) > In order to get this moved forward, it'll need a downstream build, the build > name-version-release put in the fixed-in-version field and then the bug > moved to MODIFIED Is that because collectd is a non-importing component?
(In reply to Leif Madsen from comment #27) > (In reply to Matthias Runge from comment #26) > > In order to get this moved forward, it'll need a downstream build, the build > > name-version-release put in the fixed-in-version field and then the bug > > moved to MODIFIED > > Is that because collectd is a non-importing component? Neither puppet-collectd nor collectd are being imported like upstream openstack bits. Only releases are being imported via RDO. You have to have it built in rdo and then tag the release via RDO info https://review.rdoproject.org/r/q/project:rdoinfo+status:open and then it'll gets pulled downstream. Patches like this are not included in new releases, and upstream projects usually also don't care about backports.
The patch is merged downstream, the package needs a to include/use the patch and needs a rebuild
path to osds includes now FSID. from /usr/share/openstack-puppet/modules/collectd/templates/plugin/ceph.conf.erb --- SocketPath "/var/run/ceph/<%= @ceph_fsid %>/<%= daemon %>.asok" --- ceph plugin was successfully loaded and I can see OSDs metrics in Prometheus.
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577