Bug 882807 - PRD32-GLUSTER - Forced removal of a host
Summary: PRD32-GLUSTER - Forced removal of a host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 3.2.0
Assignee: Vinayaga Raman
QA Contact: Prasanth
URL:
Whiteboard: gluster
Depends On:
Blocks: 892435
TreeView+ depends on / blocked
 
Reported: 2012-12-03 06:58 UTC by Shireesh
Modified: 2022-07-09 06:11 UTC (History)
12 users (show)

Fixed In Version: sf3
Doc Type: Enhancement
Doc Text:
Previously, when a user tried to remove a host which contained bricks of one or more gluster volumes, or all the Hosts in the cluster are in maintenance mode(or not up), the 'Host Remove' operation will fail with an error. This has been fixed by adding a 'Force Remove' to the 'Remove Host' confirmation dialog. This enables the user to remove the hosts even if the host contains bricks or is in non-responsive state. The corresponding brick entries will also be removed while removing the host. The 'Gluster Peer Detach Force' command will also be executed in one of the UP Hosts of the cluster.
Clone Of:
: 892435 (view as bug list)
Environment:
Last Closed: 2013-06-10 21:24:52 UTC
oVirt Team: Gluster
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47207 0 None None None 2022-07-09 06:11:31 UTC
Red Hat Product Errata RHSA-2013:0888 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Virtualization Manager 3.2 update 2013-06-11 00:55:41 UTC

Description Shireesh 2012-12-03 06:58:16 UTC
Currently a host cannot be removed from a gluster cluster if it has any volume bricks on it, or is non-responsive. Introduce a "force" option while removing a host, so that such host can also be removed. This internally should send the "force" option to the "gluster peer detach" command.

On the UI, this should be a checkbox on the "remove host" confirmation dialog
This option should also be available in the REST api for removing a host.

Comment 1 Dhandapani 2012-12-11 09:52:04 UTC
Engine patch sent to upstream.
http://gerrit.ovirt.org/#/c/8894/

UI patch needs to be send.

Comment 2 Kanagaraj 2012-12-18 06:50:25 UTC
UI patch sent to upstream: http://gerrit.ovirt.org/10180

Comment 3 Dhandapani 2012-12-19 06:43:53 UTC
Another engine side fix required.
If all the hosts are down in a given cluster the engine should remove the hosts entries in the db.

Comment 4 Dhandapani 2012-12-26 16:42:42 UTC
Engine patch sent to upstream: http://gerrit.ovirt.org/#/c/10401/

Comment 5 Prasanth 2013-02-20 12:33:36 UTC
Verified

Comment 7 Cheryn Tan 2013-04-03 06:53:56 UTC
This bug is currently attached to errata RHEA-2013:14491. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.

* Consequence: What happens when the bug presents.

* Fix: What was done to fix the bug.

* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes

Thanks in advance.

Comment 8 errata-xmlrpc 2013-06-10 21:24:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0888.html


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