Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread tony_caotong
Thanks for all your people's replys. 1. Abhinandan, My ACS manager was not listening on port '8096', 2. As Yipeng said, When I call this api from cloudmonkey, it works fine, like this cloudmonkey api listEvents listall=true startdate='2015-08-28 00:00:00' When I call it

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Abhinandan Prateek
apikey/signature should work and they have same privileges as the respective user logged in. Are all the api calls failing or just some ? Can you share relevant portion of the scripts that you are trying to run ? On 28-Aug-2015, at 11:31 am, tony_caot...@163.com wrote: Thanks for all your

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Abhinandan Prateek
apikey/signature should work and they have same privileges as the respective user logged in. Are all the api calls failing or just some ? Can you share relevant portion of the scripts that you are trying to run ? On 28-Aug-2015, at 11:31 am, tony_caot...@163.com wrote: Thanks for all your

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread tony_caotong
Thanks for all your people's replys. 1. Abhinandan, My ACS manager was not listening on port '8096', 2. As Yipeng said, When I call this api from cloudmonkey, it works fine, like this cloudmonkey api listEvents listall=true startdate='2015-08-28 00:00:00' When I call it

AW: Deployment failed on XenServer due to capacity miscalculation

2015-08-28 Thread Martin Emrich
Hi! Manually migrating VMs to the free host works (as long as I migrate at most two at once, I guess that the data moving between the local storages produces too much load otherwise). I also can deploy a VM on a specific host via CloudMonkey, but I'd love to see cloudstack choose a fitting

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Daan Hoogland
On Fri, Aug 28, 2015 at 10:40 AM, tony_caot...@163.com wrote: 2015-08-28+16%3A20%3A00 ​very convincing , Coa Tong. Something is wrong in the calculation of the signature on this string. It seems to work for other people so can you provide environmental data: os version cloustack version

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Abhinandan Prateek
Good catch Santhosh ! I had similar issue passing a space in ‘account name’. On 28-Aug-2015, at 2:51 pm, Santhosh Edukulla santhosh.eduku...@gmail.com wrote: Hi Cao, Inside _sort_request function mentioned at the wiki, change the below line self.params.append(key + '=' +

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread tony_caotong
My scripts is just from cloudstack website https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%2C+Python and I just do some testing like this: 1. from SignedAPICall import api 2. api.listEvents(listall='true', startdate='2015-08-28') 3.

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Wei ZHOU
Can you try this script? https://gist.github.com/swill/1468908/7874b32f421ea5dd7a9d876b270c78bc3a7dd878#file-cs_api_keys-py 2015-08-28 10:40 GMT+02:00 tony_caot...@163.com: My scripts is just from cloudstack website

Re: [ANNOUNCE] Apache CloudStack CloudMonkey 5.3.2

2015-08-28 Thread Rohit Yadav
Hi Ilya, On 26-Aug-2015, at 9:45 pm, ilya ilya.mailing.li...@gmail.commailto:ilya.mailing.li...@gmail.com wrote: Hi Rohit Thanks for doing great job in maitaining CloudMonkey. I'm curious, is there any way I can filter on json sub-block? For example, list virtualmachines id=123

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread tony_caotong
My scripts is just from cloudstack website https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%2C+Python and I just do some testing like this: 1. from SignedAPICall import api 2. api.listEvents(listall='true', startdate='2015-08-28') 3.

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Santhosh Edukulla
Hi Cao, Inside _sort_request function mentioned at the wiki, change the below line self.params.append(key + '=' + urllib.quote_plus(args[key])) to self.params.append( key + '=' + str.lower(urllib.quote_plus(args[key])). *replace(**+, %20) *) The time stamp parameter 2015-08-28 16:20:00 , you

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Santhosh Edukulla
Hi Cao, Inside _sort_request function mentioned at the wiki, change the below line self.params.append(key + '=' + urllib.quote_plus(args[key])) to self.params.append( key + '=' + str.lower(urllib.quote_plus(args[key])). *replace(**+, %20) *) The time stamp parameter 2015-08-28 16:20:00 , you

Re: How does the parameter startdate/enddate of api listEvents() use new time format like 'yyyy-MM-dd HH:mm:ss' ?

2015-08-28 Thread Daan Hoogland
On Fri, Aug 28, 2015 at 10:40 AM, tony_caot...@163.com wrote: 2015-08-28+16%3A20%3A00 ​very convincing , Coa Tong. Something is wrong in the calculation of the signature on this string. It seems to work for other people so can you provide environmental data: os version cloustack version

Re: instance password management

2015-08-28 Thread Erik Weber
Could be this if you have cloud-init installed: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1440263 -- Erik On Fri, Aug 28, 2015 at 2:23 PM, STEENBLIK Jason jason.steenb...@leonteq.com wrote: Hello, I have a template with password management enabled and the

Re: instance password management

2015-08-28 Thread Erik Weber
cloud-init could still be querying the password-server. tail the log on the VR during VM startup and you'll see how many times it's queried. -- Erik On Fri, Aug 28, 2015 at 2:32 PM, STEENBLIK Jason jason.steenb...@leonteq.com wrote: Thanks Erik. I am using cloud-init but not for password

Re: updatecloudtouseobjectstore options

2015-08-28 Thread christian.kirmse
Hi Somesh, finally I got the api call working. This is what I used:

instance password management

2015-08-28 Thread STEENBLIK Jason
Hello, I have a template with password management enabled and the cloud-set-guest-password properly setup. It all seems to work however it only works once at deployment. Is that the way it's supposed to work? Should I be able to change the password again and again or is this meant just to

RE: instance password management

2015-08-28 Thread Vadim Kimlaychuk
Hello Jaso, If I remember correctly - you can reset password when instance is not running. Then you need to switch VM on and during start-up, script will get password from VR. You can do this cycle as many times as you want. Vadim. -Original Message- From: STEENBLIK Jason

Re: [ANNOUNCE] Apache CloudStack CloudMonkey 5.3.2

2015-08-28 Thread Carlos Reategui
On Wed, Aug 26, 2015 at 9:15 AM, ilya ilya.mailing.li...@gmail.com wrote: Hi Rohit Thanks for doing great job in maitaining CloudMonkey. I'm curious, is there any way I can filter on json sub-block? For example, list virtualmachines id=123 filter=name,nic[ipaddress] I cant seem to figure