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): cephmetrics-ansible-1.0-7.el7cp.x86_64 How reproducible: 100% Steps to Reproduce: 1. Prepare some ceph cluster with iSCSI gateways 2. Try to install ceph-metrics 3. Actual results: 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. Expected results: ceph-metrics is working and 'iSCSI Overview' dashboard in Grafana shows correct data. Additional info:
Hi guys, 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: https://github.com/ceph/cephmetrics/commit/a99fdea00f19bedb8093484330a34619d7e682dd https://github.com/ceph/cephmetrics/commit/9b5dafd45d22769fb6c33a93df2d31d363d6c673 And the RHCS block device guide: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3/html-single/block_device_guide/#iscsi-config-target-ansible Regards, Frédéric.
*** This bug has been marked as a duplicate of bug 1595288 ***