+++ This bug was initially created as a clone of Bug #1635683 +++ 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:
Patch updated for review: https://github.com/gluster/gluster-ansible-features/pull/15
*** Bug 1635822 has been marked as a duplicate of this bug. ***
The dependent gluster-ansible bug is already in MODIFIED state, changing the state of this bug accordingly
The dependent gluster-ansible bug is already ON_QA, moving this bug to ON_QA
Tested with gluster-ansible-roles-1.0.3 Volume set option 'granular-entry-heal' is not longer set via gluster volume set option. ]# gluster volume get vmstore granular-entry-heal Option Value ------ ----- cluster.granular-entry-heal enable