WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] ACM Policy Problem

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] ACM Policy Problem
From: "王若曾" <ruozeng.w@xxxxxxxxx>
Date: Wed, 8 Sep 2010 10:07:52 +0800
Delivery-date: Tue, 07 Sep 2010 19:08:56 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type; bh=VMzE/fXccemRU0lyx/4V/Eyi9s37XTLp9NCk7icIk/E=; b=VxT1V6ZnXv+jDiJmMHNiKuZiby7xvGCruptXFisnOlUKGPfu8ypYSVWxNDXfpt/WhF 6J6W0Cjq7+kiM35GkZxiYHqUIHu2P6HEh0NxpCAwhCB/kG434vpNlYxJTMmVY3wd6Mkv lrMHpI1c9eP4bZ8WsSNtYhe+Krh3tVdIi1iTo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=viDngrAg99QfVAYBau9fQokX2iRddR4Hpl2tiOweIDMyG3LefHKWhpRUVt+7zJXpGz rkbC1rId9Z4axhSaPk2iDeqeHxecy1QGyM53F2jQ9xB/AeXF6W4R2DKbfTclC0ZhjRpb cRq7TShgyl0Gtd4DbLKgsXMhsdp8z3OGrSPj0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
 
When I call "xm setpolicy ACM test" command, xen returns this error:
 
ACM policy type not supported
 
I checked the code in /usr/lib/python2.5/site-packages/xen/xm/setpolicy.py and found that the error message is poped at line 131
 
            # Non-Xen-API call.
            if xs_type != server.xend.security.get_xstype():
                raise security.XSMError("ACM policy type not supported.")

That means, at first, the server type is not "Xen-API", then function server.xend.security.get_xstype() returns 0.
 
If I call "xm getpolicy" command, xen told me that the supported policy type is "None".
 
My XEN version is 3.4.2,could anyone tell me why this error occured?

Thanks.
2010-09-08

Best wishes
Ruozeng W
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] ACM Policy Problem, 王若曾 <=