Description of problem: Gluster cli doesn't throw an error and just shows the help for gluster volume create... When trying to create a volume with IP adresses. Version-Release number of selected component (if applicable): 4.1 Latest gluster cli server How reproducible: i.e. gluster volume create gv0 disperse 192.168.0.2:/home/gluster Gives the gluster volume create help page out. And doesn't say, you need atleast two arguments. Steps to Reproduce: 1. gluster volume create gv0 disperse 192.168.0.2:/home/gluster Actual results: Gives the gluster volume create help page out. And doesn't say, you need atleast two arguments. Expected results: This command requires atleast two arguments... Additional info: Ubuntu 18.04 LTS Azure VM Gluster log > cli-cmd-parser.c:781:cli_cmd_volume_create_parse] 0-cli: Unable to parse create volume CLI
In case of an incomplete command, the cli throws up a general usage of the command. As of now, it doesn't explicitly mention what's missing and that's how it's been designed. Technically it's not a bug. For eg : root@50f5b3253050:/home/rhs-glusterfs# gluster v create Usage: volume create <NEW-VOLNAME> [stripe <COUNT>] [replica <COUNT> [arbiter <COUNT>]] [disperse [<COUNT>]] [disperse-data <COUNT>] [redundancy <COUNT>] [transport <tcp|rdma|tcp,rdma>] <NEW-BRICK>?<vg_name>... [force]