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