1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-06 15:46:00 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Prashanth Pai
c02d862a5d Introduce Daemon interface
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2016-09-26 20:14:57 +05:30
Prashanth Pai
5096227959 Add process related utility functions
Signed-off-by: Prashanth Pai <ppai@redhat.com>
2016-09-26 20:14:57 +05:30
Prashanth Pai
6ecb3a083f Fix crash caused on peer attaching local node
This closes #101

Signed-off-by: Prashanth Pai <ppai@redhat.com>
2016-07-18 21:08:17 +05:30
Gaurav Kumar Garg
cd5bfecbab etcd bootstrapping in glusterd 2.0
Adding member upon peer probe in the etcd cluster.

With this change it will add remote host url during
peer probe of remote host in the cluster.

Issue #72

Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2016-02-25 15:39:17 +05:30
Atin Mukherjee
e5cf63b219 Add rpc calls for peer probe
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
2015-12-29 18:59:13 +05:30
Atin Mukherjee
995f99467b Group volume create validations & commit into separate phases
This patch introduces the validation, commit & rollback phases (functions only)
of the volume create command life cycle. Later on all these functions can be
invoked by the transaction framework.

Closes #42

Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
2015-11-27 09:50:14 +05:30
Kaushal M
3946fc6a09 Fix merge errors 2015-11-18 12:39:55 +05:30
Kaushal M
6aece4ac01 Merge branch 'master' into peer-commands
Fixed conflicts in:
	errors/error.go
	glide.yaml
	store/volume.go
2015-11-18 12:02:52 +05:30
Atin Mukherjee
6d94d7a61e volume-create: add extended attribute support check
Please note currently the unit tests are going fail because of non-root
privileges. We'd need to move this infrastructure to something where we can have
root privileges

Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
2015-11-06 15:51:43 +05:30
Kaushal M
e2693ba1de Add an error for hostnames not present 2015-11-06 12:01:51 +05:30
Atin Mukherjee
5d3ff14de7 volume-create: unit tests for utils package
1. Added unit tests for utils package
2. Corrected IsLocalAddress utility

Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
2015-11-05 17:19:27 +05:30
Atin Mukherjee
e195a201d2 handle volume create command
Closes #14

Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
2015-10-15 09:29:40 +05:30
Atin Mukherjee
b4a248edd7 response : define generic json response structure for rest of the commands
Closes #11

Change-Id: I961895830b10ff459d8e70868369afb14aaf89d0
Signed-off-by: Atin Mukherjee <atin.mukherjee83@gmail.com>
2015-09-16 12:52:28 +05:30
Atin Mukherjee
70c03814ca response : define generic json response structure for commands
Change-Id: I78c2586d4473c68d124ba0446def8100613a847d
Signed-off-by: Atin Mukherjee <atin.mukherjee83@gmail.com>
Reviewed-on: https://review.gerrithub.io/243210
Reviewed-by: Kaushal M <kshlmster@gmail.com>
Tested-by: Kaushal M <kshlmster@gmail.com>
2015-08-18 09:03:22 +02:00