Bug 1810042
Summary: | Changes to gluster peer probe in nightly build breaks ansible:gluster_volume call | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Sachin Prabhu <sprabhu> |
Component: | glusterd | Assignee: | Sanju <srakonde> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | anoopcs, bugs, gdeschner, pasik, rhs-bugs, srakonde, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-13 06:23:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sachin Prabhu
2020-03-04 13:28:40 UTC
The quick patch below confirmed the cause. I suspect that we may be better off fixing ansible:gluster_volume commit 9972018b1a77db3becddd99b2e872917566f3539 (HEAD -> probe_regression) Author: Sachin Prabhu <sprabhu> Date: Wed Mar 4 11:37:42 2020 +0000 Fix regression in gluster probe Change-Id: Ibb8037b27b5cc246f2b4ac86a315e4a2a7c92e46 diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 0f57d94b5..3205f2895 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -158,9 +158,9 @@ gf_cli_probe_cbk(struct rpc_req *req, struct iovec *iov, int count, gf_log("cli", GF_LOG_INFO, "Received resp to probe"); - if (rsp.op_ret) { - if (rsp.op_errstr && rsp.op_errstr[0] != '\0') { - snprintf(msg, sizeof(msg), "%s", rsp.op_errstr); + if (rsp.op_errstr && rsp.op_errstr[0] != '\0') { + snprintf(msg, sizeof(msg), "%s", rsp.op_errstr); + if (rsp.op_ret) { gf_log("cli", GF_LOG_ERROR, "%s", msg); } } Hi Sachin, thanks for detailed report. Would you like to push the patch to gerrit or I can push for you. -Sanju REVIEW: https://review.gluster.org/24211 (cli: display the error while probing the localhost) posted (#1) for review on master by Sanju Rakonde Sanju, Thanks for following up on this issue. I have reviewed the patch. Sachin Prabhu REVIEW: https://review.gluster.org/24211 (cli: display the error while probing the localhost) merged (#2) on master by Sanju Rakonde |