Description of problem:
cephmetrics-ansible playbook.yml does not install required packages on machines, where ceph iSCSI gateways are.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Prepare some ceph cluster with iSCSI gateways
2. Try to install ceph-metrics
ceph-metrics is installed however ceph iSCSI gateway machines are not monitored as no cephmetrics packages are installed on them.
'iSCSI Overview' dashboard in Grafana is empty.
ceph-metrics is working and 'iSCSI Overview' dashboard in Grafana shows correct data.
The issue seems to be that cephmetrics-ansible is expecting a [iscsis] section in ansible inventory file while the RHCS block device guide states this section should be called [iscsigws]. Adding a [iscsis] section is enough to have the prometheus-node-exporter package correctly installed on iSCSI targets and metrics recorded and exposed on iSCSI Grafana dashboards.
You can refer to these 2 commits from Zack:
And the RHCS block device guide:
*** This bug has been marked as a duplicate of bug 1595288 ***