Description of problem: ----------------------- The hosts listed under [hosts] section are not preserved while creating the volumes. This really becomes the issue, that placement of arbiter brick can't be determined Version-Release number of selected component (if applicable): ------------------------------------------------------------- gdeploy-2.0.1.el7rhgs How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1. Inside the hosts section provide the IPs in any order. Actual results: --------------- Volumes are created with brick chosen from host with hostnames lexicographical arranged. Expected results: ----------------- The order of hosts listed in [hosts] section should be preserved
Commit: https://github.com/gluster/gdeploy/commit/2f71d033a270 should fix the issue.
Tested with gdeploy-2.0.2-3.el7rhgs. Verified that the order of the hostnames are preserved while picking bricks from those hosts.
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:2777