[Users] Fwd: ovirt cli commands / script wont exit the shell
Alex Leonhardt
alex.tuxx at gmail.com
Mon Oct 8 21:17:10 UTC 2012
Aha - cool - thanks! :)
Now, I was also looking at the REST API - is there a simple shell based
way to read / query the resulting XML ? Or would you suggest to write
python scripts to e.g. start/stop instance, get a list of VMs / their
IDs, etc. ?
I'm not a great programmer so rather look for something already existing
rather than me fiddling for a comparable looong time ;)
Alex
On 10/07/2012 11:31 AM, Michael Pasternak wrote:
> Hi Alex,
>
> This is a bug [1], fix available in 3.2.0.1, latest available cli version
> is 3.2.0.5.
>
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=850597
>
>> -------- Original Message --------
>> Subject: [Users] ovirt cli commands / script wont exit the shell
>> Date: Sat, 06 Oct 2012 20:44:44 +0100
>> From: Alex Leonhardt<alex.tuxx at gmail.com>
>> To: users at ovirt.org
>>
>>
>>
>> hi there,
>>
>> i'm playing with the Ovirt CLI and started to script a few things, but
>> it seems as if the console stays connected when I execute the commands -
>> I even included a "exit" and tried "disconnect", but nothing would do it
>> - any hints / clues ?
>>
>> the script is very simple :
>>
>> ---
>> action vm vm2 start
>> exit
>> ---
>>
>> or
>>
>> ---
>> action vm vm1 stop
>> disconnect
>> exit
>> ---
>>
>> I always end up back here :
>>
>> ###
>>
>> ==========================================
>> >>> connected to oVirt manager 3.1.0.0<<<
>> ==========================================
>>
>> [oVirt shell (connected)]# action vm vm2 start
>>
>>
>> status-state: complete
>>
>> [oVirt shell (connected)]# exit
>>
>> [oVirt shell (connected)]#
>>
>> ###
>>
>> Thanks
>> Alex
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20121008/a5bb90df/attachment-0001.html>
More information about the Users
mailing list