[Bugs] [Bug 1238135] New: Initialize daemons on demand
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 1 09:33:31 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1238135
Bug ID: 1238135
Summary: Initialize daemons on demand
Product: GlusterFS
Version: mainline
Component: glusterd
Assignee: bugs at gluster.org
Reporter: amukherj at redhat.com
CC: bugs at gluster.org, gluster-bugs at redhat.com
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:
--
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