I just figure out the error (templateid was not correct)

Log of mngt server : INFO  [cloud.api.ApiDispatcher]
(485313821@qtp-1574876663-5:) Installing from ISO requires a disk offering
to be specified for the root disk.

BTW : Could be helpful to have a more beautiful message than a HTTP 431
error ;-)


On Mon, Dec 10, 2012 at 10:38 PM, Charles Moulliard <ch0...@gmail.com>wrote:

> No more info in the cloudmonkey load file. Connection, port, apikey and
> secretkey are correct as I can issue others commands :
>
> 2012-12-10 22:29:47,500 - cloudmonkey.py:200 - [DEBUG] ====START
> Request====
> 2012-12-10 22:29:47,500 - cloudmonkey.py:201 - [DEBUG] Requesting
> command=listIsos, args={}
> 2012-12-10 22:29:48,176 - cloudstackConnection.py:78 - [DEBUG] sending GET
> request:
> apiKey=ThrEupPMcvuuERcDDm6MhfkQ9WYkpCNRlIS84c2XPALkxUG3InE_XAr-nfXgh-of1kl2bIk427jdy81EVvzSTQ&command=listIsos&response=json&signature=zuuqMVal32%2BvwAnVUTatDDfABnM%3D
> 2012-12-10 22:29:48,177 - cloudstackConnection.py:81 - [INFO] got
> response: { "listisosresponse" : { "count":2 ,"iso" : [
>  
> {"id":"b827bb35-e02b-4330-884f-b2aa5451d1e2","name":"CentOS-6.3","displaytext":"CentOS-6.3","ispublic":true,"created":"2012-12-03T21:44:01+0100","isready":true,"bootable":true,"isfeatured":false,"crossZones":true,"ostypeid":"b2d716f5-5bb5-46e0-aabf-0e0baf18fc14","ostypename":"Other
> 2.6x Linux
> (64-bit)","account":"admin","zoneid":"8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805","zonename":"DevCloud0","status":"Successfully
> Installed","size":346011648,"domain":"ROOT","domainid":"df2a5ee2-df6c-449d-8bfb-ca4adff024a1","isextractable":false,"checksum":"087713752fa88c03a5e8471c661ad1a2","tags":[]},
> {"id":"8e9693e7-47e8-4d01-b9c0-e63ac1bdc623","name":"xs-tools.iso","displaytext":"xen-pv-drv-iso","ispublic":true,"created":"2012-12-03T19:43:56+0100","isready":true,"passwordenabled":false,"bootable":false,"isfeatured":true,"crossZones":false,"account":"system","domain":"ROOT","domainid":"df2a5ee2-df6c-449d-8bfb-ca4adff024a1","isextractable":false,"tags":[]}
> ] } }
> 2012-12-10 22:29:48,188 - cloudmonkey.py:210 - [DEBUG] ====END Request====
>
> 2012-12-10 22:28:29,610 - cloudmonkey.py:200 - [DEBUG] ====START
> Request====
> 2012-12-10 22:28:29,611 - cloudmonkey.py:201 - [DEBUG] Requesting
> command=deployVirtualMachine, args={'templateid':
> 'b827bb35-e02b-4330-884f-b2aa5451d1e2', 'serviceofferingid':
> '763bc258-3d76-11e2-a57c-6446332c44d0', 'zoneid':
> '8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805'}
> 2012-12-10 22:28:30,115 - cloudstackConnection.py:88 - [CRITICAL] server
> returned 431 error code
> 2012-12-10 22:28:30,116 - cloudmonkey.py:210 - [DEBUG] ====END Request====
>
> On Mon, Dec 10, 2012 at 10:23 PM, Rohit Yadav <rohit.ya...@citrix.com>wrote:
>
>> tail -f ~/.cloudmonkey_log
>
>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>
>
>


-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com

Reply via email to