Re: deployVirtualMachine fails

2013-10-09 Thread Valery Ciareszka
Nitin, I've filed it: https://issues.apache.org/jira/browse/CLOUDSTACK-4838 On Tue, Oct 8, 2013 at 8:32 PM, Nitin Mehta wrote: > Valery - Can you please file a bug for a better message. > You are calling as a system user (port 8096) but for the account vdc3880 > and so the system checks whethe

Re: deployVirtualMachine fails

2013-10-08 Thread Nitin Mehta
Valery - Can you please file a bug for a better message. You are calling as a system user (port 8096) but for the account vdc3880 and so the system checks whether this account can access this template, network etc. On 08/10/13 10:20 AM, "Valery Ciareszka" wrote: >Finally I've found the problem

Re: deployVirtualMachine fails

2013-10-08 Thread Valery Ciareszka
Finally I've found the problem in ./server/src/com/cloud/vm/UserVmManagerImpl.java near _accountMgr.checkAccess(newAccount, null, true, templateOwner); The reason was that template was not public-enabled, therefore user account could not get access to non-public template. But I thin

deployVirtualMachine fails

2013-10-07 Thread Valery Ciareszka
Hi all. I'm trying to deploy virtual machines through api and management throws permission issues. This worked in 4.0/4.1, but now I see following: curl " http://localhost:8096/client/?command=deployVirtualMachine&serviceofferingid=2b45be75-0ec8-4683-91a0-d95414da310d&zoneid=4a5bc8e5-bab9-4f92-92