Re: [ovirt-users] change Memory Ballooning setting

2017-04-28 Thread Michal Skrivanek
On 27 Apr 2017, at 16:29, Nelson Lameiras wrote: Hello oVirt gurus, When activating/deactivating memory balloning on VM, this will change /usr/libexec/qemu-kvm command line on host on vm startup (you can see it using "ps aux"). So I understand a vm reboot is

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Juan Hernández
On 04/28/2017 06:00 PM, Ben De Luca wrote: > before people go writing yet another api client wouldn't it make sense > to just define the api client in terms of some thing like swagger > ? http://swagger.io/ > The oVirt API has a formal specification, defined in this project:

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Ben De Luca
ok this works. docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate \ -i /local/swagger.json \ -c /local/config.json \ -l python \ -o /local/out/ where config looks like {"packageName": "overt", "packageVersion": "0.9" } On 28 April 2017 at 20:11, Ben

Re: [ovirt-users] Hosted engine already imported

2017-04-28 Thread Jamie Lawrence
> On Apr 27, 2017, at 12:12 AM, Simone Tiraboschi wrote: > > > > On Tue, Apr 25, 2017 at 7:53 PM, Jamie Lawrence > wrote: > Hi all, > > In my hopefully-near-complete quest to automate Ovirt configuration in our > environment, I’m very close.

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Ben De Luca
I wrote too soon! oops generated the wrong api! On 28 April 2017 at 20:09, Ben De Luca wrote: > I just generated the python API with the cmdline tools. > > I tend to use docker with random things like this from the internet, but > with docker installed this will generate a

Re: [ovirt-users] Change default "Physical Memory Guaranteed" value

2017-04-28 Thread Michal Skrivanek
> On 27 Apr 2017, at 09:58, Karli Sjöberg wrote: > >> On Wed, 2017-04-26 at 07:40 +, Karli Sjöberg wrote: >> Yo! >> >> Is there a way to easily change this value? >> >> I have checked engine-config, files under "/etc/ovirt-engine/config" >> and

Re: [ovirt-users] Hello from Bacchus !

2017-04-28 Thread Niyazi Elvan
Hi Barak, I was not aware of backup api hence used Python SDK. Is there any specific reason that I should use the backup api ? ps. I have just deployed the demo system at http://demo.bacchus.co username : demo pass : bacchus!2017 On 28 April 2017 at 20:00, Barak Korren

Re: [ovirt-users] Hello from Bacchus !

2017-04-28 Thread Barak Korren
On 28 April 2017 at 21:07, Niyazi Elvan wrote: > Hi Barak, > > I was not aware of backup api hence used Python SDK. Is there any specific > reason that I should use the backup api ? Well, it was made specifically to make building backup tools easier. But I guess its up to

Re: [ovirt-users] engine upgrade 3.5 -> 4.1.1

2017-04-28 Thread Sverker Abrahamsson
Hi Simone. I get the following result: # sudo -u postgres psql engine -c "SELECT vm_guid, run_on_vds FROM vms WHERE vm_name in (select 'HostedEngine' union select option_value from vdc_options where option_name='HostedEngineVmName')" could not change directory to "/root" vm_guid

Re: [ovirt-users] Hello from Bacchus !

2017-04-28 Thread Barak Korren
Hi Niyazi, On 27 April 2017 at 23:13, Niyazi Elvan wrote: > Sorry for bothering but I forgot to mention that it's a backup solution > based on oVirt Python SDK and a fancy web UI. I wonder, did you use or consider using the oVirt backaup API?

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Ben De Luca
I just generated the python API with the cmdline tools. I tend to use docker with random things like this from the internet, but with docker installed this will generate a python version of the api. docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli generate \ -c

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Fabrice Bacchella
> Le 28 avr. 2017 à 18:00, Ben De Luca a écrit : > > before people go writing yet another api client wouldn't it make sense to > just define the api client in terms of some thing like swagger ? > http://swagger.io/ > > I'm using the curl wrapper from the python sdk4,

Re: [ovirt-users] Hello from Bacchus !

2017-04-28 Thread Niyazi Elvan
Thank you Barak ! I will position Bacchus as a protection solution, not only for backups but also replication. SDK would be a better decision in that way. Regards, On 28 April 2017 at 21:54, Barak Korren wrote: > On 28 April 2017 at 21:07, Niyazi Elvan

[ovirt-users] Trouble Adding Gluster Host in oVirt Manager

2017-04-28 Thread Langley, Robert
Hello oVirt Community, This may be my first time writing in. Although, I've been reviewing and playing with oVirt for the past 3 years. My name is Robert Langley and I work for a local Government in Southern California. My agency (with me as the primary/lead IT person) has been using VMWare

Re: [ovirt-users] Hosted engine already imported

2017-04-28 Thread Jamie Lawrence
I’m wondering if I can do this a different way. Since it is already imported, I can create VMs, and the only other warning I’m getting in the logs is unrelated, I’m thinking that the problem here is that something didn’t get properly set in the DB, and I should be able to fix that manually. In

[ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Fabrice Bacchella
I have started to write a custom sdk/cli in python for Ovirt 4. It provides helpers and wrapper for the rather raw level sdk4 provided. It's still a work in progress, but a big improvement from my previous version, made for ovirt 3. It allows to write simple commands on shell : $ ./ovcmd host

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Ben De Luca
does ovirt have a restful api? On 28 April 2017 at 13:43, Fabrice Bacchella wrote: > I have started to write a custom sdk/cli in python for Ovirt 4. It > provides helpers and wrapper for the rather raw level sdk4 provided. > > It's still a work in progress, but a

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Alexander Wels
On Friday, April 28, 2017 11:41:03 AM EDT Ben De Luca wrote: > does ovirt have a restful api? > Yes, Its available at https:///ovirt-engine/api In fact the python/java/ruby sdk are just wrappers to calling this api. > On 28 April 2017 at 13:43, Fabrice Bacchella

Re: [ovirt-users] Ovirt 4, the missing python sdk

2017-04-28 Thread Ben De Luca
before people go writing yet another api client wouldn't it make sense to just define the api client in terms of some thing like swagger ? http://swagger.io/ On 28 April 2017 at 18:57, Alexander Wels wrote: > On Friday, April 28, 2017 11:41:03 AM EDT Ben De Luca wrote: > >

Re: [ovirt-users] Info on fence_rhevm against oVirt 4.1.1

2017-04-28 Thread Juan Hernández
On 04/28/2017 01:54 AM, Gianluca Cecchi wrote: > On Thu, Apr 27, 2017 at 6:32 PM, Juan Hernández > wrote: > > That is a known issue: > > fence_rhevm can only work as RHEV admin user not a regular user (that > requires "Filter: true

Re: [ovirt-users] Info on fence_rhevm against oVirt 4.1.1

2017-04-28 Thread Gianluca Cecchi
> > > > Using admin@internal didn't work even if I set the permissions at vm level > too... > > It worked with my username (g.cecchi) that has SuperUser system privilege and > also at VM level. > > Is it yet necessary to have a user with SuperUser privilege at system level? > > Tomorrow

Re: [ovirt-users] Error importing old NFS storage domain

2017-04-28 Thread Endre Karlson
Here I am posting the logs at https://api.creator.no/logs The host in question that is used for the import and that has some glusterTasksList errors on it is ovhost20 2017-04-27 14:48 GMT+02:00 Elad Ben Aharon : > Hi, > > Please provide the logs > > On Thu, Apr 27, 2017 at

Re: [ovirt-users] impossible to change console graphics on hosted engine

2017-04-28 Thread Nelson Lameiras
Hello, I opened a BZ : https://bugzilla.redhat.com/show_bug.cgi?id=1445862 cordialement, regards, Nelson LAMEIRAS Ingénieur Systèmes et Réseaux / Systems and Networks engineer Tel: +33 5 32 09 09 70 nelson.lamei...@lyra-network.com www.lyra-network.com | www.payzen.eu