]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
CA-48449: remove spurious VM_UNCOOPERATIVE alerts
authorDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:04 +0000 (17:39 +0000)
committerDavid Scott <dave.scott@eu.citrix.com>
Wed, 26 Jan 2011 17:39:04 +0000 (17:39 +0000)
1. there are too many false-positive alerts; and
2. there is no obvious action to resolve the problem

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
ocaml/xapi/db_gc.ml

index 3b22a2095373f4da29d9293a1535e093ac731f80..c4c38f0a78b4a0f86d278ad4d329595c4a47c7ce 100644 (file)
@@ -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;