Commands.properties was deprecated a while ago, there may be a number of APIs 
that aren't included in it.
Your best bet is to read the section in the documentation on dynamic roles 
which explains how to migrate and recreate the default APIs

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.11/accounts.html#using-dynamic-roles

[email protected] 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-----Original Message-----
From: li li <[email protected]> 
Sent: 14 July 2018 01:38
To: [email protected]
Subject: 答复: 4.10 upgrade 4.11 cannot create Network Offering

Thanks Rafael Weingärtner,

I used commands.properties. I just found that listRegisteredServicePackages is 
not in the configuration list. I added it and restarted cloudstack-management.



________________________________
发件人: Rafael Weingärtner <[email protected]>
发送时间: Saturday, July 14, 2018 12:23:46 AM
收件人: users
主题: Re: 4.10 upgrade 4.11 cannot create Network Offering

Are you using commands.properties or RBAC?

It seems that there is an API method " listRegisteredServicePackages " that is 
not properly configured.

On Fri, Jul 13, 2018 at 1:03 PM, li li <[email protected]> wrote:

> Hello All
>        my cloudstack was upgraded from 4.10 to 4.11, I was unable to 
> create Network Offerings, and after clicking "Network Offerings" I was 
> prompted for "Session Expired"; Management log tips are as follows
>
> 2018-07-13 23:50:57,802 DEBUG [c.c.a.ApiServlet]
> (qtp510113906-17:ctx-455ad1a0) (logid:e7d8b32b) ===START===  
> 10.225.0.29 -- GET  command=listRegisteredServicePackages&response=xml
> 2018-07-13 23:50:57,806 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) CIDRs 
> from which account 'Acct[d73b4eb6-51d4-11e8-8819-0a9181906790-admin]' 
> is allowed to perform API calls: 0.0.0.0/0,::/0
> 2018-07-13 23:50:57,807 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) The given 
> command 'listRegisteredServicePackages' either does not exist, is not 
> available for user, or not available from ip address '/10.225.0.29'.
>



--
Rafael Weingärtner

Reply via email to