Description of problem: If config.yml is missing , the Ansible script, configure_ovirt_machines_for_metrics.sh finishes with no error message that indicates an issue, even-though it is mandatory. Version-Release number of selected component (if applicable): 1.0.3 How reproducible: 100% Steps to Reproduce: 1.run configure_ovirt_machines_for_metrics.sh before and after the fix when there is no config.yml file 2. 3. Actual results: No error message, but script fails. Expected results: Should result in an error message to indicate what should be fixed. Additional info:
ovirt-engine-metrics-1.0.4.2-1.el7ev.noarch [root@ls-engine1 ovirt-engine-metrics]# /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh FATAL: /etc/ovirt-engine-metrics/config.yml is missing. Copy and amend /etc/ovirt-engine-metrics/config.yml.example [root@ls-engine1 ovirt-engine-metrics]# /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh FATAL: /etc/ovirt-engine-metrics/config.yml is missing. Copy and amend /etc/ovirt-engine-metrics/config.yml.example