From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?gb2312?B?zfXI9NT4?=" Subject: ACM Policy Problem Date: Wed, 8 Sep 2010 10:07:52 +0800 Message-ID: <201009081007492941586@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1964871407==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============1964871407== Content-Type: multipart/alternative; boundary="=====003_Dragon762202048201_=====" This is a multi-part message in MIME format. --=====003_Dragon762202048201_===== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit 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 --=====003_Dragon762202048201_===== Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: 7bit
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
--=====003_Dragon762202048201_=====-- --===============1964871407== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1964871407==--