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 host

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. >>> api.list

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, 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 language setting (both on

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 mailto: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

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

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 > wrote: > > Hi Cao, > > Inside "_sort_request" function mentioned at the wiki, change the below > line > > self.params.append(key + '=' + urllib.quote_plus(args[key])) >

Re: updatecloudtouseobjectstore options

2015-08-28 Thread christian.kirmse
Hi Somesh, finally I got the api call working. This is what I used: updatecloudtouseobjectstore&name=Secondary&zoneId=&url=https://my.s3.storage&details[0].key=accesskey&details[0].value=XX&details[1].key=secretkey&details[1].value=XXX&details[2].key=bucket&details[2].value=secondary&deta

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 genera

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 > cloud-set-gue

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 [ma

RE: instance password management

2015-08-28 Thread STEENBLIK Jason
Thanks Erik. I am using cloud-init but not for password management. I'm still using the init script. -Original Message- From: Erik Weber [mailto:terbol...@gmail.com] Sent: 28 August 2015 14:29 To: users@cloudstack.apache.org Subject: Re: instance password management Could be this if yo

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 m

RE: instance password management

2015-08-28 Thread STEENBLIK Jason
You're entirely right. After thinking longer about your suggestion I gave cloud-init a closer look and it was polling the VR for the password. Thanks for the help. -Jason -Original Message- From: Erik Weber [mailto:terbol...@gmail.com] Sent: 28 August 2015 14:34 To: users@cloudstack.ap

Re: [ANNOUNCE] Apache CloudStack CloudMonkey 5.3.2

2015-08-28 Thread Carlos Reategui
On Wed, Aug 26, 2015 at 9:15 AM, ilya 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 out the way to get

RE: [ANNOUNCE] Apache CloudStack CloudMonkey 5.3.2

2015-08-28 Thread Paul Angus
Hey there, I exclusively use jq with CloudMonkey There a few options that I set for compatibility: export TERM=vt100 cloudmonkey set display json cloudmonkey set color false Here are a few examples: NETID=`cloudmonkey list virtualmachines listall=true name="$VMNAME" filter=name,nic | jq -r '.