Re: API call using cloudstack Python client

2014-04-07 Thread Anoop Mohan
This is fixed by giving the ProjectID in listvirtualMachine API call. Thanks Abhishek On Mon, Apr 7, 2014 at 10:02 PM, Anoop Mohan wrote: > Tried > > vms = cloudstack.listVirtualMachines({'listall': 'true'}) > > > Log Snippet > > 2014-04-07 21:59:20,417 DEBUG [c.c.a.ApiServlet] > (catalina-exe

Re: API call using cloudstack Python client

2014-04-07 Thread Anoop Mohan
Tried vms = cloudstack.listVirtualMachines({'listall': 'true'}) Log Snippet 2014-04-07 21:59:20,417 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-a8dc5314) ===START=== 10.10.32.64 -- GET apikey=g9I2-EKFEgiT72CtmlHl2dLyX5ovB0LxJFtA6BS-5J3gE6I6dG2HAziyCgJzGrK2aHm4xQpFjuNdYvcaQ6vMlg&command=list

Re: API call using cloudstack Python client

2014-04-07 Thread Anoop Mohan
I'm using vms = cloudstack.listVirtualMachines() in my python script how can add ListAll here? Thanks On Mon, Apr 7, 2014 at 9:23 PM, abhisek basu wrote: > Can you please add listAll=true and check output? > > Sent from my iPhone > > > On 7 Apr 2014, at 9:05 pm, "Anoop Mohan" wrote: > > > >

Re: API call using cloudstack Python client

2014-04-07 Thread abhisek basu
Can you please add listAll=true and check output? Sent from my iPhone > On 7 Apr 2014, at 9:05 pm, "Anoop Mohan" wrote: > > I'm trying to listVMs under Accounts.But not getting any output. > > > getting Respone in the API and Cloud log > > 2014-04-07 20:52:44,988 INFO [a.c.c.a.ApiServer] >

API call using cloudstack Python client

2014-04-07 Thread Anoop Mohan
I'm trying to listVMs under Accounts.But not getting any output. getting Respone in the API and Cloud log 2014-04-07 20:52:44,988 INFO [a.c.c.a.ApiServer] (catalina-exec-12:ctx-eae598aa ctx-f6e5dc52 ctx-c69fe6b5) (userId=4 accountId=4 sessionId=null) 192.168.124 -- GET apikey=g9I2-EKFEgiT72Ctml