[Bugs] [Bug 1247012] New: Initialize daemons on demand

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 27 07:14:05 UTC 2015


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

            Bug ID: 1247012
           Summary: Initialize daemons on demand
           Product: GlusterFS
           Version: 3.7.2
         Component: glusterd
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: amukherj at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com
        Depends On: 1238135



+++ This bug was initially created as a clone of Bug #1238135 +++

Description of problem:

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. This flow breaks the usecases where a
gluster image is built following a template (it 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.


Version-Release number of selected component (if applicable):
Mainline

How reproducible:
Always

Steps to Reproduce:
1. Build a docker image using
https://registry.hub.docker.com/u/gluster/gluster-fedora/dockerfile/ 
2. Bring up multiple containers using the above image
3. Check the UUIDs on all these containers by cat
/var/lib/glusterd/glusterd.info | grep UUID

Actual results:
UUIDs are same

Expected results:
UUIDs should be unique.

Additional info:

--- Additional comment from Anand Avati on 2015-07-01 05:41:44 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#2) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-01 06:03:48 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#3) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-01 08:05:32 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#4) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-02 06:39:48 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#5) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-06 06:52:15 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#6) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-07 23:57:16 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#7) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-13 00:31:47 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#8) for review on master by Atin Mukherjee
(amukherj at redhat.com)

--- Additional comment from Anand Avati on 2015-07-23 00:10:01 EDT ---

REVIEW: http://review.gluster.org/11488 (glusterd: initialize the daemon
services on demand) posted (#9) for review on master by Atin Mukherjee
(amukherj at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1238135
[Bug 1238135] Initialize daemons on demand
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list