Bug 1031920
Summary: | glusterd: peer probe of local host returns success with message that it is not needed | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> | |
Component: | glusterd | Assignee: | Gaurav Kumar Garg <ggarg> | |
Status: | CLOSED EOL | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.1 | CC: | ggarg, kaushal, rhinduja, sasundar, smohan, vbellur | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Unspecified | |||
Whiteboard: | glusterd | |||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1167714 (view as bug list) | Environment: | ||
Last Closed: | 2015-12-03 17:13:07 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1167714 |
Description
Rahul Hinduja
2013-11-19 06:52:48 UTC
When the host which already part of the cluster is probed again, the same anomaly is seen. [root@dhcp37-44 ~]# gluster peer status Number of Peers: 2 Hostname: dhcp37-201.lab.eng.blr.redhat.com Uuid: 96527a4d-4a99-4a84-9a45-7a2b6f062601 State: Peer in Cluster (Connected) Hostname: dhcp37-216.lab.eng.blr.redhat.com Uuid: 7ebe68dc-8c81-4475-bbd0-102c8686b576 State: Peer in Cluster (Connected) [root@dhcp37-44 ~]# gluster peer probe dhcp37-201.lab.eng.blr.redhat.com peer probe: success. Host dhcp37-201.lab.eng.blr.redhat.com port 24007 already in peer list [root@dhcp37-44 ~]# echo $? 0 Even in this case, the cli response says "Peer Probe Success" and there is warning message, and response return value is 0 - which means success. Expected Result: There should not be the response saying ; "peer probe: success" and return value should not be 0 - in this case Rahul, Sas, Do you have any particular use case where this behaviour is not expected? All the usecases I can think of with respect to peer probe only depend on the status of the probed peer after the command. You'd do one thing if the peer is not a member, or something else if it is. Also, RHS-C team says they are currently dependent on this behaviour for something. Gaurav already has a patch that changes the behaviour. But I don't want to accept it, as I don't believe it is required. I will only accept it if we can come up with a suitable case. ~kaushal The only use case is the usability point of view of an end customer. A gluster peer command returns success where as no peer in the list. Since, RHS-C team is currently dependent on this behaviour and this is one of the rare case to hit/observe any way, I am ok to not take the patch now. ~Rahul Thank you for submitting this issue for consideration in Red Hat Gluster Storage. The release for which you requested us to review, is now End of Life. Please See https://access.redhat.com/support/policy/updates/rhs/ If you can reproduce this bug against a currently maintained version of Red Hat Gluster Storage, please feel free to file a new report against the current release. |