Description of problem: While setting the options for the gluster volume, the commands fails by throwing an error that its not supported. The later commands works fine. Snippet: ======= TASK [gluster.features/roles/gluster_hci : Create the GlusterFS volumes] ****************************************************************************************************************************************** An exception occurred during task execution. To see the full traceback, use -vvv. The error was: None failed: [rhsqa-grafton6.lab.eng.blr.redhat.com] (item={u'volname': u'engine', u'brick': u'/gluster_bricks/engine/engine'}) => {"changed": false, "item": {"brick": "/gluster_bricks/engine/engine", "volname": "engine"}, "msg": "error running gluster (/usr/sbin/gluster --mode=script volume set engine cluster.granular-entry-heal enable) command (rc=1): volume set: failed: 'gluster volume set <VOLNAME> cluster.granular-entry-heal {enable, disable}' is not supported. Use 'gluster volume heal <VOLNAME> granular-entry-heal {enable, disable}' instead.\n"} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: None failed: [rhsqa-grafton6.lab.eng.blr.redhat.com] (item={u'volname': u'data', u'brick': u'/gluster_bricks/data/data'}) => {"changed": false, "item": {"brick": "/gluster_bricks/data/data", "volname": "data"}, "msg": "error running gluster (/usr/sbin/gluster --mode=script volume set data cluster.granular-entry-heal enable) command (rc=1): volume set: failed: 'gluster volume set <VOLNAME> cluster.granular-entry-heal {enable, disable}' is not supported. Use 'gluster volume heal <VOLNAME> granular-entry-heal {enable, disable}' instead.\n"} An exception occurred during task execution. To see the full traceback, use -vvv. The error was: None failed: [rhsqa-grafton6.lab.eng.blr.redhat.com] (item={u'volname': u'vmstore', u'brick': u'/gluster_bricks/vmstore/vmstore'}) => {"changed": false, "item": {"brick": "/gluster_bricks/vmstore/vmstore", "volname": "vmstore"}, "msg": "error running gluster (/usr/sbin/gluster --mode=script volume set vmstore cluster.granular-entry-heal enable) command (rc=1): volume set: failed: 'gluster volume set <VOLNAME> cluster.granular-entry-heal {enable, disable}' is not supported. Use 'gluster volume heal <VOLNAME> granular-entry-heal {enable, disable}' instead.\n"} Version-Release number of selected component (if applicable): gluster-ansible-roles-1.0.2-2.el7rhgs.noarch How reproducible: Always Steps to Reproduce: 1.Create a playbook to deploy RHHI enviornment 2.Throws error while enabling cluster entry heal volume option Actual results: Fails while enabling the options Expected results: Should use the later command Additional info:
https://github.com/gluster/gluster-ansible-features/pull/15
*** Bug 1635821 has been marked as a duplicate of this bug. ***
Tested with gluster-ansible-roles-1.0.3 Volume set option 'granular-entry-heal' is not longer set via gluster volume set option.
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-2018:3428