Description of problem: Add a capability in gluster-block to support regeneration of configuration [0] ॐ 11:48:23@~ $ gluster-block help gluster-block (e5d3252) usage: gluster-block <command> <volname[/blockname]> [<args>] [--json*] commands: [...] regenconfig <volname[,volume2,volume3,...]> enable <host> regenerate block configuration for volume[s] in list, enabling host. [...] supported JSON formats: --json|--json-plain|--json-spaced|--json-pretty [0] ॐ 11:50:06@~ $ gluster-block regenconfig test,test enable 10.215.99.133 { "storage_objects":[ { "attributes":{ "cmd_time_out":0, "dev_size":1073741824 }, "config":"glfs\/test.99.133\/block-store\/694c4028-039a-4e28-929e-50a2c0988e95", "name":"block", "plugin":"user", "size":1073741824, "wwn":"694c4028-039a-4e28-929e-50a2c0988e95" }, ... }
upstream issue tracker: https://github.com/gluster/gluster-block/issues/52
Patch Set 1 is here https://github.com/gluster/gluster-block/pull/54/commits/e755977cfbd1d635011cf430df95798549048dc5
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/RHEA-2018:2691