Description of problem: In documentation for Metrics Store, there is a playbook for removing the metrics store: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/metrics_store_installation_guide/removing_metrics_store However, this playbook does not appear to exist: ~~~ [root@rhvm-float ovirt-engine-metrics]# ./configure_ovirt_machines_for_metrics.sh --playbook=cleanup-ovirt-metrics.yml -vvv ansible-playbook 2.9.4 config file = /usr/share/ovirt-engine-metrics/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Jun 11 2019, 14:33:56) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /usr/share/ovirt-engine-metrics/ansible.cfg as config file ERROR! the playbook: playbooks/cleanup-ovirt-metrics.yml could not be found ~~~ Version-Release number of selected component (if applicable): # rpm -qa | egrep 'ansible-2|^rhvm-4|ovirt-engine-metrics' ovirt-engine-metrics-1.3.5.1-1.el7ev.noarch rhvm-4.3.7.2-0.1.el7.noarch ansible-2.9.4-1.el7ae.noarch How reproducible: 100% Steps to Reproduce: 1. Try to run the removal as documented 2. Unable to find the playbook Actual results: Removal fails Expected results: Removal should complete successfully Additional info:
As a workaround, create the following file: ~~~ # cat /usr/share/ovirt-engine-metrics/playbooks/cleanup-ovirt-metrics.yml --- - name: Add metrics store host to inventory hosts: engine:hosts tasks: - name: Cleanup services include_role: name: "oVirt.metrics/roles/oVirt.manage-services" vars: service_state: stopped service_enabled: no cleanup_services: true - debug: msg: "It is now safe to delete the oVirt metrics store VMs." run_once: true ~~~
The cleanup role is part of the 4.3.8 release. *** This bug has been marked as a duplicate of bug 1727546 ***
This issue was fixed in errata https://errata.devel.redhat.com/advisory/48582
https://access.redhat.com/errata/RHSA-2020:0498