[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] ACM Policy Problem


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "王若曾" <ruozeng.w@xxxxxxxxx>
  • Date: Wed, 8 Sep 2010 10:07:52 +0800
  • Delivery-date: Tue, 07 Sep 2010 19:08:56 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.