From 6b6a9876107217e98252fd7d93746bda1aa7ce3f Mon Sep 17 00:00:00 2001 From: David Scott Date: Wed, 26 Jan 2011 17:39:04 +0000 Subject: [PATCH] CA-48449: remove spurious VM_UNCOOPERATIVE alerts 1. there are too many false-positive alerts; and 2. there is no obvious action to resolve the problem Signed-off-by: David Scott --- ocaml/xapi/db_gc.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocaml/xapi/db_gc.ml b/ocaml/xapi/db_gc.ml index 3b22a209..c4c38f0a 100644 --- a/ocaml/xapi/db_gc.ml +++ b/ocaml/xapi/db_gc.ml @@ -411,7 +411,9 @@ let update_vm_cooperativeness ~__context = try let vm = Db.VM.get_by_uuid ~__context ~uuid in Helpers.set_vm_uncooperative ~__context ~self:vm ~value; +(* if value then ignore(Xapi_message.create ~__context ~name:Api_messages.vm_uncooperative ~priority:1L ~cls:`VM ~obj_uuid:uuid ~body:"") +*) with _ -> () in StringSet.iter (set_uncooperative_flag true) uncooperative_domains; StringSet.iter (set_uncooperative_flag false) cooperative_domains; -- 2.39.5