Oved Ourfali has submitted this change and it was merged.

Change subject: core:Class cast exception when fence fails
......................................................................


core:Class cast exception when fence fails

The problem was that in the case that the proxy host is blocked by
iptables to access the PM card we got a message result in the RPC XML
return value which is Object[].
In the code, there was attempt to cast this result to a string which
obviously failed with ClassCastException.
This patch adds check for the message type and gets it properly as
string in the case that we got Object[].

Change-Id: I511599ce3c6dbf313cbe8d1f0f57e329a4aa1d79
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1114977
Signed-off-by: Eli Mesika <[email protected]>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/StatusForXmlRpc.java
1 file changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Eli Mesika: Verified
  Juan Hernandez: Looks good to me, but someone else must approve
  Oved Ourfali: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I511599ce3c6dbf313cbe8d1f0f57e329a4aa1d79
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to