Bug 1566519

Summary: Deprecation and other warnings on metrics playbook
Product: [oVirt] ovirt-engine-metrics Reporter: Lukas Svaty <lsvaty>
Component: GenericAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: bugs
Target Milestone: ovirt-4.2.3Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-10 06:30:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Svaty 2018-04-12 12:58:56 UTC
# /usr/share/ovirt-engine-metrics/configure_ovirt_machines_for_metrics.sh
1. [WARNING]: Could not match supplied host pattern, ignoring: metrics_store

2. TASK [oVirt.metrics/roles/oVirt.initial-validations : Check environment name does not start with a number] ********************************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|match` instead use `result is match`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by 
setting deprecation_warnings=False in ansible.cfg.

3. TASK [oVirt.metrics/roles/oVirt.initial-validations : Check environment name includes only alphanum and dashes] ***************************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|match` instead use `result is match`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by 
setting deprecation_warnings=False in ansible.cfg.

tested in ovirt-engine-metrics-1.1.4-0.0.master.20180408064245.el7.centos.noarch

Comment 1 Lukas Svaty 2018-04-19 13:16:28 UTC
patch not included in ovirt-engine-metrics-1.1.4-1.el7ev.noarch

please make sure ovirt-milestone is correct

Comment 2 Lukas Svaty 2018-04-19 13:23:51 UTC
Also this will failQA as 

1. [WARNING]: Could not match supplied host pattern, ignoring: metrics_store

is not handled in patch

Comment 3 Lukas Svaty 2018-04-23 07:11:44 UTC
after discussion offline with DEV

[WARNING]: Could not match supplied host pattern, ignoring: metrics_store

CLOSED -> WONTFIX

No need for additional bug, verifying this one based on other 2

Comment 4 Sandro Bonazzola 2018-05-10 06:30:12 UTC
This bugzilla is included in oVirt 4.2.3 release, published on May 4th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.