Skip to content

Commit 1fbdaae

Browse files
authored
CA-415952: HA can not be enabled (#6625)
xenserver/xha@7ed46d6 Add a new field *HostIndex* into the ha_query_liveset result, Xapi needs to update accordingly to parse the result, Otherwise, xapi can not parse the result and understand the liveset thus cause pool-ha-enable always failed This commit fix the issue and intend to be compatible with old/new xha, to update smoothly
2 parents 8aadbd7 + 48b9aa3 commit 1fbdaae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xha_interface.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ module LiveSetInformation = struct
493493
( match first_xml_element_with_name elements "localhost" with
494494
| Some
495495
(Xml.Element
496-
(_, _, [Xml.Element ("HostID", _, [Xml.PCData local_host_id])])
496+
(_, _, Xml.Element ("HostID", _, [Xml.PCData local_host_id]) :: _)
497497
) -> (
498498
match Uuidx.of_string local_host_id with
499499
| None ->

0 commit comments

Comments
 (0)