All of lore.kernel.org
 help / color / mirror / Atom feed
* ACM Policy Problem
@ 2010-09-08  2:07 王若曾
  0 siblings, 0 replies; only message in thread
From: 王若曾 @ 2010-09-08  2:07 UTC (permalink / raw)
  To: xen-devel@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 725 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1915 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-08  2:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-08  2:07 ACM Policy Problem 王若曾

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.