Bug 1468676 - After node removal, heketi dont allow to enable/readd the node.
Summary: After node removal, heketi dont allow to enable/readd the node.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: cns-3.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Mohamed Ashiq
QA Contact: Anoop
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-07 16:02 UTC by Humble Chirammal
Modified: 2017-08-02 15:41 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-02 15:41:00 UTC
Embargoed:


Attachments (Terms of Use)

Description Humble Chirammal 2017-07-07 16:02:37 UTC
Description of problem:
	
#heketi-cli node disable 513a2e3cd7d61df6d41259590ee31e9b

#heketi-cli node remove 513a2e3cd7d61df6d41259590ee31e9b

Current topology:


Node Id: 513a2e3cd7d61df6d41259590ee31e9b
	State: failed
	Cluster Id: 24b9bdc3348be97789ef658ce32d527f
	Zone: 1
	Management Hostname: 192.168.35.5
	Storage Hostname: 192.168.35.5
	Devices:
		Id:1b3e759d7dbaa9caf8cea834b0602d78   Name:/dev/vdd            State:failed    Size (GiB):499     Used (GiB):0       Free (GiB):499     
			Bricks:
		Id:7a60c1ed433a646fbdcb3d7760810a20   Name:/dev/vdf            State:failed    Size (GiB):499     Used (GiB):0       Free (GiB):499     
			Bricks:
		Id:ec128143868cc926ba14c44ad266478f   Name:/dev/vde            State:failed    Size (GiB):499     Used (GiB):0       Free (GiB):499     
			Bricks:


# heketi-cli node enable 513a2e3cd7d61df6d41259590ee31e9b
Error: Cannot move a failed/removed node to online state
^^
If above is expected, 

# heketi-cli node add --zone=1 --cluster=24b9bdc3348be97789ef658ce32d527f  --management-host-name=192.168.35.5 --storage-host-name=192.168.35.5
Error: Hostname 192.168.35.5 already used by node with id 513a2e3cd7d61df6d41259590ee31e9b


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Humble Chirammal 2017-08-02 15:41:00 UTC
It was a setup issue hence closing this bug.


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