[ovirt-users] ovirt-shell SSL Error

2020-11-17 Thread FRIES, Dirk, SHS Informatik via Users
Hello there, I am trying to connect via ovirt-shell to my ovirt manager. To do this I've downloaded the CA File (https://127.0.0.1/ovirt-engine/services/pki-resource?resource=ca-certificate=X509-PEM-CA) to /tmp and set up my config in .ovirtshellrc : [cli] autoconnect = True autopage = True

Re: [ovirt-users] ovirt-shell backup

2017-03-23 Thread Juan Hernández
On 03/23/2017 02:40 PM, Marcin Kruk wrote: > Hello is it possible to execute below actions from the ovirth-shell: > 1. Make snapshot > ( ovirt-shell -E 'add snapshot --parent-vm-name --description > ) > 2. Make clone from snaphot above > ( ? ) > 3. Export clone > ( ? ) > The ovirt-shell tools

[ovirt-users] ovirt-shell backup

2017-03-23 Thread Marcin Kruk
Hello is it possible to execute below actions from the ovirth-shell: 1. Make snapshot ( ovirt-shell -E 'add snapshot --parent-vm-name --description ) 2. Make clone from snaphot above ( ? ) 3. Export clone ( ? ) ___ Users mailing list Users@ovirt.org

Re: [ovirt-users] ovirt-shell -- cannot even get started

2017-03-16 Thread Juan Hernández
On 03/16/2017 09:48 PM, Phil Meyer wrote: > This is either some very obscure syntax, or it may not be working. > > Difficult to tell, since the error message seems to be generic: > > ... > > ERROR > = >

[ovirt-users] ovirt-shell -- cannot even get started

2017-03-16 Thread Phil Meyer
This is either some very obscure syntax, or it may not be working. Difficult to tell, since the error message seems to be generic: ... ERROR = "https://engine-tst/ovirt-engine/api; is invalid url format, valid format is

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2017-02-02 Thread Nathanaël Blanchet
Hi I managed to create my dhcp hostnic thanks to the python script, but the same with ovirt-shell: * [oVirt shell (connected) # add networkattachment --parent-host-name taal --network-name brv106 --host_nic-name enp2s0f0 => OK but I didn't find any way to add boot protocol to DHCP *

Re: [ovirt-users] ovirt-shell show vm doesn't show all vm properties

2016-10-11 Thread Nathanaël Blanchet
It works like a charm thanks Le 11/10/2016 à 17:58, Juan Hernández a écrit : On 10/11/2016 03:47 PM, Nathanaël Blanchet wrote: Hi, since ovirt 4.0, I can't use "--all_content" combined with "show vm" anymore. The option si still available with the key tab, but when applying, ovirt-shell

Re: [ovirt-users] ovirt-shell show vm doesn't show all vm properties

2016-10-11 Thread Juan Hernández
On 10/11/2016 03:47 PM, Nathanaël Blanchet wrote: > Hi, > > since ovirt 4.0, I can't use "--all_content" combined with "show vm" > anymore. The option si still available with the key tab, but when > applying, ovirt-shell complains : option "--all_content" is not supported. > > I wrote some

Re: [ovirt-users] ovirt-shell show vm doesn't show all vm properties

2016-10-11 Thread Nathanaël Blanchet
Hi, since ovirt 4.0, I can't use "--all_content" combined with "show vm" anymore. The option si still available with the key tab, but when applying, ovirt-shell complains : option "--all_content" is not supported. I wrote some script using the console-enabled option, how can I retrieve

Re: [ovirt-users] oVirt-shell command to move a disk

2016-07-13 Thread Juan Hernández
On 07/13/2016 10:30 AM, Jure Kranjc wrote: > On 01. 12. 2014 14:40, Nicolas Ecarnot wrote: >> Le 01/12/2014 13:23, Juan Hernández a écrit : >>> On 12/01/2014 12:51 PM, Michael Pasternak wrote: not sure what sdk version 3.4.4 is, but according to log, latest official for 3.4 is 3.4.1.1-1

Re: [ovirt-users] oVirt-shell command to move a disk

2016-07-13 Thread Jure Kranjc
On 01. 12. 2014 14:40, Nicolas Ecarnot wrote: Le 01/12/2014 13:23, Juan Hernández a écrit : On 12/01/2014 12:51 PM, Michael Pasternak wrote: not sure what sdk version 3.4.4 is, but according to log, latest official for 3.4 is 3.4.1.1-1 (make you have it installed) There are two issues here.

Re: [ovirt-users] ovirt-shell compatible with version 4?

2016-07-03 Thread Yaniv Dary
Can you file a bug on this? Yaniv Dary Technical Product Manager Red Hat Israel Ltd. 34 Jerusalem Road Building A, 4th floor Ra'anana, Israel 4350109 Tel : +972 (9) 7692306 8272306 Email: yd...@redhat.com IRC : ydary On Sat, Jul 2, 2016 at 11:58 PM, Gregor Binder

Re: [ovirt-users] ovirt-shell compatible with version 4?

2016-07-02 Thread Gregor Binder
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 UPDATE: after deleting ~/.ovirtshellrc a connection to the engine is possible. - -- GPG-Key: 67F1534F URL: http://pgp.mit.edu:11371/pks/lookup?op=get=0x137FB29D67F1534 F On 02/07/16 22:19, gregor wrote: > Hi, > > after upgrading to oVirt 4.* the

[ovirt-users] ovirt-shell compatible with version 4?

2016-07-02 Thread gregor
Hi, after upgrading to oVirt 4.* the ovirt-shell won't connect. That's the installed version: ovirt-engine-cli-3.6.2.0-1.el7.centos.noarch Should this version work with the latest engine, this came from repo ovirt-4.0 ? Can't find ovirt-engine-cli-4.* in the repos. cheers gregor

Re: [ovirt-users] ovirt-shell show vm doesn't show all vm properties

2016-04-22 Thread Nathanaël Blanchet
Thanks, exactly what I need! However, I found the --all_content as an argument of "show vm" but when I tried it nothing more happened. Nothing could tell me at this moment that "true" was expected. It should me more intuitive... Le 22/04/2016 11:39, Juan Hernández a écrit : On 04/22/2016

Re: [ovirt-users] ovirt-shell show vm doesn't show all vm properties

2016-04-22 Thread Juan Hernández
On 04/22/2016 10:14 AM, Nathanaël Blanchet wrote: > Hi all, > > I'd like to find any vms with some defined properties like > (console-enabled or serial_number-policy for example) with ovirt-shell > -E "show vm name", but I can't find all information that I can get with > edit vm popupin the

[ovirt-users] ovirt-shell show vm doesn't show all vm properties

2016-04-22 Thread Nathanaël Blanchet
Hi all, I'd like to find any vms with some defined properties like (console-enabled or serial_number-policy for example) with ovirt-shell -E "show vm name", but I can't find all information that I can get with edit vm popupin the UI. I belevied these kind of properties were unvailable because

Re: [ovirt-users] ovirt-shell issue

2016-04-07 Thread Juan Hernández
On 04/06/2016 07:28 PM, Nathanaël Blanchet wrote: > Hello, > in an interactive shell, I can successfully execute such a command: > add network --name brv13 --vlan-id 13 --datacenter-identifier Cines > --description A_FORM > but the same as an argument of ovirt-shell, > # ovirt-shell -E "add

[ovirt-users] ovirt-shell issue

2016-04-06 Thread Nathanaël Blanchet
Hello, in an interactive shell, I can successfully execute such a command: add network --name brv13 --vlan-id 13 --datacenter-identifier Cines --description A_FORM but the same as an argument of ovirt-shell, # ovirt-shell -E "add network --name brv13 --vlan-id 13 --datacenter-identifier Cines

Re: [ovirt-users] ovirt-shell : Smart way to run a cmd WHEN another is finished?

2016-04-01 Thread Juan Hernández
On 04/01/2016 09:40 AM, Nicolas Ecarnot wrote: > Hello, > > I'd like to night-batch series of actions through some ovirt-shell scripts. > Amongst those actions, some are taking a very long time and are treated > asynchronously by oVirt. (That may be exports, imports, snapshots, boot, >

[ovirt-users] ovirt-shell : Smart way to run a cmd WHEN another is finished?

2016-04-01 Thread Nicolas Ecarnot
Hello, I'd like to night-batch series of actions through some ovirt-shell scripts. Amongst those actions, some are taking a very long time and are treated asynchronously by oVirt. (That may be exports, imports, snapshots, boot, shutdown...) Thus, after having send that long command, I've to

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-20 Thread Bloemen , Jurriën
On 15-01-16 12:20, Juan Hernández wrote: > On 01/14/2016 01:28 PM, Bloemen, Jurriën wrote: >>> On 14-01-16 12:16, Juan Hernández wrote: On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: > Hi, > > First I created a bonding interface: > > # add nic --parent-host-name server01

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-20 Thread Juan Hernández
On 01/20/2016 11:31 AM, Bloemen, Jurriën wrote: > On 15-01-16 12:20, Juan Hernández wrote: >> On 01/14/2016 01:28 PM, Bloemen, Jurriën wrote: On 14-01-16 12:16, Juan Hernández wrote: > On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: >> Hi, >> >> First I created a bonding

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-20 Thread Bloemen , Jurriën
On 20-01-16 12:24, Juan Hernández wrote: > On 01/20/2016 11:31 AM, Bloemen, Jurriën wrote: >> On 15-01-16 12:20, Juan Hernández wrote: >>> On 01/14/2016 01:28 PM, Bloemen, Jurriën wrote: > On 14-01-16 12:16, Juan Hernández wrote: >> On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: >>>

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-20 Thread Juan Hernández
On 01/20/2016 02:03 PM, Bloemen, Jurriën wrote: > > On 20-01-16 12:24, Juan Hernández wrote: >> On 01/20/2016 11:31 AM, Bloemen, Jurriën wrote: >>> On 15-01-16 12:20, Juan Hernández wrote: On 01/14/2016 01:28 PM, Bloemen, Jurriën wrote: >> On 14-01-16 12:16, Juan Hernández wrote: >>>

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-15 Thread Bloemen , Jurriën
On 15-01-16 12:20, Juan Hernández wrote: On 01/14/2016 01:28 PM, Bloemen, Jurriën wrote: On 14-01-16 12:16, Juan Hernández wrote: On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: Hi, First I created a bonding interface: # add nic --parent-host-name server01 --name bond0 --network-name

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-15 Thread Juan Hernández
On 01/14/2016 01:28 PM, Bloemen, Jurriën wrote: >> >> On 14-01-16 12:16, Juan Hernández wrote: >>> On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: Hi, First I created a bonding interface: # add nic --parent-host-name server01 --name bond0 --network-name VLAN602

[ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-14 Thread Bloemen , Jurriën
Hi, First I created a bonding interface: # add nic --parent-host-name server01 --name bond0 --network-name VLAN602 --bonding-slaves-host_nic host_nic.name=eno1 --bonding-slaves-host_nic host_nic.name=eno2 This works great but no IP is set on VLAN602. Then I'm trying to add an ip address to a

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-14 Thread Juan Hernández
On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: > Hi, > > First I created a bonding interface: > > # add nic --parent-host-name server01 --name bond0 --network-name > VLAN602 --bonding-slaves-host_nic host_nic.name=eno1 > --bonding-slaves-host_nic host_nic.name=eno2 > > This works great but no

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-14 Thread Bloemen , Jurriën
On 14-01-16 12:16, Juan Hernández wrote: On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: Hi, First I created a bonding interface: # add nic --parent-host-name server01 --name bond0 --network-name VLAN602 --bonding-slaves-host_nic host_nic.name=eno1 --bonding-slaves-host_nic

Re: [ovirt-users] [ovirt-shell] update hostnic/nic ???

2016-01-14 Thread Bloemen , Jurriën
On 14-01-16 12:16, Juan Hernández wrote: On 01/14/2016 11:24 AM, Bloemen, Jurriën wrote: Hi, First I created a bonding interface: # add nic --parent-host-name server01 --name bond0 --network-name VLAN602 --bonding-slaves-host_nic host_nic.name=eno1 --bonding-slaves-host_nic

Re: [ovirt-users] ovirt-shell - Polling or also events?

2015-11-10 Thread Juan Hernández
On 11/10/2015 04:22 PM, Fabian Deutsch wrote: > On Tue, Nov 10, 2015 at 1:03 PM, Juan Hernández wrote: >> On 11/09/2015 08:53 AM, Fabian Deutsch wrote: >>> Hey, >>> >>> does somebody know if ovirt-shell can also wait (block) for properties >>> of an object to change, i.e.:

Re: [ovirt-users] ovirt-shell - Polling or also events?

2015-11-10 Thread Juan Hernández
On 11/09/2015 08:53 AM, Fabian Deutsch wrote: > Hey, > > does somebody know if ovirt-shell can also wait (block) for properties > of an object to change, i.e.: > > ovirt-shell wait --query "status-state=installed" > > - fabian > No, ovirt-shell can't wait, and it is very unlikely that we

[ovirt-users] ovirt-shell - Polling or also events?

2015-11-08 Thread Fabian Deutsch
Hey, does somebody know if ovirt-shell can also wait (block) for properties of an object to change, i.e.: ovirt-shell wait --query "status-state=installed" - fabian ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Re: [ovirt-users] ovirt-shell login problems

2015-10-30 Thread Jiri Belka
> i'm trying to connect to the engine using ovirt-shell, but i get [SSL: > UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590). > Here is the command i use: > ovirt-shell -c --url " https://192.168.0.101:80/ovirt-engine/api " --user > "admin@internal" -A ovirt_ca.pem > > And the debugging mode with

Re: [ovirt-users] ovirt-shell login problems

2015-10-30 Thread Raz Tamir
You ae trying to login to https with protocol 80 which is http. Just try http://... Hope that helps On Oct 28, 2015 18:38, "Susinthiran Sithamparanathan" wrote: > Hi, > i'm trying to connect to the engine using ovirt-shell, but i get [SSL: > UNKNOWN_PROTOCOL] unknown

Re: [ovirt-users] ovirt-shell login problems

2015-10-30 Thread Raz Tamir
Sorry, port 80 used by http On Oct 30, 2015 19:57, "Raz Tamir" wrote: > You ae trying to login to https with protocol 80 which is http. > Just try http://... > Hope that helps > On Oct 28, 2015 18:38, "Susinthiran Sithamparanathan" > wrote: > >> Hi, >>

[ovirt-users] ovirt-shell login problems

2015-10-28 Thread Susinthiran Sithamparanathan
Hi, i'm trying to connect to the engine using ovirt-shell, but i get [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:590). Here is the command i use: ovirt-shell -c --url "https://192.168.0.101:80/ovirt-engine/api; --user "admin@internal" -A ovirt_ca.pem And the debugging mode with -d doesn't

[ovirt-users] ovirt shell on mac OS ?

2015-08-20 Thread Fabrice Bacchella
I'm trying to install ovirt-shell on my mac, as explained in http://www.ovirt.org/CLI#pypi , but if fails : $ virtualenv-2.7 ovirt New python executable in ovirt/bin/python Installing setuptools, pip, wheel...done. $ ./ovirt/bin/easy_install ovirt-shell Searching for ovirt-shell Reading

[ovirt-users] ovirt-shell and PAGER

2015-08-20 Thread Fabrice Bacchella
ovirt shell uses PAGER for all output, even single line one. I was using PAGER=less, it made it barely usable. That's strange any way for a interactive shell. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Re: [ovirt-users] ovirt-shell and PAGER

2015-08-20 Thread Juan Hernández
On 08/20/2015 01:17 PM, Fabrice Bacchella wrote: ovirt shell uses PAGER for all output, even single line one. I was using PAGER=less, it made it barely usable. That's strange any way for a interactive shell. I have created the following bug to track this issue:

Re: [ovirt-users] ovirt shell on mac OS ?

2015-08-20 Thread Juan Hernández
On 08/20/2015 01:00 PM, Fabrice Bacchella wrote: I'm trying to install ovirt-shell on my mac, as explained in http://www.ovirt.org/CLI#pypi , but if fails : $ virtualenv-2.7 ovirt New python executable in ovirt/bin/python Installing setuptools, pip, wheel...done. $

Re: [ovirt-users] ovirt-shell and PAGER

2015-08-20 Thread Fabrice Bacchella
The PAGER bug is not related to mac os. I had the problem on a Centos 6. Le 20 août 2015 à 15:49, Juan Hernández jhern...@redhat.com a écrit : On 08/20/2015 01:17 PM, Fabrice Bacchella wrote: ovirt shell uses PAGER for all output, even single line one. I was using PAGER=less, it made it

Re: [ovirt-users] ovirt shell on mac OS ?

2015-08-20 Thread Fabrice Bacchella
Le 20 août 2015 à 16:03, Juan Hernández jhern...@redhat.com a écrit : This is related to the cli/platform/__init__.py, there we check what is the platform using the Python sys.platform variable. Currently we only check for linux2 and win32. I think that in Mac OS the value of sys.platform

Re: [ovirt-users] ovirt shell on mac OS ?

2015-08-20 Thread Juan Hernández
On 08/20/2015 04:32 PM, Fabrice Bacchella wrote: Le 20 août 2015 à 16:03, Juan Hernández jhern...@redhat.com a écrit : This is related to the cli/platform/__init__.py, there we check what is the platform using the Python sys.platform variable. Currently we only check for linux2 and win32.

Re: [ovirt-users] ovirt shell on mac OS ?

2015-08-20 Thread Juan Hernández
On 08/20/2015 04:01 PM, Juan Hernández wrote: On 08/20/2015 03:52 PM, Fabrice Bacchella wrote: Le 20 août 2015 à 15:50, Juan Hernández jhern...@redhat.com a écrit : On 08/20/2015 01:00 PM, Fabrice Bacchella wrote: I'm trying to install ovirt-shell on my mac, as explained in

Re: [ovirt-users] ovirt shell on mac OS ?

2015-08-20 Thread Fabrice Bacchella
Le 20 août 2015 à 15:50, Juan Hernández jhern...@redhat.com a écrit : On 08/20/2015 01:00 PM, Fabrice Bacchella wrote: I'm trying to install ovirt-shell on my mac, as explained in http://www.ovirt.org/CLI#pypi , but if fails : I have created the following bug to track this issue:

Re: [ovirt-users] ovirt-shell and PAGER

2015-08-20 Thread Juan Hernández
On 08/20/2015 01:17 PM, Fabrice Bacchella wrote: ovirt shell uses PAGER for all output, even single line one. I was using PAGER=less, it made it barely usable. That's strange any way for a interactive shell. I have created the following bug to track this issue:

Re: [ovirt-users] ovirt-shell and PAGER

2015-08-20 Thread Juan Hernández
On 08/20/2015 03:50 PM, Fabrice Bacchella wrote: The PAGER bug is not related to mac os. I had the problem on a Centos 6. I know, replied to the wrong message, sorry. Le 20 août 2015 à 15:49, Juan Hernández jhern...@redhat.com a écrit : On 08/20/2015 01:17 PM, Fabrice Bacchella wrote:

[ovirt-users] ovirt-shell : which default start mode?

2015-06-19 Thread Nicolas Ecarnot
Hi, Since long, I'm using some scripts to create VM, add some components and start them. My script is booting them in PXE. After an upgrade in 3.5.1, I'm witnessing that the default boot is now primarily using hard disk, and not PXE. Is there a way for the ovirt-shell to ask a boot via

Re: [ovirt-users] ovirt-shell for ubuntu

2015-04-15 Thread Nathanaël Blanchet
Hello, I tried the same for engine-iso-uploader, but pip doesn't seem to find it. Does it exist for ubuntu? Le 30/03/2015 16:58, Juan Hernández a écrit : On 03/30/2015 04:50 PM, Nathanaël Blanchet wrote: Hi all, Does an ovirt-shell-cli equivalent exist for debian/ubuntu client? knowing it

Re: [ovirt-users] ovirt-shell for ubuntu

2015-04-15 Thread Nathanaël Blanchet
sure, still with the good rights 36:36 Le 15/04/2015 11:43, Simone Tiraboschi a écrit : - Original Message - From: Nathanaël Blanchet blanc...@abes.fr To: Juan Hernández jhern...@redhat.com, users@ovirt.org Sent: Wednesday, April 15, 2015 11:32:53 AM Subject: Re: [ovirt-users] ovirt

Re: [ovirt-users] ovirt-shell for ubuntu

2015-04-15 Thread Sandro Bonazzola
Il 15/04/2015 11:38, Juan Hernández ha scritto: On 04/15/2015 11:32 AM, Nathanaël Blanchet wrote: Hello, I tried the same for engine-iso-uploader, but pip doesn't seem to find it. Does it exist for ubuntu? engine-iso-uploader is not released through pip so it's not out for debian/ubuntu.

Re: [ovirt-users] ovirt-shell for ubuntu

2015-04-15 Thread Juan Hernández
On 04/15/2015 11:32 AM, Nathanaël Blanchet wrote: Hello, I tried the same for engine-iso-uploader, but pip doesn't seem to find it. Does it exist for ubuntu? I don't have an answer for that. Sandro? Le 30/03/2015 16:58, Juan Hernández a écrit : On 03/30/2015 04:50 PM, Nathanaël

Re: [ovirt-users] ovirt-shell for ubuntu

2015-04-15 Thread Simone Tiraboschi
- Original Message - From: Nathanaël Blanchet blanc...@abes.fr To: Juan Hernández jhern...@redhat.com, users@ovirt.org Sent: Wednesday, April 15, 2015 11:32:53 AM Subject: Re: [ovirt-users] ovirt-shell for ubuntu Hello, I tried the same for engine-iso-uploader, but pip doesn't

Re: [ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Juan Hernández
On 03/30/2015 04:50 PM, Nathanaël Blanchet wrote: Hi all, Does an ovirt-shell-cli equivalent exist for debian/ubuntu client? knowing it is written in python, it must be quite easy to port it... The oVirt project doesn't provide a Debian or Ubuntu package for these tools, but they are

[ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Nathanaël Blanchet
Hi all, Does an ovirt-shell-cli equivalent exist for debian/ubuntu client? knowing it is written in python, it must be quite easy to port it... ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Re: [ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Nathanaël Blanchet
Sorry, rather Le 30/03/2015 18:16, Nathanaël Blanchet a écrit : Thank you it works like a charm! wget https://bootstrap.pypa.io/get-pip.py pip install get-pip.py sudo python get-pip.py sudo pip install ovirt-shell Le 30/03/2015 16:58, Juan Hernández a écrit : On 03/30/2015 04:50 PM,

Re: [ovirt-users] ovirt-shell for ubuntu

2015-03-30 Thread Nathanaël Blanchet
Thank you it works like a charm! wget https://bootstrap.pypa.io/get-pip.py pip install get-pip.py Le 30/03/2015 16:58, Juan Hernández a écrit : On 03/30/2015 04:50 PM, Nathanaël Blanchet wrote: Hi all, Does an ovirt-shell-cli equivalent exist for debian/ubuntu client? knowing it is written

Re: [ovirt-users] oVirt-shell command to move a disk

2014-12-01 Thread Michael Pasternak
make sure you using latest sdk cli, what is it btw? (run 'info' command) On Sunday, November 30, 2014 7:48 PM, Nicolas Ecarnot nico...@ecarnot.net wrote: Le 30/11/2014 15:01, Michael Pasternak a écrit : Hi Nicolas, In oVit you can find /Disks under several locations

Re: [ovirt-users] oVirt-shell command to move a disk

2014-12-01 Thread Nicolas Ecarnot
Le 01/12/2014 11:07, Michael Pasternak a écrit : make sure you using latest sdk cli, what is it btw? (run 'info' command) [oVirt shell (connected)]# info backend version: 3.4 sdk version: 3.4.4 cli version: 3.4.0.5 python version : 2.6.6.final.0 I think I run the version that is

Re: [ovirt-users] oVirt-shell command to move a disk

2014-12-01 Thread Michael Pasternak
not sure what sdk version 3.4.4 is, but according to log, latest official for 3.4 is 3.4.1.1-1(make you have it installed) On Monday, December 1, 2014 12:10 PM, Nicolas Ecarnot nico...@ecarnot.net wrote: Le 01/12/2014 11:07, Michael Pasternak a écrit : make sure you using latest

Re: [ovirt-users] oVirt-shell command to move a disk

2014-12-01 Thread Juan Hernández
On 12/01/2014 12:51 PM, Michael Pasternak wrote: not sure what sdk version 3.4.4 is, but according to log, latest official for 3.4 is 3.4.1.1-1 (make you have it installed) There are two issues here. First is that the move disk operation on the top level collection isn't correctly documented

Re: [ovirt-users] oVirt-shell command to move a disk

2014-12-01 Thread Nicolas Ecarnot
Le 01/12/2014 13:23, Juan Hernández a écrit : On 12/01/2014 12:51 PM, Michael Pasternak wrote: not sure what sdk version 3.4.4 is, but according to log, latest official for 3.4 is 3.4.1.1-1 (make you have it installed) There are two issues here. First is that the move disk operation on the

Re: [ovirt-users] oVirt-shell command to move a disk

2014-11-30 Thread Michael Pasternak
Hi Nicolas, In oVit you can find /Disks under several locations /api/disks/api/vms/{vm:id}/disks/api/templates/{template:id}/disks/api/vms/{vm:id}/snapshots/{snapshot:id}/disks to move disk to a different domain, you have to use first one,e.g disk with no context [1], on ovirt-shell language it

Re: [ovirt-users] oVirt-shell command to move a disk

2014-11-30 Thread Nicolas Ecarnot
Le 30/11/2014 15:01, Michael Pasternak a écrit : Hi Nicolas, In oVit you can find /Disks under several locations /api/disks /api/vms/{vm:id}/disks /api/templates/{template:id}/disks /api/vms/{vm:id}/snapshots/{snapshot:id}/disks to move disk to a different domain, you have to use first one,

[ovirt-users] oVirt-shell command to move a disk

2014-11-28 Thread Nicolas Ecarnot
Hello, I'm confused because though I'm using ovirt-shell to script many actions every day, and even after a large bunch of reading and testing, I can not find the correct syntax to move (offline/available) disks between storage domains. May you help me please? (oVirt 3.4.4) -- Nicolas

[ovirt-users] ovirt-shell

2014-10-03 Thread Koen Vanoppen
Dear all, I wanted to connected to the ovirt-shell; But I get following error: The host name ovirt.brusselsairport.aero contained in the URL doesn't match any of the names in the server certificate. My config file: [cli] autoconnect = True autopage = True [ovirt-shell] username = admin timeout

Re: [ovirt-users] ovirt-shell

2014-10-03 Thread Juan Hernandez
On 10/03/2014 02:45 PM, Koen Vanoppen wrote: Dear all, I wanted to connected to the ovirt-shell; But I get following error: The host name ovirt.brusselsairport.aero http://ovirt.brusselsairport.aero contained in the URL doesn't match any of the names in the server certificate. This

[ovirt-users] ovirt-shell

2014-07-10 Thread Steve Kilduff
Hi All, Trying to add a nic to a vm with a specific mac address. [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name backend --name eth4 --mac-address HH:HH:EE:HH:HH:01 ERROR = status: 400 reason: Bad Request detail: MAC address

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Juan Hernandez
On 07/10/2014 04:07 PM, Steve Kilduff wrote: Hi All, Trying to add a nic to a vm with a specific mac address. [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name backend --name eth4 --mac-address HH:HH:EE:HH:HH:01 ERROR =

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Sven Kieske
Am 10.07.2014 16:07, schrieb Steve Kilduff: Hi All, Trying to add a nic to a vm with a specific mac address. [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name backend --name eth4 --mac-address HH:HH:EE:HH:HH:01 afaik you just need to put around your mac, but I'm

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Steve Kilduff
Excellent, thanks for the quick reply guys. [oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name backend --name eth5 --mac-address '00:1a:4a:f3:43:be' id : 1d6f963c-3fee-48ac-88cd-963055666bb8 name : eth5 active : True interface : virtio

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Sven Kieske
Well there is no guide on the web which I'm aware of. But to my experience, scripting the shell has it's limitations you might want to try the python sdk, which is more useful or if you need some webapp anyway use the rest api. you could also script the rest api using e.g. curl but I wouldn't

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Juan Hernandez
On 07/10/2014 05:07 PM, Sven Kieske wrote: Well there is no guide on the web which I'm aware of. But to my experience, scripting the shell has it's limitations you might want to try the python sdk, which is more useful or if you need some webapp anyway use the rest api. you could also script

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Juan Hernandez
On 07/10/2014 05:28 PM, Juan Hernandez wrote: On 07/10/2014 05:07 PM, Sven Kieske wrote: Well there is no guide on the web which I'm aware of. But to my experience, scripting the shell has it's limitations you might want to try the python sdk, which is more useful or if you need some webapp

Re: [ovirt-users] ovirt-shell

2014-07-10 Thread Sven Kieske
Am 10.07.2014 17:28, schrieb Juan Hernandez: Did you consider using templates and pools? Actually I'm using templates, but not pools as I don't do this VDI stuff where it applies the most. Setup of the vms does work via cloud-init, also via rest. So I can really just encourage you to automate