Description of problem: ----------------------- Ansible-2.3 no longer considers the path where gdeploy modules are kept which is ansible/modules/extras. For ansible 2.3 to work there requires a spec file change in gdeploy and it has to be rebuilt. Version-Release number of selected component (if applicable): ------------------------------------------------------------- gdeploy-2.0.1-11.el7rhgs.noarch How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Have ansible 2.3 and latest gdeploy installed on the system. Actual results: ---------------- gdeploy does not run successfully and results into syntax errors. A snip of the errors are present here. The error appears to have been in '/tmp/tmpDZeVcQ/pvcreate.yml': line 16, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: # Create pv on all the disks - name: Create Physical Volume ^ here The error appears to have been in '/tmp/tmpDZeVcQ/pvcreate.yml': line 16, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: # Create pv on all the disks - name: Create Physical Volume ^ here Ignoring errors... ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. The error appears to have been in '/tmp/tmpDZeVcQ/vgcreate.yml': line 8, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: Create volume group on the disks ^ here The error appears to have been in '/tmp/tmpDZeVcQ/vgcreate.yml': line 8, column 5, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: Create volume group on the disks ^ here Ignoring errors... ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. The error appears to have been in '/tmp/tmpDZeVcQ/lvcreate.yml': line 7, column 9, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: Create LVs with specified size for the VGs ^ here The error appears to have been in '/tmp/tmpDZeVcQ/lvcreate.yml': line 7, column 9, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: tasks: - name: Create LVs with specified size for the VGs ^ here + RET_CODE=1 + '[' 1 -ne 0 ']' + echo 'gdeploy setup on lago-hc-basic-suite-4-1-host0 failed with status 1.' gdeploy setup on lago-hc-basic-suite-4-1-host0 failed with status 1. + exit 1 Expected results: ----------------- gdeploy should run successfully with ansible 2.3 version. --- Additional comment from SATHEESARAN on 2017-05-10 03:58:58 EDT --- Its is essential to have gdeploy supported with Ansible-2.3 because RHV-H will be pulling the latest Ansible 2.3. The fix will help in the HC deployment with RHV-H ( containing Ansible-2.3 )
Verified this bug with gdeploy-2.0.1-13.el7rhgs ansible-2.3.0.0-3.el7
In addition to comment3, tested with the basic test with ansible-2.2.3 and ansible-2.3 Kasturi has also verified the same with ansible-2.3
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:1333