summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 9065c6ce419..2781b5d9f90 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -722,16 +722,18 @@ glusterd_op_stage_rebalance (dict_t *dict, char **op_errstr)
peerinfo = glusterd_peerinfo_find_by_uuid
(brickinfo->uuid);
if (!peerinfo) {
- gf_asprintf (op_errstr, "Host node of "
- "brick %s doesn't belong "
- "to cluster",
+ gf_asprintf (op_errstr, "Host node %s "
+ "of brick %s doesn't "
+ "belong to cluster",
+ brickinfo->hostname,
brickinfo->path);
ret = -1;
rcu_read_unlock ();
goto out;
} else if (!peerinfo->connected) {
- gf_asprintf (op_errstr, "Host node of "
- "brick %s is down",
+ gf_asprintf (op_errstr, "Host node %s "
+ "of brick %s is down",
+ brickinfo->hostname,
brickinfo->path);
ret = -1;
rcu_read_unlock ();