cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@citrix.com>
Subject Re: cloudmonkey : add a instance
Date Mon, 10 Dec 2012 21:23:43 GMT
Looks like some parameter error, can you check and make sure you've correct host (ip of your
mgmt server), port, apikey and secretkey config for cloudmonkey. You can try debugging cloudmonkey's
log: tail -f ~/.cloudmonkey_log (or any other path if you've changed the default logging file
path)

See what the error is trying to suggest, make sure you've deployed your zone, added hosts
etc.

Regards.

On 10-Dec-2012, at 12:16 PM, Charles Moulliard <ch007m@gmail.com> wrote:

> Rohit,
> 
> Here is the syntax used with lowercase and cloudmonkey 4.0.0
> 
> ☁ Apache CloudStack 🐵 cloudmonkey 4.0.0. Type help or ? to list commands.
> 
> mycloudmonkey> deploy virtualmachine
> account=             diskofferingid=      displayname=         domainid=
>         group=               hostid=              hypervisor=
> ipaddress=
> iptonetworklist=     isAsync=             keyboard=            keypair=
>        name=                networkids=          projectid=
> securitygroupids=
> securitygroupnames=  serviceofferingid=   size=                startvm=
>        templateid=          userdata=            zoneid=
> 
> mycloudmonkey> deploy virtualmachine
> serviceofferingid=763bc258-3d76-11e2-a57c-6446332c44d0
> zoneid=8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805
> templateid=b827bb35-e02b-4330-884f-b2aa5451d1e2
> HTTP Error 431: 431
> 
> Error 431 is there.
> 
> I will make a test with cloudmonkey 4.1.0-SNAPSHOT.
> 
> Regards,
> 
> Charles
> 
> 
> 
> On Mon, Dec 10, 2012 at 10:14 AM, Rohit Yadav <rohit.yadav@citrix.com>wrote:
> 
>> meh, just try autocompletion. It's deploy virtualmachine not camelcase
>> virtualMachine.
>> All args in cloudmonkey are lowercase, looks like someone forgot to read
>> the wiki.
>> 
>> Regard.
>> ________________________________________
>> From: Charles Moulliard [ch007m@gmail.com]
>> Sent: Sunday, December 09, 2012 2:54 PM
>> To: cloudstack-users@incubator.apache.org
>> Subject: Re: cloudmonkey : add a instance
>> 
>> fail too
>> 
>> mycloudmonkey> deploy virtualMachine
>> serviceofferingid=763bc258-3d76-11e2-a57c-6446332c44d0
>> zoneid=8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805
>> templateid=b827bb35-e02b-4330-884f-b2aa5
>> Error: invalid deploy api arg 'virtualMachine'
>> 
>> 
>> On Sun, Dec 9, 2012 at 10:17 AM, Charles Moulliard <ch007m@gmail.com>
>> wrote:
>> 
>>> Same error :
>>> 
>>> mycloudmonkey> api deployVirtualMachine
>>> serviceofferingid=763bc258-3d76-11e2-a57c-6446332c44d0
>>> zoneid=8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805
>>> templateid=b827bb35-e02b-4330-884f-b2aa5451d1e2
>>> HTTP Error 431: 431
>>> mycloudmonkey> deployVirtualMachine
>>> serviceofferingid=763bc258-3d76-11e2-a57c-6446332c44d0
>>> zoneid=8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805
>>> templateid=b827bb35-e02b-4330-884f-b2aa5451d1e2
>>> HTTP Error 431: 431
>>> 
>>> 
>>> On Sat, Dec 8, 2012 at 4:14 PM, Rohit Yadav <rohit.yadav@citrix.com
>>> wrote:
>>> 
>>>> key=value; syntax
>>>> 
>>>> mycoudmonkey> deploy   virtualmachine
>>>> templateid=b827bb35-e02b-4330-884f-b2aa5451d1e2
>>>> serviceofferingid=763bc258-3d76-11e2-a57c-6446332c44d0
>>>> zoneid=8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805
>>>> 
>>>> ________________________________________
>>>> From: Charles Moulliard [ch007m@gmail.com]
>>>> Sent: Saturday, December 08, 2012 2:43 PM
>>>> To: cloudstack-users@incubator.apache.org
>>>> Subject: Re: cloudmonkey : add a instance
>>>> 
>>>> I get an HTTP 431 error code as response :
>>>> 
>>>> mycloudmonkey> api deployVirtualMachine serviceofferingid
>>>> 763bc258-3d76-11e2-a57c-6446332c44d0 zoneid
>>>> 8213bb0f-5e56-4fcd-a1b5-9b85a2ef8805 templateid
>>>> b827bb35-e02b-4330-884f-b2aa5451d1e2
>>>> HTTP Error 431: 431
>>>> 
>>>> 
>>>> On Fri, Dec 7, 2012 at 11:25 PM, Rohit Yadav <rohit.yadav@citrix.com>
>>>> wrote:
>>>> 
>>>>> Get the following, find the suitable ids, you can even pipe 'em (like,
>>>> cmd
>>>>> args | grep ^id\ =)
>>>>> cloudmonkey>
>>>>> list serviceofferings
>>>>> list zones
>>>>> list templates templatefilter=all
>>>>> 
>>>>> then use 'em to deployvms;
>>>>>> deploy virtualmachine templateid= serviceofferingid= zoneid=
>>>>> 
>>>>> 
>>>>> On 07-Dec-2012, at 1:52 PM, Charles Moulliard <ch007m@gmail.com>
>> wrote:
>>>>> 
>>>>>> I have discovered what is serviceOffering but I don't see How to
>>>> create a
>>>>>> new VirtualMachine as templateId is mandatory but what about ISO
?
>>>>>> 
>>>>>> mycloudmonkey> api deployVirtualMachine
>>>>>> Missing arguments: templateid serviceofferingid zoneid
>>>>>> 
>>>>>> 
>>>>>> On Fri, Dec 7, 2012 at 10:24 PM, Charles Moulliard <
>> ch007m@gmail.com>
>>>>> wrote:
>>>>>> 
>>>>>>> Hi Rohit,
>>>>>>> 
>>>>>>> Help a lot and this is very appreciate. The command
>>>>> deployVirtualMachine
>>>>>>> requires a templateId but what about choosing a ISO file ? What
>>>>>>> serviceOffering stands for (= disk Offering) ?
>>>>>>> 
>>>>>>> Regards,
>>>>>>> 
>>>>>>> Charles
>>>>>>> 
>>>>>>> On Fri, Dec 7, 2012 at 7:37 PM, Rohit Yadav <
>> rohit.yadav@citrix.com
>>>>>> wrote:
>>>>>>> 
>>>>>>>> deployVirtualMachine
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> 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
>>>>> 
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> 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
>>> 
>>> 
>>> 
>> 
>> 
>> --
>> 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

Mime
View raw message