Hi Michael,
I installed the cli rpms and connected to the engine. But the "create host"
keeps giving errors and I have no clue why:
[oVirt shell (connected)]# create host --address '10.10.62.106' --cluster-id
'default' --name 'xxx' --root_password 'yyy'
error: incomplete command
From the help menu, the rest are optional. So why is this error?
You have examples creating vm and datacenter. Can you add some how to create hosts?
- David
________________________________________
From: Michael Pasternak [mpastern(a)redhat.com]
Sent: Saturday, March 03, 2012 11:14 PM
To: Li, David
Cc: users(a)ovirt.org
Subject: Re: [Users] new wiki for ovirt-engine-cli
On 03/02/2012 05:02 PM, Li, David wrote:
I see the Feb 19 SDK dn CLI tar balls.
those aren't latest, you should wait for the next drop or build new ones by yourself
(see how in wiki)
I already have an engine up and running. Do I need to install both
SDK and CLI to use the cli?
yes
Any wiki pages about installation instructions?
http://www.ovirt.org/wiki/SDK#Deployment
http://www.ovirt.org/wiki/CLI#Deployment
- David
________________________________________
From: Michael Pasternak [mpastern(a)redhat.com]
Sent: Thursday, March 01, 2012 7:42 AM
To: Itamar Heim
Cc: Li, David; users(a)ovirt.org
Subject: Re: [Users] new wiki for ovirt-engine-cli
On 03/01/2012 05:09 PM, Itamar Heim wrote:
> On 03/01/2012 05:06 PM, Li, David wrote:
>> Hi Michael,
>>
>> Thanks for the info. Now on to more questions:)
>>
>> 1. Do you have a link where to get the ovirt-engine-cli rpm or tar ball?
http://www.ovirt.org/releases/
i see that ovirt-engine-cli-2.0-3 is yet not available in nightly repo,
will ask to upload it,
also don't forget that you need latest ovirt-engine to use it
>> 2. I guess my real question is if the cli package can replace the engine GUI.
This is necessary if I don't want to use the GUI but integrate the engine management
>> functionalities with my own code. I don't know in this case if I should
directly use the SDK or script the CLI cmds. Any suggestions?
>
> for coding (in python), SDK sounds the right integration level.
> if you want to code in a different language, worth discussing.
sdk is the right tool for integration, see
http://www.ovirt.org/wiki/SDK
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
--
Michael Pasternak
RedHat, ENG-Virtualization R&D