Description of problem: Today we run the configure_ovirt_machines_for_metrics.sh script that does a few tasks and then runs the ansible playbook with defined parameters. We would like to embed the shell tasks in the ansible playbook and run the playbook directly.
We added an option to pass native ansible parameters. This will allow more flexibility when running the script. Test should verify that extra ansible parameters, like -v, are passed as expected.
not working for playbook for hosts: /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh -vvv => no verbose output tested in ovirt-engine-metrics-1.1.1-0.0.master.20170919065728.el7.centos.noarch
This should work for Please run: /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machine_for_metrics.sh -vvv
(In reply to Shirly Radco from comment #3) > This should work for Please run: > /usr/share/ovirt-engine-metrics/setup/ansible/ > configure_ovirt_machine_for_metrics.sh -vvv The patch is still on POST. Please note comment#2 where it was verified for configure_ovirt_machine_for_metrics.sh however failing for configure_ovirt_hosts_for_metrics.sh that is fixed in Didis patch. Please do not move bugs to ON_QA before patches are merged or QA has proper builds.
Since /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh only add --scope=hosts, I'll remove this script so we will only have one ansible script to configure oVirt metrics.
verified in ovirt-engine-metrics-1.1.1-0.0.master.20171001113530.el7.centos.noarch
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.