after manually migrate vms off host i was able to put host into maintenance mode to apply updates.
Edit after both host updated still not able to put host into maintenance mode...
host.setMaintenanceMode
{
"id": "c1372ec6-3651-4481-808b-34293e53e144",
"maintenance": true
}
{
"code": "HOST_NOT_ENOUGH_FREE_MEMORY",
"params": [
"OpaqueRef:9ada2e57-1c8a-acb8-3637-df6819b64aca"
],
"task": {
"uuid": "ad526091-5706-3e6b-a544-b7f84a5cfdb0",
"name_label": "Async.host.evacuate",
"name_description": "",
"allowed_operations": [],
"current_operations": {},
"created": "20260710T15:43:17Z",
"finished": "20260710T15:43:17Z",
"status": "failure",
"resident_on": "OpaqueRef:119546e4-e0fd-adc7-d42a-b17c4efe789d",
"progress": 1,
"type": "<none/>",
"result": "",
"error_info": [
"HOST_NOT_ENOUGH_FREE_MEMORY",
"OpaqueRef:9ada2e57-1c8a-acb8-3637-df6819b64aca"
],
"other_config": {},
"subtask_of": "OpaqueRef:NULL",
"subtasks": [],
"backtrace": "(((process xapi)(filename ocaml/xapi/xapi_host.ml)(line 629))((process xapi)(filename hashtbl.ml)(line 159))((process xapi)(filename hashtbl.ml)(line 165))((process xapi)(filename hashtbl.ml)(line 170))((process xapi)(filename ocaml/xapi/xapi_host.ml)(line 625))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 24))((process xapi)(filename ocaml/libs/xapi-stdext/lib/xapi-stdext-pervasives/pervasiveext.ml)(line 39))((process xapi)(filename ocaml/xapi/rbac.ml)(line 228))((process xapi)(filename ocaml/xapi/rbac.ml)(line 238))((process xapi)(filename ocaml/xapi/server_helpers.ml)(line 78)))"
},
"message": "HOST_NOT_ENOUGH_FREE_MEMORY(OpaqueRef:9ada2e57-1c8a-acb8-3637-df6819b64aca)",
"name": "XapiError",
"stack": "XapiError: HOST_NOT_ENOUGH_FREE_MEMORY(OpaqueRef:9ada2e57-1c8a-acb8-3637-df6819b64aca)
at XapiError.wrap (file:///opt/xen-orchestra/packages/xen-api/_XapiError.mjs:16:12)
at default (file:///opt/xen-orchestra/packages/xen-api/_getTaskResult.mjs:13:29)
at Xapi._addRecordToCache (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1078:24)
at file:///opt/xen-orchestra/packages/xen-api/index.mjs:1112:14
at Array.forEach (<anonymous>)
at Xapi._processEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1102:12)
at Xapi._watchEvents (file:///opt/xen-orchestra/packages/xen-api/index.mjs:1275:14)"
}
Possible error with Twinstore enabled HA?