[ OST Failure Report ] [ oVirt 4.2/Master (ovirt-engine-metrics) ] [ 28-02-2018 ] [ 002_bootstrap.verify_add_hosts]

Dafna Ron dron at redhat.com
Wed Feb 28 12:36:52 UTC 2018


Hi,

We have a failure in test 002_bootstrap.verify_add_hosts.

the issue seems to be a miss-configured role in ansible


*Link and headline of suspected patches: *






*Remove use of end_play and fail module -
https://gerrit.ovirt.org/#/c/88250/
<https://gerrit.ovirt.org/#/c/88250/>Link to
Job:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/
<http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/>Link to
all
logs:http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/artifacts
<http://jenkins.ovirt.org/job/ovirt-4.2_change-queue-tester/950/artifacts>(Relevant)
error snippet from the log: <error>*

2018-02-28 05:01:29,984 p=17139 u=ovirt |  TASK
[oVirt.ovirt-include-vars-files : Include oVirt metrics config.yml.d
vars directory] ***
2018-02-28 05:01:30,007 p=17139 u=ovirt |  ok:
[lago-basic-suite-4-2-host-0 -> localhost] => {
    "ansible_facts": {},
    "ansible_included_var_files": [],
    "changed": false
}
2018-02-28 05:01:30,016 p=17139 u=ovirt |  TASK
[oVirt.ovirt-initial-validations/validate-config-yml : If output
plugin is elasticsearch, validate host address is set] ***
2018-02-28 05:01:30,047 p=17139 u=ovirt |  changed:
[lago-basic-suite-4-2-host-0 -> localhost] => {}

MSG:

ERROR oVirt Metrics store is not configured. This host will not be
configured to send metrics

2018-02-28 05:01:30,056 p=17139 u=ovirt |  TASK
[oVirt.ovirt-initial-validations/validate-config-yml : If output
plugin is fluentd, validate host address is set] ***
2018-02-28 05:01:30,073 p=17139 u=ovirt |  skipping:
[lago-basic-suite-4-2-host-0] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}
2018-02-28 05:01:30,082 p=17139 u=ovirt |  TASK
[oVirt.ovirt-initial-validations/validate-config-yml : Validate
viaq_metrics_store parameter is set] ***
2018-02-28 05:01:30,111 p=17139 u=ovirt |  changed:
[lago-basic-suite-4-2-host-0 -> localhost] => {}

MSG:

ERROR viaq_metrics_store parameter is mandatory. Please set the
parameter to 'true' or 'false'.

2018-02-28 05:01:30,119 p=17139 u=ovirt |  TASK
[oVirt.ovirt-initial-validations/validate-config-yml : Validate
viaq_metrics_store parameter] ***
2018-02-28 05:01:30,137 p=17139 u=ovirt |  skipping:
[lago-basic-suite-4-2-host-0] => {
    "changed": false,
    "skip_reason": "Conditional result was False"
}
2018-02-28 05:01:30,146 p=17139 u=ovirt |  TASK
[oVirt.ovirt-initial-validations/validate-config-yml : Validate
openshift_deployment_type parameter is set] ***
2018-02-28 05:01:30,168 p=17139 u=ovirt |  fatal:
[lago-basic-suite-4-2-host-0]: FAILED! => {}

MSG:

The conditional check 'viaq_metrics_store == true' failed. The error
was: error while evaluating conditional (viaq_metrics_store == true):
'viaq_metrics_store' is undefined

The error appears to have been in
'/usr/share/ansible/roles/oVirt.metrics/roles/oVirt.ovirt-initial-validations/validate-config-yml/tasks/main.yml':
line 48, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: "Validate openshift_deployment_type parameter is set"
  ^ here


*</error>*





*Thanks, Dafna*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/infra/attachments/20180228/0b3f2523/attachment.html>


More information about the Infra mailing list