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]))
>
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
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 :
>
>
> My scripts is just from cloudstack website
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Simple+class+for+making+API+calls%
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
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
??
cloudstack4.5Centos6.5??KVM
??
??
org.libvirt.LibvirtException: internal error Process exited while reading
console log output: Sup