[Bugs] [Bug 1211576] Gluster CLI crashes when volume create command is incomplete

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 24 06:29:28 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1211576



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10245 committed in master by Kaushal M
(kaushal at redhat.com) 
------
commit ec6ccda3783e9a3edd5a2e4093e07ee37f266520
Author: Gaurav Kumar Garg <ggarg at redhat.com>
Date:   Wed Apr 15 12:32:11 2015 +0530

    cli: validate brick while creating replicate volume

    When user create replicate volume by typing incomplete command
    "gluster volume create <VOLNAME> replica replica_count" then cli
    is crashing.
    Fix is to validate command properly. If user have not given any brick
    then it should return proper cli command usage error message.

    Change-Id: I3d4096a144e20f21ab956049af1dae196217a807
    BUG: 1211576
    Signed-off-by: Gaurav Kumar Garg <ggarg at redhat.com>
    Reviewed-on: http://review.gluster.org/10245
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-by: Ravishankar N <ravishankar at redhat.com>
    Tested-by: NetBSD Build System
    Reviewed-by: Kaushal M <kaushal at redhat.com>
    Tested-by: Kaushal M <kaushal at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=jztsRJrYwJ&a=cc_unsubscribe


More information about the Bugs mailing list