Eli Mesika has posted comments on this change.

Change subject: core: Cannot confirm Host has been rebooted when..
......................................................................


Patch Set 1: (2 inline comments)

Allon asked 
See inline some implementation considerations.

Also, according to comment 20 of the BZ: "Use cases covered: 1. Any systems 
without fencing devices 2. Single host use case 3. Malfunction fence device"

This patch seems to handle #2 only. Is this correct?

Answer 
-------
No

It solves all in case that you have a single Host in the DC as stated in the BZ 
scenario

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/FenceVdsManualyCommand.java
Line 91: 
Line 92:     @Override
Line 93:     protected void executeCommand() {
Line 94:         boolean result = true;
Line 95:         boolean isSingleHostInDC = 
getVdsDAO().getAllForStoragePool(getStoragePool().getId()).size() == 1;
Done
Line 96:         setVdsName(_problematicVds.getName());
Line 97:         if (_problematicVds.getSpmStatus() == VdsSpmStatus.SPM) {
Line 98:             result = ActivateDataCenter();
Line 99:             if (isSingleHostInDC) {


....................................................
Commit Message
Line 17: 1) Making the Host responsive again => Host is SPM back
Line 18: 2) Adding another Host => New Host is SPM
Line 19: 
Line 20: This patch is not handling the case in which the problematic Host has
Line 21: running VMs, only the scenario reported in 6the BZ was handled
Done
Line 22: 
Line 23: Change-Id: I8264d91d6dc5f33e4684d3bef86624b6f424a64b
Line 24: Signed-off-by: Eli Mesika <emes...@redhat.com>


--
To view, visit http://gerrit.ovirt.org/13045
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I8264d91d6dc5f33e4684d3bef86624b6f424a64b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Ayal Baron <aba...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Liron Ar <lara...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzasl...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to