Madhu Rajanna
3c9ca8411b
log errors with log.WithError()
...
during error logging we should log
with WithError()
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-08-09 14:29:28 +05:30
Oshank Kumar
02e35a95e0
cli: Refactor some of glustercli code
...
Signed-off-by: Oshank Kumar <okumar@redhat.com >
2018-08-08 12:38:17 +05:30
Madhu Rajanna
8aad2d0728
when glusterd2 starts,glusterd2 PID will be
...
added as a value under alive/peerid key
and this is published as a liveness to the store.
peer list and peer status will contains
PID in HTTP response.
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-06-22 10:22:46 +05:30
Madhu Rajanna
e010dd6fdb
format error strings: error strings should not
...
be capitalized,make first letter as lower case
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-06-20 16:21:29 +05:30
Prashanth Pai
819e323ff8
Merge branch 'master' into issue_836
2018-06-01 17:50:59 +05:30
Madhu Rajanna
45b80ca0ee
display client addresses in glustercli
...
peer add and peer list response
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-06-01 12:45:35 +05:30
Madhu Rajanna
838eb278f2
allow only PeerID as input for
...
peer removal in glustercli
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-06-01 12:37:30 +05:30
Madhu Rajanna
501556e005
Display peer addresses in new line
...
When there are multiple peer addresses,
display each one in a separate line.
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-05-29 13:56:51 +05:30
rishubhjain
38693af6e0
Formating go code
2018-05-25 12:20:03 -04:00
root
d6f862bdd5
Filter peers on basis of metadata either by metadata key/value/key+value
...
Signed-off-by: Vishal Pandey <vpandey@redhat.com >
2018-05-25 17:15:36 +05:30
Prashanth Pai
15a545a7c0
Merge branch 'master' into peer_command
2018-05-14 08:52:24 +05:30
Madhu Rajanna
e598a6df6f
updated attach to add and detach to remove
...
in code and in documents
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-05-11 16:16:48 +05:30
Madhu Rajanna
4f6dc785ce
Modified peer related glustercli commands.
...
All peer related commands should start with peer.
Instead of having pool list command in glsutercli
we can have glustercli peer list (which displays
the peers in pool).
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-05-11 16:16:48 +05:30
Prashanth Pai
cf0f40c897
Add Online field to pool list output
...
Signed-off-by: Prashanth Pai <ppai@redhat.com >
2018-05-11 11:33:09 +05:30
Madhu Rajanna
553f0959cd
added check for input peer id
...
updated cli help command
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-05-04 16:32:48 +05:30
Madhu Rajanna
cda7c72226
peer detach with default port if port is
...
not provided in peer detach cli command
added function in the glustercli/cmd/peer.go
to fetch peerID from host IP.
updated e2e testcase
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-05-04 15:47:24 +05:30
Madhu Rajanna
c22ebe363f
glustercli fixed review comments
...
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-04-25 18:02:01 +05:30
Madhu Rajanna
faa96dc761
add verbose flag to cli to
...
print error message to stdout
Signed-off-by: Madhu Rajanna <mrajanna@redhat.com >
2018-04-25 17:15:37 +05:30
Prashanth Pai
d51a4084a6
Add space between PeerAddresses
...
Signed-off-by: Prashanth Pai <ppai@redhat.com >
2018-04-24 12:56:31 +05:30
Aravinda VK
d574774a70
cli: CLI log and messages improvements
...
Need some work on handling different error codes and add detailed
messages to users. With this patch, GlusterCLI handles Glusterd down
or not reachable error.
Signed-off-by: Aravinda VK <avishwan@redhat.com >
2018-02-14 11:19:35 +05:30
Prashanth Pai
caf627466a
Separate Peer and Client Addresses in Peer object
...
Signed-off-by: Prashanth Pai <ppai@redhat.com >
2018-02-02 10:34:02 +05:30
Kaushal M
c5e734bf85
Merge remote-tracking branch 'origin/master' into refactor-pkgs
2017-11-21 15:11:04 +05:30
Kaushal M
d30e587841
Move bin/glustercli to top-level glustercli package
2017-11-14 18:18:13 +05:30