{"action":"created","issue":{"url":"https://api.github.com/repos/gluster/glusterd2/issues/908","repository_url":"https://api.github.com/repos/gluster/glusterd2","labels_url":"https://api.github.com/repos/gluster/glusterd2/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/gluster/glusterd2/issues/908/comments","events_url":"https://api.github.com/repos/gluster/glusterd2/issues/908/events","html_url":"https://github.com/gluster/glusterd2/issues/908","id":334022052,"node_id":"MDU6SXNzdWUzMzQwMjIwNTI=","number":908,"title":"peer detach not working in glustercli","user":{"login":"labazza","id":21082724,"node_id":"MDQ6VXNlcjIxMDgyNzI0","avatar_url":"https://avatars3.githubusercontent.com/u/21082724?v=4","gravatar_id":"","url":"https://api.github.com/users/labazza","html_url":"https://github.com/labazza","followers_url":"https://api.github.com/users/labazza/followers","following_url":"https://api.github.com/users/labazza/following{/other_user}","gists_url":"https://api.github.com/users/labazza/gists{/gist_id}","starred_url":"https://api.github.com/users/labazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labazza/subscriptions","organizations_url":"https://api.github.com/users/labazza/orgs","repos_url":"https://api.github.com/users/labazza/repos","events_url":"https://api.github.com/users/labazza/events{/privacy}","received_events_url":"https://api.github.com/users/labazza/received_events","type":"User","site_admin":false},"labels":[{"id":971990657,"node_id":"MDU6TGFiZWw5NzE5OTA2NTc=","url":"https://api.github.com/repos/gluster/glusterd2/labels/GCS-Blocker","name":"GCS-Blocker","color":"c96a0c","default":false},{"id":971989774,"node_id":"MDU6TGFiZWw5NzE5ODk3NzQ=","url":"https://api.github.com/repos/gluster/glusterd2/labels/Gluster%204.2","name":"Gluster 4.2","color":"e4f7a5","default":false},{"id":131833774,"node_id":"MDU6TGFiZWwxMzE4MzM3NzQ=","url":"https://api.github.com/repos/gluster/glusterd2/labels/bug","name":"bug","color":"fc2929","default":true},{"id":763218947,"node_id":"MDU6TGFiZWw3NjMyMTg5NDc=","url":"https://api.github.com/repos/gluster/glusterd2/labels/priority:%20high","name":"priority: high","color":"96152e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-20T10:44:29Z","updated_at":"2018-06-22T12:23:39Z","closed_at":null,"author_association":"NONE","body":"hi,\r\n\r\ni'm testing some operations with gluster4 and glustercli.\r\nI have re-installed a node with the same host name/IP and add it back to the cluster.\r\nThis 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.\r\nSo 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:\r\n\r\nError: Unable to find Peer ID\r\n\r\nAs a workaround the REST API call was successful\r\n```\r\n  glustercli peer detach <HOSTNAME> [flags]\r\n\r\n+--------------------------------------+----------------------------------------+---------------------+                                                                                     \r\n|                  ID                  |                  NAME                  |    PEERADDRESSES    |                                                                                     \r\n+--------------------------------------+----------------------------------------+---------------------+                                                                                     \r\n| 00590d47-950d-4047-82d5-60f941c51827 | glusternode-2405 | 10.10.10.1:24008 |                                                                                     \r\n| 5953d666-fccd-48e2-aeb9-5308a53ad5a0 | glusternode-2401 | 10.10.10.2.15:24008 |                                                                                     \r\n| 79ffdcbf-5147-4f7e-b28d-1fa056cd3ccc | glusternode-2404 | 10.10.10.3:24008 |                                                                                     \r\n| ba9e411e-9b69-4841-8b36-e1dbb5663135 | glusternode-2401 | 10.10.10.2:24008 |                                                                                     \r\n+--------------------------------------+----------------------------------------+---------------------+  \r\n\r\n[root@glusternode-2404 ~]# glustercli peer detach 00590d47-950d-4047-82d5-60f941c51827\r\nPeer detach failed\r\n\r\nError: Unable to find Peer ID\r\n[root@glusternode-2404 ~]# glustercli peer detach 5953d666-fccd-48e2-aeb9-5308a53ad5a0\r\nPeer detach failed\r\n\r\nError: Unable to find Peer ID\r\n[root@glusternode-2404 ~]# glustercli peer detach glusternode-2401\r\nPeer detach failed\r\n\r\nError: Unable to find Peer ID\r\n[root@glusternode-2404 ~]# glustercli peer detach glusternode-2404\r\nPeer detach failed\r\n\r\nError: Unable to find Peer ID\r\n\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/gluster/glusterd2/issues/comments/399424763","html_url":"https://github.com/gluster/glusterd2/issues/908#issuecomment-399424763","issue_url":"https://api.github.com/repos/gluster/glusterd2/issues/908","id":399424763,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQyNDc2Mw==","user":{"login":"labazza","id":21082724,"node_id":"MDQ6VXNlcjIxMDgyNzI0","avatar_url":"https://avatars3.githubusercontent.com/u/21082724?v=4","gravatar_id":"","url":"https://api.github.com/users/labazza","html_url":"https://github.com/labazza","followers_url":"https://api.github.com/users/labazza/followers","following_url":"https://api.github.com/users/labazza/following{/other_user}","gists_url":"https://api.github.com/users/labazza/gists{/gist_id}","starred_url":"https://api.github.com/users/labazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labazza/subscriptions","organizations_url":"https://api.github.com/users/labazza/orgs","repos_url":"https://api.github.com/users/labazza/repos","events_url":"https://api.github.com/users/labazza/events{/privacy}","received_events_url":"https://api.github.com/users/labazza/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T12:23:39Z","updated_at":"2018-06-22T12:23:39Z","author_association":"NONE","body":"To reproduce, just try a peer detach and you get 'Peer detach failed'\n\nNote:\n* i have tried with hostname, IP and ID\n* i have tried this in gluster 4.0 not 4.1 and peer remove is not available:\n[root@glusternode-01 ~]# glustercli peer\ndetach  probe   status\n[root@glusternode-01 ~]# glustercli peer\n\n\nOn Fri, Jun 22, 2018 at 1:41 PM Madhu Rajanna <notifications@github.com>\nwrote:\n\n> @labazza <https://github.com/labazza> can you be more specific with the\n> steps to reproduce the issue.\n>\n> Note:\n> *you cannot use hostname or IP to remove peer.\n>\n> *you are trying peer detach command, we have replaced peer detach with peer\n> remove command. Please make sure you use the latest glusterd2 build for\n> testing\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/gluster/glusterd2/issues/908#issuecomment-399414436>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AUGyZLEq2z3sY-x8ntajAywrsQOMxw9mks5t_NgEgaJpZM4UvCNF>\n> .\n>\n"}}
{"actor":{"display_login":"labazza"}}