Description of problem: When deploying new host in cluster with enabled Gluster we are failing with error: 2018-04-19 01:50:21,725 p=10890 u=ovirt | TASK [hc-gluster-cgroups : Set CPU quota] ************************************** 2018-04-19 01:50:21,741 p=10890 u=ovirt | [DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|abs` instead use `result is abs`. This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. 2018-04-19 01:50:21,756 p=10890 u=ovirt | An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'int' object has no attribute 'startswith' 2018-04-19 01:50:21,756 p=10890 u=ovirt | fatal: [host.xx.xx.com]: FAILED! => {} Version-Release number of selected component (if applicable): rhv-4.2.3-2 Host: RHVH-4.2-20180404.0 How reproducible: Steps to Reproduce: 1. Install engine 2. Create cluster with Enable Gluster Service 3. Add host Actual results: Failing in deployment with mentioned error Expected results: Deployed host. Additional info:
This seems to be an issue with the abs filter in ansible 2.5 tracked at https://github.com/ansible/ansible/issues/37856 and fixed in 2.5.1 as per the github issue. To unblock removing abs as the int check should suffice.
Please note ansible 2.5.1 has been released. It's in testing for EPEL: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-ad971a0926
Tested with RHV 4.2.3-6 with the following steps: 1. Created a new RHV 4.2 cluster 2. Added a RHVH node to cluster 3. Added one more node to the cluster All the nodes added the cluster become operational
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.