Change in ovirt-engine[master]: engine: Forced removal of a host (#882807)
sanjal at redhat.com
sanjal at redhat.com
Fri Dec 28 10:52:07 UTC 2012
Shireesh Anjal has submitted this change and it was merged.
Change subject: engine: Forced removal of a host (#882807)
......................................................................
engine: Forced removal of a host (#882807)
If all the hosts are down in a given cluster and the force remove action is true,
then the engine will remove the hosts entries in the db.
Also, if the removing host is the last host and the force remove action is true,
then clear the gluster volumes from the database.
Added new stored procedure to remove the volumes of a given cluster id.
Change-Id: I6939d3ee7eab38cb6b26abd98d7377be64cd9bdc
Bug-Url: https://bugzilla.redhat.com/882807
Signed-off-by: Dhandapani <dgopal at redhat.com>
---
M backend/manager/dbscripts/gluster_volumes_sp.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVdsCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/RemoveVdsCommandTest.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/gluster/GlusterVolumeDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/gluster/GlusterVolumeDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/gluster/GlusterVolumeDaoTest.java
6 files changed, 71 insertions(+), 8 deletions(-)
Approvals:
Shireesh Anjal: Looks good to me, approved
Dhandapani Gopal: Verified
--
To view, visit http://gerrit.ovirt.org/10401
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6939d3ee7eab38cb6b26abd98d7377be64cd9bdc
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dhandapani Gopal <dgopal at redhat.com>
Gerrit-Reviewer: Dhandapani Gopal <dgopal at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>
More information about the Engine-commits
mailing list