[Bugs] [Bug 1247012] Initialize daemons on demand

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 27 14:31:33 UTC 2015


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



--- Comment #2 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/11766 committed in release-3.7 by Kaushal M
(kaushal at redhat.com) 
------
commit c5a19652c80162e670d29a7bd8c910d0acdfacb9
Author: Atin Mukherjee <amukherj at redhat.com>
Date:   Wed Jul 1 14:47:48 2015 +0530

    glusterd: initialize the daemon services on demand

    Backport of http://review.gluster.org/#/c/11488/

    As of now all the daemon services are initialized at glusterD init path.
Since
    socket file path of per node daemon demands the uuid of the node, MY_UUID
macro
    is invoked as part of the initialization.

    The above flow breaks the usecases where a gluster image is built following
a
    template could be Dockerfile, Vagrantfile or any kind of virtualization
    environment. This means bringing instances of this image would have same
UUIDs
    for the node resulting in peer probe failure.

    Solution is to lazily initialize the services on demand.

    Change-Id: If7caa533026c83e98c7c7678bded67085d0bbc1e
    BUG: 1247012
    Signed-off-by: Atin Mukherjee <amukherj at redhat.com>
    Reviewed-on: http://review.gluster.org/11488
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Gaurav Kumar Garg <ggarg at redhat.com>
    Reviewed-by: Kaushal M <kaushal at redhat.com>
    Reviewed-on: http://review.gluster.org/11766

-- 
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=sxMPfxdDEK&a=cc_unsubscribe


More information about the Bugs mailing list