Bug 1579183 - Device remove fails on a disabled device having more bricks
Summary: Device remove fails on a disabled device having more bricks
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: cns-3.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: OCS-3.11.1-devel-triage-done
TreeView+ depends on / blocked
 
Reported: 2018-05-17 06:45 UTC by vinutha
Modified: 2019-03-12 20:07 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-12 20:07:11 UTC
Embargoed:


Attachments (Terms of Use)

Description vinutha 2018-05-17 06:45:53 UTC
Description of problem:
Unable to remove disabled device using heketi remove command

Version-Release number of selected component (if applicable):
heketi-client-6.0.0-13

How reproducible:
Always with device having 3 or more bricks


Steps to Reproduce:
1.Created a 3 node setup and added 1 node 
2.Node 1 has 2 200GB devices and 1 600GB device 
3.200GB devices are free - have no bricks while 600GB device has 3 bricks 
4.Disabled the 600GB device successfully 
5.Unable to remove the disabled device 

Actual results:
heketi-cli device remove fdd1a8ff2942dafe10be0de23c53133a
Error: Failed to remove device, error: Id not found


Expected results:
heketi-cli device delete 24e095a5bc6e18d78b7eda470e072ece
Device 24e095a5bc6e18d78b7eda470e072ece deleted


Additional info:
Able to delete disabled devices with just 1 brick.


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