[Gluster-users] peer detach doesn't seem working in glustercli
Davide Obbi
davide.obbi at booking.com
Wed Jun 13 09:16:42 UTC 2018
hi,
i'm testing some operations with gluster4 and glustercli.
I have re-installed a node with the same host name/IP and add it back to
the cluster.
This resulted in a double entry, this could be expected but then i am not
able to remove the old one nor the new nor any other node.
So at this point i am not sure i run peer detach correctly or something is
not working as expected or everything broke by re-adding the same node
again since i get always:
Error: Unable to find Peer ID
thanks
Davide
Usage:
glustercli peer detach <HOSTNAME> [flags]
+--------------------------------------+----------------------------------------+---------------------+
| ID |
NAME | PEERADDRESSES
|
+--------------------------------------+----------------------------------------+---------------------+
| 00590d47-950d-4047-82d5-60f941c51827 | glusternode-2405 | 10.10.10.1:24008
|
| 5953d666-fccd-48e2-aeb9-5308a53ad5a0 | glusternode-2401 |
10.10.10.2.15:24008
|
| 79ffdcbf-5147-4f7e-b28d-1fa056cd3ccc | glusternode-2404 | 10.10.10.3:24008
|
| ba9e411e-9b69-4841-8b36-e1dbb5663135 | glusternode-2401 | 10.10.10.2:24008
|
+--------------------------------------+----------------------------------------+---------------------+
[root at glusternode-2404 ~]# glustercli peer detach
00590d47-950d-4047-82d5-60f941c51827
Peer detach failed
Error: Unable to find Peer ID
[root at glusternode-2404 ~]# glustercli peer detach
5953d666-fccd-48e2-aeb9-5308a53ad5a0
Peer detach failed
Error: Unable to find Peer ID
[root at glusternode-2404 ~]# glustercli peer detach glusternode-2401
Peer detach failed
Error: Unable to find Peer ID
[root at glusternode-2404 ~]# glustercli peer detach glusternode-2404
Peer detach failed
Error: Unable to find Peer ID
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180613/6c5383cd/attachment.html>
More information about the Gluster-users
mailing list