cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <>
Subject RE: API deploy virtualmachine failed with custom offering
Date Wed, 23 Mar 2016 14:28:24 GMT
Hi Martin,

The details argument for this API is a map, CloudMonkey simply wraps given arguments and creates
a HTTP request so for maps it's always been a syntax like map[0].key=value. The usage of maps
has been documented here:

This has not changed since 4.1/4.2. You may also debug by tailing cloudmonkey logs if you
get further issues: tail -f ~/.cloudmonkey/log

Though I think it's a good idea to automatically add this weird syntax so users can pass maps
directly as map.key=value (your syntax). I'll see what I can do to fix this :)



Rohit Yadav
53 Chandos Place, Covent Garden, London  WC2N 4HSUK

-----Original Message-----
From: Martin Emrich [] 
Sent: Wednesday, March 23, 2016 2:50 PM
Subject: API deploy virtualmachine failed with custom offering


I try to deploy a virtual machine with a custom offering via the API. But I get "401 unable
to verify user credentials and/or request signature".
First I thought my signing code is wonky (although it worked fine for over a year now)...
But if I use cloudmonkey I get the same:

(local) > deploy virtualmachine zoneid=e99e796c-4e5c-4549-a0d7-ddd3d8526c06 domainid=5b6fbb96-db68-11e3-86e7-0030487e0d0c
name=martin1 serviceofferingid=d16eb08f-ad36-496e-a7bd-b5e43f104ce6 details.cpuSpeed=1000
details.Memory=1024MB details.cpuNumber=2 networkids=0ba76ecd-39cf-403e-bbf7-68e4c44e43ac
Error 401 Authentication error
errorcode = 401
errortext = unable to verify user credentials and/or request signature
(local) >

It only happens when I specify the details[0] values, so maybe there's something wrong regarding
the square braces []?

I use ACS 4.8.0, and I remember that it worked some time ago with 4.4.3.

Thanks for any hints!



View raw message