[ovirt-users] Missing feature in python SDK4

2017-04-20 Thread Fabrice Bacchella
I didn't find a way to find the writer that correspond to a given type. Is there a way to do that, or it's up to the end user to manually manage this mapping ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

[ovirt-users] upgrade to 4.1

2017-04-20 Thread Fabrice Bacchella
I tried to upgrade ovirt to version 4.1 from 4.0 and got: Found the following problems in PostgreSQL configuration for the Engine database: autovacuum_vacuum_scale_factor required to be at most 0.01 autovacuum_analyze_scale_factor required to be at most 0.075

Re: [ovirt-users] Missing feature in python SDK4

2017-04-20 Thread Fabrice Bacchella
> Le 20 avr. 2017 à 16:35, Juan Hernández a écrit : > > On 04/20/2017 12:26 PM, Fabrice Bacchella wrote: >> I didn't find a way to find the writer that correspond to a given type. Is >> there a way to do that, or it's up to the end user to manually manage this

[ovirt-users] bug with ConsoleWriter ?

2017-04-21 Thread Fabrice Bacchella
I'm trying to dump informations about console with the following code: vm = vms_service.list(search='name=fa41')[0] # Find the service that manages the graphics consoles of the virtual machine: vm_service = vms_service.vm_service(vm.id) consoles_service = vm_service.graphics_consoles_service() co

Re: [ovirt-users] bug with ConsoleWriter ?

2017-04-22 Thread Fabrice Bacchella
> Le 22 avr. 2017 à 10:39, Juan Hernández a écrit : > > > I also wonder why do you need to convert objects to XML explicitly. Can > you elaborate on what is your need? > I want to have a generic export for many types, as I migrating my ovirtcmd tool (https://github.com/fbacchella/ovirtcmd)

Re: [ovirt-users] upgrade to 4.1

2017-04-23 Thread Fabrice Bacchella
> Le 23 avr. 2017 à 07:59, Yedidyah Bar David a écrit : >>> >>> >>> And it was not in the release notes, it's not funny to get this warning >>> after starting the upgrade > > This isn't a new test, see above bug. > > Are you sure it's the first time you see it? Perhaps you upgraded your pg >

Re: [ovirt-users] upgrade to 4.1

2017-04-23 Thread Fabrice Bacchella
> Le 23 avr. 2017 à 10:56, Yedidyah Bar David a écrit : > > On Sun, Apr 23, 2017 at 10:59 AM, Fabrice Bacchella > wrote: >> >>> Le 23 avr. 2017 à 07:59, Yedidyah Bar David a écrit : >>>>> >> >>>>> >>>>> And i

Re: [ovirt-users] upgrade to 4.1

2017-04-23 Thread Fabrice Bacchella
> Le 23 avr. 2017 à 07:59, Yedidyah Bar David a écrit : > > > The main reason we require this is for pg_dump/pg_restore which are ran > during setup/rollback (if needed). pg_dump can't know for sure that all > the changes in the db were done using a client of its own version (that > is, curren

[ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-24 Thread Fabrice Bacchella
I tried to upgrade from 4.0 to 4.1, I ran engine-setup And now ovirt-engine start fails with command like: Caused by: org.springframework.jdbc.BadSqlGrammarException: PreparedStatementCallback; bad SQL grammar [select * from gettagsbyparent_id()]; nested exception is org.postgresql.util.PSQLEx

Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
> Le 25 avr. 2017 à 07:59, Yedidyah Bar David a écrit : > > On Mon, Apr 24, 2017 at 5:59 PM, Fabrice Bacchella > wrote: >> https://www.dropbox.com/s/70h2ajt049i89p6/ovirt-engine.log.tar.gz?dl=0 > > Seems like this wasn't the first error. Before that, the en

Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
> Le 25 avr. 2017 à 10:27, Yedidyah Bar David a écrit : > > On Tue, Apr 25, 2017 at 11:14 AM, Fabrice Bacchella > wrote: >> >>> Le 25 avr. 2017 à 07:59, Yedidyah Bar David a écrit : >>> >>> On Mon, Apr 24, 2017 at 5:59 PM, Fabrice Bacchel

Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
> Le 25 avr. 2017 à 10:27, Yedidyah Bar David a écrit : > > > So all was good until you changed (downgraded?) your pg client? So > perhaps try to revert that. Although if you didn't change your jdbc > library, I do not think this should have affected you. But in any > case, if the failure was

Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
> Le 25 avr. 2017 à 12:05, Yedidyah Bar David a écrit : > > On Tue, Apr 25, 2017 at 12:14 PM, Fabrice Bacchella > wrote: >> >>> Le 25 avr. 2017 à 10:27, Yedidyah Bar David a écrit : >>> >>> >> >>> So all was good until you change

Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
I activated pg query log and got that: grep gettagsbyparent_id /data/pgsql/9.4/data/pg_log/postgresql-Tue.log < 2017-04-25 12:21:29.770 CEST >LOG: execute : SELECT NULL AS PROCEDURE_CAT, n.nspname AS PROCEDURE_SCHEM, p.proname AS PROCEDURE_NAME, NULL, NULL, NULL, d.description AS REMARKS, 2 AS

Re: [ovirt-users] after upgrade from 4.0.4 to 4.1.1, no more gettagsbyparent_id

2017-04-25 Thread Fabrice Bacchella
> Le 25 avr. 2017 à 13:28, Yedidyah Bar David a écrit : > > On Tue, Apr 25, 2017 at 1:28 PM, Fabrice Bacchella > wrote: >> I activated pg query log and got that: >> >> grep gettagsbyparent_id /data/pgsql/9.4/data/pg_log/postgresql-Tue.log >> < 2017

[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 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, but it misses a lot of

[ovirt-users] problems with events.list

2017-05-03 Thread Fabrice Bacchella
I'm looking for some specific events with the following code: last_event = int(events_service.list(max=1)[0].id) print "last_event %d" % last_event start an check upgrade print "search %s" % search while True: founds = events_service.list(

Re: [ovirt-users] problems with events.list

2017-05-03 Thread Fabrice Bacchella
Ok, got it. The good syntax is host.name=ng319 and type=885 or type=839 or type=886 or type=887. Using the search bar (thanks Ondra), it easier to test. > Le 3 mai 2017 à 13:06, Fabrice Bacchella a > écrit : > > I'm looking for some specific events with t

[ovirt-users] terminating sessions

2017-05-03 Thread Fabrice Bacchella
In the UI, I see 73 open sessions, all open by me. In ovirt logs, I see a lot of : 2017-05-03 18:49:31,483+02 INFO [org.ovirt.engine.core.bll.aaa.SessionDataContainer] (DefaultQuartzScheduler3) [dcf02fc4-72c3-4237-8855-d4e474766088] Not removing session 'B/GWJOxyLh3pXQPPitfCk29iiJ3XWMerYdNmOdZ

[ovirt-users] GET /storagedomains broken ?

2017-05-04 Thread Fabrice Bacchella
I'm playing with the python sdk and getting : [2017-05-04 17:01:17] 192.168.205.36 "ovirt.XXX" "GET /ovirt-engine/api/storagedomains HTTP/1.1" 292250 404 + 188 "-" "PythonSDK/4.1.3" And in engine.log: 2017-05-04 17:01:17,727+02 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResou

Re: [ovirt-users] GET /storagedomains broken ?

2017-05-09 Thread Fabrice Bacchella
https://www.dropbox.com/s/0vw8pvm99dpnq0a/ovirtlogs.tar.gz?dl=0 I opened a bug as https://bugzilla.redhat.com/show_bug.cgi?id=1448399 > Le 4 mai 2017 à 17:10, Fabrice Bacchella a > écrit : > > I'm playing with the python sdk and getting : > > [2017-05-04 1

Re: [ovirt-users] Anyone running Shared SAS hosted engine ?

2017-05-09 Thread Fabrice Bacchella
> Le 9 mai 2017 à 12:06, Gary Lloyd a écrit : > > Hi > > I was just wondering if anyone is running Ovirt using a shared SAS array with > the ability to live migrate between hosts ? Yes, I have, every things run fine. > If so has anyone been able to get hosted engine working with it ? I don'

Re: [ovirt-users] do we need some documentation mainteiners?

2017-05-09 Thread Fabrice Bacchella
The documentation is alway a good laugh at ovirt. Look for RHEL instead. > Le 9 mai 2017 à 16:13, Juan Pablo a écrit : > > Team, Is just me or the documentation pages are not being updated ? many are > outdated.. how can we collaborate? > > whats up with http://www.ovirt.org/documentation/adm

Re: [ovirt-users] do we need some documentation mainteiners?

2017-05-09 Thread Fabrice Bacchella
x27;t like oVirt or you have that much complains maybe you should > start your project yourself and do things like you consider they should be > done. > > James > > 2017-05-09 15:59 GMT+01:00 Fabrice Bacchella <mailto:fabrice.bacche...@orange.fr>>: > The documentation

Re: [ovirt-users] do we need some documentation mainteiners?

2017-05-10 Thread Fabrice Bacchella
somewhere ? > Le 10 mai 2017 à 08:21, Oved Ourfali a écrit : > > > > On Tue, May 9, 2017 at 11:46 PM, Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: > I'm whining because ovirt is a wonderful product, peoples behind are nice, > but ho boy, w

[ovirt-users] slow kerberos authentication

2017-05-11 Thread Fabrice Bacchella
I'm using kerberos authentication in ovirt for the URL /sso/oauth/token-http-auth, but kerberos is done in Apache using auth_gssapi_module and it's quite slow, about 6s for a request. I'm trying to understand if it's apache or ovirt-engine that are slow. Is there a way to get response time mete

Re: [ovirt-users] slow kerberos authentication

2017-05-12 Thread Fabrice Bacchella
sso > > To enable it in runtime, please follow: > > > https://github.com/oVirt/ovirt-engine-extension-aaa-ldap/blob/master/README#L469 > > On Thu, May 11, 2017 at 7:24 PM, Fabrice Bacchella > wrote: > I'm using kerberos authentication in ovirt for the URL > /sso/oau

Re: [ovirt-users] slow kerberos authentication

2017-05-12 Thread Fabrice Bacchella
> Le 12 mai 2017 à 13:35, Ondra Machacek a écrit : > > > > On Fri, May 12, 2017 at 1:18 PM, Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: > The request is indeed quite slow within ovirt, using the setup given by Juan: > > /ovirt-engine

Re: [ovirt-users] slow kerberos authentication

2017-05-12 Thread Fabrice Bacchella
Ok, I found where it's slow, it's a ldapsearch on our AD: time ldapsearch -a never -E pr=100/noprompt -H ldap://ad1 -b DC=... -s sub '(&(groupType:1.2.840.113556.1.4.803:=2147483648)(&(objectCategory=group)(member:1.2.840.113556.1.4.1941:=userdn)))' objectGUID name description # numResponses: 7

Re: [ovirt-users] slow kerberos authentication

2017-05-12 Thread Fabrice Bacchella
I found that: http://dunnry.com/blog/TransitiveLinkValueFilterEvaluation.aspx > Le 12 mai 2017 à 14:44, Fabrice Bacchella a > écrit : > > Ok, I found where it's slow, it's a ldapsearch on our AD: > > time ldapsearch -a never -E pr=100/noprompt -H ldap://ad1 <

Re: [ovirt-users] slow kerberos authentication

2017-05-12 Thread Fabrice Bacchella
393407 > <https://bugzilla.redhat.com/show_bug.cgi?id=1393407> > > On Fri, May 12, 2017 at 2:54 PM, Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: > I found that: > > http://dunnry.com/blog/TransitiveLinkValueFilterEvaluation.aspx > <htt

[ovirt-users] searching users and field mapping

2017-05-12 Thread Fabrice Bacchella
When I export a user I find values like: 39323336363566612D37622D346532612D396530632D316630396536643634636432 admin * admin admin@internal-authz internal-authz They are the same that one defined from the type in sdk (http://ovirt.github.io/ovirt-engi

Re: [ovirt-users] terminating sessions

2017-05-17 Thread Fabrice Bacchella
I'm back with a long list of sessions, many of them started since many days. How can I get informations about them ? > Le 3 mai 2017 à 18:52, Fabrice Bacchella a > écrit : > > In the UI, I see 73 open sessions, all open by me. > > In ovirt logs, I see a lot of : >

[ovirt-users] vm migration failure and jobs

2017-05-17 Thread Fabrice Bacchella
I'm switching a host to maintenance state and it's failing because of problem migrating one of it's VM. I'm listing the current jobs running in ovirt and getting that list: $ ./ovcmd job list -t '{id!s} {description!s} {start_time!s}' 00ebb251-2229-4178-82cd-dff421de96ea Moving Host nb0104 to Mai

Re: [ovirt-users] add direct LUN disk to a VM with python SDK

2017-05-17 Thread Fabrice Bacchella
Did you have a look at: http://ovirt.github.io/ovirt-engine-sdk/master/services.m.html#ovirtsdk4.services.DisksService http://ovirt.github.io/ovirt-engine-sdk/master/types.m.html#ovirtsdk4.types.Log

Re: [ovirt-users] Postgres errors after updating to 9.5.7 from 9.5.4

2017-05-24 Thread Fabrice Bacchella
In /etc/yum.repos.d/pgdg-94-centos.repo, I added : [pgdg94] ... exclude=postgresql-jdbc > Le 23 mai 2017 à 23:06, supp...@jac-properties.com a écrit : > > Wow, that looks almost exactly like what we're seeing. > > Unfortunately, downgrading from postgresql-jdbc-42.1.1 to 42.0.0, restarting >

Re: [ovirt-users] terminating sessions

2017-05-24 Thread Fabrice Bacchella
No one has the answer ? > Le 18 mai 2017 à 09:58, Sandro Bonazzola a écrit : > > Adding some people who may be able to answer > > On Wed, May 17, 2017 at 11:45 AM, Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: > I'm back with a long list o

Re: [ovirt-users] terminating sessions

2017-05-24 Thread Fabrice Bacchella
ny > long running tasks. > > Ravi, would it be possible to display sessionId inside Tasks to be able to > identify which command belongs to which session? > > > Martin Perina > > > On Wed, May 24, 2017 at 9:21 AM, Fabrice Bacchella > mailto:fabrice.b

Re: [ovirt-users] Postgres errors after updating to 9.5.7 from 9.5.4

2017-05-24 Thread Fabrice Bacchella
> Le 24 mai 2017 à 15:25, supp...@jac-properties.com a écrit : > > Which makes sense seeing as that's what Red Hat officially supports. It just > made sense for our infrastructure to put it on our postgres cluster that is > running 9.5.x. Unfortunately things like this happen sometimes when r

[ovirt-users] perf tool ?

2017-05-24 Thread Fabrice Bacchella
I'm playing with perf in vm and getting inconsistent result. But I wonder if it's a kvm, ovirt or hardware problem. On a ovirt's vm: $ sudo perf list | grep Hardware | wc -l 1 $ lscpu ... Model name:Intel Core Processor (Haswell, no TSX) On another ovirt's vm: $ sudo perf list | grep

Re: [ovirt-users] Postgres errors after updating to 9.5.7 from 9.5.4

2017-05-24 Thread Fabrice Bacchella
> > Le 24 mai 2017 à 16:26, Yedidyah Bar David a écrit : >> >> A good solution usually used by java app is to provide the need jars. That >> the purpose of maven like tools. >> > > We can also simply add to the spec file '< 9.3' or something like that, > until we fix the code to support newer

[ovirt-users] chrony or ntp ?

2017-06-09 Thread Fabrice Bacchella
I haven't switched from ntp to chrony. So I have configured my puppet to remove it as it's now part of default installation of rhel. I works well with everything except on vdsm, since last upgrade: # yum erase chrony .. Removing for dependencies: vdsm

Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Fabrice Bacchella
ment. which, every one use it , even if it's not the best solution instead of the bash builtin 'type -p' (bash is part of the requires) or more portable 'command -v', it's all explained at: https://unix.stackexchange.com/a/85250. But I must live with this. > Le 9 ju

Re: [ovirt-users] chrony or ntp ?

2017-06-09 Thread Fabrice Bacchella
People might be suprised. I'm currently trying to understand what chrony did to my ntpd setup, it look like it killed it and puppet has hard time to reconfigure it. And as it's not a 'ovirt update' but instead vdsm update seems to happen more frequently, some people might forget to read releas

[ovirt-users] ovirt client developpement

2017-06-09 Thread Fabrice Bacchella
For my ovirt cli, I would like to have unit tests. But there is nothing to test in standalone mode, I need a running ovirt with a database in a known state. Is there some where a docker images with a toy setup, or a mock ovirt engine that can be downloaded and used for that ? ___

Re: [ovirt-users] ovirt client developpement

2017-06-09 Thread Fabrice Bacchella
> Le 9 juin 2017 à 16:25, Luca 'remix_tj' Lorenzetto > a écrit : > > On Fri, Jun 9, 2017 at 4:19 PM, Fabrice Bacchella > wrote: >> For my ovirt cli, I would like to have unit tests. But there is nothing to >> test in standalone mode, I need a run

Re: [ovirt-users] chrony or ntp ?

2017-06-11 Thread Fabrice Bacchella
> Le 10 juin 2017 à 22:21, Michal Skrivanek a écrit : > >> On 09 Jun 2017, at 15:48, Fabrice Bacchella >> wrote: >> >> >> People might be suprised. I'm currently trying to understand what chrony did >> to my ntpd setup, it look like it killed

Re: [ovirt-users] Python-SDK4: Managing accents?

2017-06-12 Thread Fabrice Bacchella
Did you try with python 3 ? UTF management changed a lot with this version, it might works better in your case. > Le 12 juin 2017 à 12:33, nico...@devels.es a écrit : > > Hi, > > We're running Python SDK (ovirt-engine-sdk-python) ver 4.1.4 and we're having > some issues getting values that con

Re: [ovirt-users] Migrating oVirt cluster from 4.0 to 4.1

2017-06-12 Thread Fabrice Bacchella
> Le 12 juin 2017 à 19:58, Pavel Gashev a écrit : > > Karli, > > Almost everything can be updated without system reboot. Even kernel, see > http://KernelCare.com/ > High uptime is a thing of the past. ___ Users mailing l

Re: [ovirt-users] Performance differences between ext4 and XFS

2017-06-13 Thread Fabrice Bacchella
I just got bitten by this particular problem, on a heavily used disk image. I'm trying to defragment the disk images. Hop this will help. > Le 8 juin 2017 à 07:19, Markus Stockhausen a écrit : > > Hi Fernando, > > we personally like XFS very much. But XFS + qcow2 (even for snapshots in > OV

[ovirt-users] ovirt sdk and pipelining

2017-06-16 Thread Fabrice Bacchella
I just read the blog entry about performance increate in for the python sdk (https://www.ovirt.org/blog/2017/05/higher-performance-for-python-sdk/). I'm quite sceptical about pipelining. A few explanation about that can be found at: https://devcentral.f5.com/articles/http-pipelining-a-security-r

Re: [ovirt-users] ovirt sdk and pipelining

2017-06-16 Thread Fabrice Bacchella
> Le 16 juin 2017 à 10:13, Juan Hernández a écrit : > > On 06/16/2017 09:52 AM, Fabrice Bacchella wrote: >> I just read the blog entry about performance increate in for the python sdk >> (https://www.ovirt.org/blog/2017/05/higher-performance-for-python-sdk/). >> &

Re: [ovirt-users] OVirt 4.1.2 - trim/discard on HDD/XFS/NFS contraproductive

2017-06-18 Thread Fabrice Bacchella
> Le 18 juin 2017 à 08:00, Idan Shaby a écrit : > If you don't need live discarding, shutdown the VM and disable the "Enable > Discard" option. That will cause qemu to ignore the live UNMAP SCSI commands > coming from the guest and not pass it on to the underlying storage. > Note that this make

Re: [ovirt-users] Frustration defines the deployment of Hosted Engine

2017-06-26 Thread Fabrice Bacchella
> 4. There is any good SPICE client for macOS? Or should I just use the HTML5 > version instead? > > I'm afraid not. > Y. There is one spice client, RemoveViewer, but I will not call it good, it's very slow. So I tend to use the embedded vnc viewer. __

[ovirt-users] CVE-2017-1000364

2017-06-28 Thread Fabrice Bacchella
Distributions like Redhat and Ubuntu issued a buggy patch for CVE-2017-1000364. http://www.openwall.com/lists/oss-security/2017/06/22/6 Many applications are affected: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1698919

[ovirt-users] ovirt can't find user

2017-06-28 Thread Fabrice Bacchella
I tried to add a user in ovirt, but it's not identified: 2017-06-28 16:48:48,505+02 ERROR [org.ovirt.engine.core.sso.utils.NegotiateAuthUtils] (default task-22) [] External Authentication Failed: Cannot resolve principal 'rexecutor@internal' /usr/bin/ovirt-aaa-jdbc-tool user show rexecutor --

Re: [ovirt-users] ovirt can't find user

2017-06-29 Thread Fabrice Bacchella
> Le 29 juin 2017 à 13:41, Ondra Machacek a écrit : > > How do you login? Do you use webadmin or API/SDK, if using SDK, don't > you use kerberos=True? Ok, got it. It's tested with the sdk, using kerberos. But Kerberos authentication is done in Apache and I configure a profile for that, so I ne

Re: [ovirt-users] ovirt can't find user

2017-06-29 Thread Fabrice Bacchella
> Le 29 juin 2017 à 14:42, Fabrice Bacchella a > écrit : > > >> Le 29 juin 2017 à 13:41, Ondra Machacek a écrit : >> >> How do you login? Do you use webadmin or API/SDK, if using SDK, don't >> you use kerberos=True? > > Ok, got it. > It&#

Re: [ovirt-users] ovirt can't find user

2017-07-01 Thread Fabrice Bacchella
> Le 30 juin 2017 à 23:25, Ondra Machacek a écrit : > > On Thu, Jun 29, 2017 at 5:16 PM, Fabrice Bacchella > wrote: >> >>> Le 29 juin 2017 à 14:42, Fabrice Bacchella a >>> écrit : >>> >>> >>>> Le 29 juin 2017 à 13:41,

Re: [ovirt-users] ovirt can't find user

2017-07-04 Thread Fabrice Bacchella
> Le 1 juil. 2017 à 09:09, Fabrice Bacchella a > écrit : > > >> Le 30 juin 2017 à 23:25, Ondra Machacek a écrit : >> >> On Thu, Jun 29, 2017 at 5:16 PM, Fabrice Bacchella >> wrote: >>> >>>> Le 29 juin 2017 à 14:42, Fabrice Bacchell

[ovirt-users] user permissions

2017-07-05 Thread Fabrice Bacchella
I'm trying to give a user the permissions to stop/start a specific server. This user is given the generic UserRole for the System. I tried to give him the roles : UserVmManager UserVmRunTimeManager UserInstanceManager InstanceCreator UserRole for that specific VM, I always get: query execution f

Re: [ovirt-users] user permissions

2017-07-06 Thread Fabrice Bacchella
k create_vm delete_disk delete_vm edit_disk_properties edit_vm_properties hibernate_vm login manipulate_permissions reboot_vm run_vm shut_down_vm sparsify_disk stop_vm ./ovcmd -u rexecutor@internal --passwordfile=/tmp/passwordfile vm -n fa42 stop (OK) But now it can stop

Re: [ovirt-users] ovirt can't find user

2017-07-07 Thread Fabrice Bacchella
Ok. > Le 7 juil. 2017 à 13:51, Ondra Machacek a écrit : > > On Tue, Jul 4, 2017 at 6:05 PM, Fabrice Bacchella > wrote: >> >>> Le 1 juil. 2017 à 09:09, Fabrice Bacchella a >>> écrit : >>> >>> >>>> Le 30 juin 2017 à 23:25, On

Re: [ovirt-users] user permissions

2017-07-07 Thread Fabrice Bacchella
DEFAULT' to true, > and it will work, if you use 4.1.1. > > > On Wed, Jul 5, 2017 at 5:55 PM, Fabrice Bacchella > wrote: >> I'm trying to give a user the permissions to stop/start a specific server. >> >> This user is given the generic UserRole fo

Re: [ovirt-users] ovirt can't find user

2017-07-09 Thread Fabrice Bacchella
Done in : https://bugzilla.redhat.com/show_bug.cgi?id=1468878. > Le 7 juil. 2017 à 13:51, Ondra Machacek a écrit : > > On Tue, Jul 4, 2017 at 6:05 PM, Fabrice Bacchella > wrote: >> >>> Le 1 juil. 2017 à 09:09, Fabrice Bacchella a >>> écrit : >>&

[ovirt-users] mirror

2017-07-18 Thread Fabrice Bacchella
I'm reading https://www.ovirt.org/develop/infra/repository-mirrors/ It says: You'll find in resources.ovirt.org a user named mirror I'm looking at http://resources.ovirt.org and don't see anything about that user. Where should I look ? ___ Users mail

Re: [ovirt-users] mirror

2017-07-18 Thread Fabrice Bacchella
> Le 18 juil. 2017 à 12:10, Barak Korren a écrit : > > On 18 July 2017 at 12:57, Fabrice Bacchella > wrote: >> I'm reading https://www.ovirt.org/develop/infra/repository-mirrors/ >> >> It says: >> >> You'll find in resources.ovir

Re: [ovirt-users] Good practices

2017-08-07 Thread Fabrice Bacchella
> Le 7 août 2017 à 17:41, FERNANDO FREDIANI a écrit > : > > Yet another downside of having a RAID (specially RAID 5 or 6) is that it > reduces considerably the write speeds as each group of disks will end up > having the write speed of a single disk as all other disks of that group have > t

Re: [ovirt-users] Good practices

2017-08-07 Thread Fabrice Bacchella
>> Moacir: Yes! This is another reason to have separate networks for >> north/south and east/west. In that way I can use the standard MTU on the >> 10Gb NICs and jumbo frames on the file/move 40Gb NICs. Why not Jumbo frame every where ?___ Users mailin

Re: [ovirt-users] Good practices

2017-08-07 Thread Fabrice Bacchella
> Le 8 août 2017 à 04:08, FERNANDO FREDIANI a écrit > : > Even if you have a Hardware RAID Controller with Writeback cache you will > have a significant performance penalty and may not fully use all the > resources you mentioned you have. > Nope again,from my experience with HP Smart Array

Re: [ovirt-users] Good practices

2017-08-08 Thread Fabrice Bacchella
> Le 8 août 2017 à 08:50, Yaniv Kaul a écrit : > > Storage is usually the slowest link in the chain. I personally believe that > spending the money on NVMe drives makes more sense than 40Gb (except [1], > which is suspiciously cheap!) > > Y. > [1] http://a.co/4hsCTqG h

Re: [ovirt-users] Users Digest, Vol 71, Issue 37

2017-08-08 Thread Fabrice Bacchella
> Le 8 août 2017 à 11:49, Moacir Ferreira a écrit : > > This is by far more complex. A good NIC will have an offload engine (LSO - > Large Segment Offload) and, if so, the NIC driver will report a MTU of 64K to > the IP stack. The IP stack will then send data to the NIC as if the MTU were > 6

Re: [ovirt-users] Users Digest, Vol 71, Issue 37

2017-08-08 Thread Fabrice Bacchella
he MTU > 1500. For example, if your data need to cross the Internet. The border router > in between your LAN and the Internet will have to fragment a large frame back > to a normal one to send it over the Internet. This router will just "die" if > you have a heavy load. >

Re: [ovirt-users] Good practices

2017-08-08 Thread Fabrice Bacchella
> Le 8 août 2017 à 15:24, FERNANDO FREDIANI a écrit > : > > That's something on the way RAID works, regardless what most 'super-ultra' > powerfull hardware controller you may have. RAID 5 or 6 will never have the > same write performance as a RAID 10 o 0 for example. Writeback caches can > d

Re: [ovirt-users] Users Digest, Vol 71, Issue 37

2017-08-08 Thread Fabrice Bacchella
> Le 8 août 2017 à 14:53, Moacir Ferreira a écrit : > > But if you receive a 9000 MTU frame on an "input" interface that results > sending it out on an interface of a 1500 MTU, then if you set DF bit the > frame will just be dropped by the router. The frame will be dropped and the router will

[ovirt-users] How to extract root ssh

2017-08-09 Thread Fabrice Bacchella
oVirt own a private ssh keys that it can use to do remote installation on host, instead of using a password. But I didn't found at https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.1/html/rest_api_guide/

Re: [ovirt-users] How to extract root ssh

2017-08-09 Thread Fabrice Bacchella
> Le 9 août 2017 à 16:03, Yedidyah Bar David a écrit : > > On Wed, Aug 9, 2017 at 4:35 PM, Fabrice Bacchella > wrote: >> oVirt own a private ssh keys that it can use to do remote installation on >> host, instead of using a password. But I didn't found at

Re: [ovirt-users] How to extract root ssh

2017-08-10 Thread Fabrice Bacchella
> Le 10 août 2017 à 07:51, Yedidyah Bar David a écrit : > > On Wed, Aug 9, 2017 at 5:27 PM, Fabrice Bacchella > wrote: >> >>> Le 9 août 2017 à 16:03, Yedidyah Bar David a écrit : >>> >>> On Wed, Aug 9, 2017 at 4:35 PM, Fabrice Bacchella >>

Re: [ovirt-users] installation of hosts using public key

2017-08-10 Thread Fabrice Bacchella
> Le 10 août 2017 à 10:52, Ondra Machacek a écrit : > > > Creates a new host. The host is created based on the attributes of the host > parameter. The name, address and root_password properties are required. > > But what to do if I don't have a root password to give ? > > It's just true/fal

Re: [ovirt-users] installation of hosts using public key

2017-08-10 Thread Fabrice Bacchella
ant screenshots and etc? > Please also put UX as the oVirt team. > > Thanks, > Oved > > On Thu, Aug 10, 2017 at 11:10 AM, Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: > This method of connection to host for installation don't seems be treated as

Re: [ovirt-users] Need some help understanding memory allocation

2017-08-11 Thread Fabrice Bacchella
What does /proc/meminfo says ? Memory usage is a complex thing. > Le 10 août 2017 à 23:23, Wesley Stewart a écrit : > > I am a little confused on why my CentOS box is using so much RAM. I > currently have a small test setup which only has 12GB of ram total. > > When I log into the administra

[ovirt-users] broken authz

2017-08-21 Thread Fabrice Bacchella
Since a few days, I can't connect any more to ovirt. I'm using an ldap authz. In the log I see: 2017-08-21 11:41:56,513+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Framework] (default task-14) [] Creating SearchRequest 2017-08-21 11:41:56,514+01 DEBUG [org.ovirt.engineextensions.aaa.ldap.Fram

[ovirt-users] automatic creation of single host cluster

2017-08-23 Thread Fabrice Bacchella
I'm still playing with my sdk4 python wrapper (https://github.com/fbacchella/ovirtcmd). In the last update, I tried to make writing of custom script simpler. As an example, i wrote a wrapper for single node cluster installation. I have a bunch of old ProLiant DL185 G5. I configured them to be s

Re: [ovirt-users] automatic creation of single host cluster

2017-08-23 Thread Fabrice Bacchella
> Le 23 août 2017 à 15:52, Yaniv Kaul a écrit : > > > > On Wed, Aug 23, 2017 at 1:11 PM, Fabrice Bacchella > mailto:fabrice.bacche...@orange.fr>> wrote: > I'm still playing with my sdk4 python wrapper > (https://github.com/fbacchella/ovirtcmd > &

[ovirt-users] epel and collectd

2017-09-12 Thread Fabrice Bacchella
In the releases notes, even for the 4.6 rc, I see: https://www.ovirt.org/release/4.1.6/ ... OpsTools currently includes collectd 5.7.0, and the write_http plugin is packaged separately. But if I check the current state: yum list collectd-write_http collectd ... collectd.x86_64

Re: [ovirt-users] epel and collectd

2017-09-13 Thread Fabrice Bacchella
> Le 13 sept. 2017 à 10:39, Sandro Bonazzola a écrit : > > In general, I still consider EPEL harmful so just dropped the part related > to collectd. > What kind of problems do you have with it ? ___ Users mailing list Users@ovirt.org http://lists.

Re: [ovirt-users] Configuring ilo4 on hp blade gen 9

2017-10-05 Thread Fabrice Bacchella
I have HP blades too (ProLiant BL460c Gen9). I have set the fencing to ilo4 and everything works fine. Nothing special on the ilo side, just up to date firmware. > Le 5 oct. 2017 à 09:53, Gianluca Cecchi a écrit : > > Hello, > on 4.1.6 I'm configuring fencing on HP blades Gen9. > It seems I'm

[ovirt-users] engine-setup failed because of postgres 9.4

2015-12-10 Thread Fabrice Bacchella
I'm on a RHEL 7, trying to install a ovirt 3.6.0.3. The database used is on a remote server, using a postgres 9.4. The backup of the previous database fails with : 2015-12-10 12:04:13 DEBUG otopi.**FILTERED**_engine_setup.engine_common.database database.backup:661 db backup res {'result': [{'st

Re: [ovirt-users] engine-setup failed because of postgres 9.4

2015-12-10 Thread Fabrice Bacchella
> Le 10 déc. 2015 à 13:51, Yedidyah Bar David a écrit : > > engine-setup > --otopi-environment='SYSTEM/commandPath=str:/usr/pgsql-9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' I got better results with --otopi-environment="COMMAND/pg_dump=str:'/usr/pgsql-9.4/bin/pg_dum

[ovirt-users] ovirst engine-setup fails because of apache

2015-12-15 Thread Fabrice Bacchella
I'm using a custom apache implementation, so `service httpd restart` fails on my server. And so: engine-setup --config-append=${answers_file} fails with: ... [ INFO ] Restarting httpd [ ERROR ] Failed to execute stage 'Closing up': Failed to start service 'httpd' I could try to do OVESETUP_APA

Re: [ovirt-users] ovirst engine-setup fails because of apache

2015-12-15 Thread Fabrice Bacchella
t by myself. > Le 15 déc. 2015 à 18:12, Simone Tiraboschi a écrit : > > Hi Fabrice, > can you please attach the setup logs? > > thanks, > Simone > > On Tue, Dec 15, 2015 at 6:04 PM, Fabrice Bacchella > wrote: > I'm using a custom apache implementation

[ovirt-users] ovirt and CAS SSO

2016-03-08 Thread Fabrice Bacchella
I'm trying to add CAS SSO to ovirt. For authn (authentication), org.ovirt.engineextensions.aaa.misc.http.AuthnExtension is OK, I put jboss behind an Apache with mod_auth_cas. Now I'm fighting with authz (authorization). CAS provides everything needed as header. So I don't need ldap or jdbc ex

[ovirt-users] ovirt 3.6.3.4 and VLAN are not friends

2016-03-09 Thread Fabrice Bacchella
I'm trying to bring some VLAN to ovirts hosts. I have one native vlan and two tagged vlan. When the tagged vlan are not configured in ovirt, I can add hosts easily. As soon as I add the two tagged one, every things run amok. New hosts network are broken, network configuration is untouched and t

Re: [ovirt-users] ovirt 3.6.3.4 and VLAN are not friends

2016-03-09 Thread Fabrice Bacchella
nd /var/log/vdsm/supervdsm.log > logs from the host with us? How did you configure IP for tagged > networks, did you use the same subnets? > > Regards, > Petr > > 2016-03-09 10:56 GMT+01:00 Fabrice Bacchella : >> I'm trying to bring some VLAN to ovirts hosts. >

Re: [ovirt-users] ovirt and CAS SSO

2016-03-14 Thread Fabrice Bacchella
re.net/MartinPeina/ovirt-extension-api-the-first-step-for-fully-modular-ovirt > [6] https://github.com/oVirt/ovirt-engine-extension-aaa-ldap > [7] https://github.com/oVirt/ovirt-engine-extension-aaa-misc > [8] https://github.com/oVirt/ovirt-engine-extension-aaa-jdbc > > - Origi

[ovirt-users] glusterfs public key failure for rpm

2016-03-22 Thread Fabrice Bacchella
I tried to add a new host on a RHEL7, but it fails. In the ovirt-host-deploy-20160322171347-XXX-6ba9d4a3.log file, I found: warning: /var/cache/yum/x86_64/7/ovirt-3.6-glusterfs-epel/packages/glusterfs-libs-3.7.9-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID d5dc52dc: NOKEY Retrieving

Re: [ovirt-users] glusterfs public key failure for rpm

2016-03-22 Thread Fabrice Bacchella
The command rpm --import https://download.gluster.org/pub/gluster/glusterfs/LATEST/rsa.pub worked too. > > Le 22 mars 2016 à 17:46, Robert Story a écrit : > > On Tue, 22 Mar 2016 17:28:20 +0100 Fabrice wrote: > FB> I tried to add a new host on a RHEL7, but it fails. > FB> > FB> In the ovirt-ho

[ovirt-users] seria consol setup

2016-03-23 Thread Fabrice Bacchella
I'm reading the documentation here : http://www.ovirt.org/documentation/admin-guide/serial-console-setup/ After a few strace, I found the ssh configuration used for the custom ssh that listen on port : /usr/share/ovirt-vmconsole/ovirt-vmconsole-proxy/ovirt-vmconsole-proxy-sshd/sshd_config

Re: [ovirt-users] seria consol setup

2016-03-23 Thread Fabrice Bacchella
> Le 23 mars 2016 à 12:28, Yedidyah Bar David a écrit : > > On Wed, Mar 23, 2016 at 1:04 PM, Fabrice Bacchella > wrote: >> I'm reading the documentation here : >>http://www.ovirt.org/documentation/admin-guide/serial-console-setup/ >> >> After a

  1   2   3   >