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

bugzilla at redhat.com bugzilla at redhat.com
Fri May 1 07:19:17 UTC 2015


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



--- Comment #5 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10462 committed in release-3.7 by Vijay
Bellur (vbellur at redhat.com) 
------
commit 539bbfad68939601c8666d16d7bc51e89321ebef
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>
    (cherry picked from commit ec6ccda3783e9a3edd5a2e4093e07ee37f266520)
    Reviewed-on: http://review.gluster.org/10462
    Reviewed-by: Krishnan Parthasarathi <kparthas at redhat.com>
    Reviewed-by: Vijay Bellur <vbellur 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=dgXuVini4H&a=cc_unsubscribe


More information about the Bugs mailing list