Bug 988393 - unable to peer detach; peer is localhost
unable to peer detach; peer is localhost
Status: CLOSED NOTABUG
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: glusterfs (Show other bugs)
2.1
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Amar Tumballi
Sudhir D
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-25 09:44 EDT by Dustin Tsang
Modified: 2015-07-13 00:39 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-07-25 10:16:06 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
sosreport (2.70 MB, application/x-xz)
2013-07-25 09:44 EDT, Dustin Tsang
no flags Details
glusterd log (158.31 KB, text/x-log)
2013-07-25 09:45 EDT, Dustin Tsang
no flags Details
cli log (116.43 KB, text/x-log)
2013-07-25 09:45 EDT, Dustin Tsang
no flags Details

  None (edit)
Description Dustin Tsang 2013-07-25 09:44:11 EDT
Created attachment 778263 [details]
sosreport

Description of problem:
after running "gluster --mode=script peer detach xxxx",  stderr is  "xxxx is localhost"

command was run from xxxx's peer; 'gluster peer status' shows xxxx.


output below
-------------
```
[root@dhcp129-5 glusterfs]# gluster --mode=script peer detach 10.70.37.125

10.70.37.125 is localhost


[2013-07-25 05:51:54.243667] W [rpc-transport.c:174:rpc_transport_load] 0-rpc-transport: missing 'option transport-type'. defaulting to "socket"

==> etc-glusterfs-glusterd.vol.log <==
[2013-07-25 05:51:54.315208] I [glusterd-handler.c:774:glusterd_handle_cli_deprobe] 0-glusterd: Received CLI deprobe req
[2013-07-25 05:51:54.315360] I [glusterd-handler.c:2508:glusterd_xfer_cli_deprobe_resp] 0-glusterd: Responded to CLI, ret: 0


==> cli.log <==
[2013-07-25 05:51:54.315558] I [cli-rpc-ops.c:218:gf_cli3_1_deprobe_cbk] 0-cli: Received resp to deprobe
[2013-07-25 05:51:54.315593] E [cli-rpc-ops.c:254:gf_cli3_1_deprobe_cbk] 0-glusterd: Detach failed with op_ret -1 and op_errno 1
[2013-07-25 05:51:54.315751] I [input.c:46:cli_batch] 0-: Exiting with: -1
```




Version-Release number of selected component (if applicable):

U5 anshi node
gluster-swift.noarch                                                                1.4.8-5.el6rhs                                                           @anaconda-InstallationRepo-201307080525.x86_64/2.0
gluster-swift-account.noarch                                                        1.4.8-5.el6rhs                                                           @anaconda-InstallationRepo-201307080525.x86_64/2.0
gluster-swift-container.noarch                                                      1.4.8-5.el6rhs                                                           @anaconda-InstallationRepo-201307080525.x86_64/2.0
gluster-swift-doc.noarch                                                            1.4.8-5.el6rhs                                                           @anaconda-InstallationRepo-201307080525.x86_64/2.0
gluster-swift-object.noarch                                                         1.4.8-5.el6rhs                                                           @anaconda-InstallationRepo-201307080525.x86_64/2.0
gluster-swift-plugin.noarch                                                         1.0-5                                                                    @anaconda-InstallationRepo-201307080525.x86_64/2.0
gluster-swift-proxy.noarch                                                          1.4.8-5.el6rhs                                                           @anaconda-InstallationRepo-201307080525.x86_64/2.0
glusterfs.x86_64                                                                    3.3.0.11rhs-1.el6rhs                                                     @anaconda-InstallationRepo-201307080525.x86_64/2.0
glusterfs-fuse.x86_64                                                               3.3.0.11rhs-1.el6rhs                                                     @anaconda-InstallationRepo-201307080525.x86_64/2.0
glusterfs-geo-replication.x86_64                                                    3.3.0.11rhs-1.el6rhs                                                     @anaconda-InstallationRepo-201307080525.x86_64/2.0
glusterfs-rdma.x86_64                                                               3.3.0.11rhs-1.el6rhs                                                     @anaconda-InstallationRepo-201307080525.x86_64/2.0
glusterfs-server.x86_64                                                             3.3.0.11rhs-1.el6rhs                                                     @anaconda-InstallationRepo-201307080525.x86_64/2.0

 
How reproducible:

not sure yet. will update ticket.


Steps to Reproduce:
1. add nodes from RHSC to the same cluster
2. from gluster cli from one of the nodes, perform gluster peer detach xxxx, where xxxx is the ip of the other node in the cluster

Actual results:
xxxx is localhost

Expected results:
peer detach successful.

Additional info:
Comment 1 Dustin Tsang 2013-07-25 09:45:23 EDT
Created attachment 778265 [details]
glusterd log
Comment 2 Dustin Tsang 2013-07-25 09:45:47 EDT
Created attachment 778266 [details]
cli log

Note You need to log in before you can comment on or make changes to this bug.