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 >

[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

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 <fabrice.bacche...@orange.fr> a > écrit : > > In the UI, I see 73 open sessions, all open by me. > > In

[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

Re: [ovirt-users] slow kerberos authentication

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

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 <fabrice.bacche...@orange.fr> a > écrit : > > Ok, I found where it's slow, it's a ldapsearch on our AD: > > time ldapsearch -a never -E pr=10

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:

Re: [ovirt-users] slow kerberos authentication

2017-05-12 Thread Fabrice Bacchella
> Le 12 mai 2017 à 13:35, Ondra Machacek <omach...@redhat.com> a écrit : > > > > On Fri, May 12, 2017 at 1:18 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > The request is indeed quite slow with

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 > <fabrice.bacche...@orange.fr> wrote: > I'm using kerberos authenticatio

[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

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

2017-05-10 Thread Fabrice Bacchella
10 mai 2017 à 08:21, Oved Ourfali <oourf...@redhat.com> a écrit : > > > > On Tue, May 9, 2017 at 11:46 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > I'm whining because ovirt is a wonderful product, peopl

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

2017-05-09 Thread Fabrice Bacchella
gt; If you don'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 <fabrice.bacche...@orange.fr > <mailto:fabric

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

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

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 <fabrice.bacche...@orange.fr> a > écrit : > > I'm playing with the python sdk and getting : &

[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

[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

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 <fabrice.bacche...@orange.fr> a > écrit : > > I'm looking for so

[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] 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,

[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] 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

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 <d...@redhat.com> a écrit : > > On Tue, Apr 25, 2017 at 12:14 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr> wrote: >> >>> Le 25 avr. 2017 à 10:27, Yedidyah Bar David <d...@redhat.com> a écrit

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 <d...@redhat.com> a écrit : > > On Tue, Apr 25, 2017 at 11:14 AM, Fabrice Bacchella > <fabrice.bacche...@orange.fr> wrote: >> >>> Le 25 avr. 2017 à 07:59, Yedidyah Bar David <d...@redhat.com> a écr

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 <d...@redhat.com> a écrit : > > On Mon, Apr 24, 2017 at 5:59 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr> wrote: >> https://www.dropbox.com/s/70h2ajt049i89p6/ovirt-engine.log.tar.gz?dl=0 > > Seems like

[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

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

Re: [ovirt-users] upgrade to 4.1

2017-04-23 Thread Fabrice Bacchella
> Le 23 avr. 2017 à 10:56, Yedidyah Bar David <d...@redhat.com> a écrit : > > On Sun, Apr 23, 2017 at 10:59 AM, Fabrice Bacchella > <fabrice.bacche...@orange.fr> wrote: >> >>> Le 23 avr. 2017 à 07:59, Yedid

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

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

[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()

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

2017-04-20 Thread Fabrice Bacchella
> Le 20 avr. 2017 à 16:35, Juan Hernández <jhern...@redhat.com> 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 manua

[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

[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

Re: [ovirt-users] SKD4

2017-04-09 Thread Fabrice Bacchella
> Le 9 avr. 2017 à 11:25, Yaniv Kaul a écrit : > > However, I tend to agree with closing the bug - I'd create a library (module) > *on top of the SDK* . The comment in the bug is quite clear about it: > "The objective of the SDK is to offer the same that the API offers,

Re: [ovirt-users] SKD4

2017-04-09 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 17:21, Ondra Machacek <omach...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 5:00 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > Ho my good, in ovirtsdk.services.py &l

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 20:06, Yaniv Kaul <yk...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 5:30 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > > > Le 6 avr. 2017 à 16:12, Yaniv Kaul &l

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 17:21, Ondra Machacek <omach...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 5:00 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > Ho my good, in ovirtsdk.services.py &l

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
Ho my good, in ovirtsdk.services.py, for every service, there is a different method with a different name that return a associated service, so it's not possible to have a generic like: def resolve(service, ...): id = . return service.service(id) because the generic call

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 16:12, Yaniv Kaul <yk...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 4:49 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > >> Le 6 avr. 2017 à 15:32, Yaniv Kaul &

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 16:12, Yaniv Kaul a écrit : > Seriously though - perhaps you could borrow code from our Ansible module? > See[1]. > If the code already exists, why it's not already in the sdk instead of having to dig throw external code ?

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 15:47, Yaniv Kaul a écrit : > > > Perhaps in your case. Here[1] is an example of the ovirt system tests, which > were only partially converted (work in progress...) to v4 API. yes that really related to my use case. Another problem that I have with lack

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 15:32, Yaniv Kaul <yk...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 3:58 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > Yes I'm starting to understand that thinki

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
> Le 6 avr. 2017 à 15:32, Yaniv Kaul <yk...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 3:58 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > Yes I'm starting to understand that thinki

Re: [ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
t.github.io/ovirt-engine-api-model/master/> > > There are tens of examples in the RPM (and online). > See https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples > <https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples> > > HTH, > Y. > >

[ovirt-users] SKD4

2017-04-06 Thread Fabrice Bacchella
I trying to migrate my python code from sdk3 to sdk4, is there any migration doc, documentation help about that ? Even google is unable to find anything relevant about that. ___ Users mailing list Users@ovirt.org

Re: [ovirt-users] Failed to attach a disk

2017-01-23 Thread Fabrice Bacchella
I send you a private mail. > Le 22 janv. 2017 à 13:52, Maor Lipchuk <mlipc...@redhat.com> a écrit : > > Hi Fabrice, > > Can you please attach the VDSM and engine logs > > Thanks, > Maor > > On Wed, Jan 18, 2017 at 5:05 PM, Fabrice Bacche

[ovirt-users] Failed to attach a disk

2017-01-18 Thread Fabrice Bacchella
I upgraded an host to the latest version of vdsm: vdsm-4.18.21-1.el7.centos.x86_64, on a CentOS Linux release 7.3.1611 (Core) I then created a disk that I wanted to attach to a running vm, but il fails, with the message in /var/log/libvirt/qemu/.log: Could not open

Re: [ovirt-users] I wrote an oVirt thing

2016-11-27 Thread Fabrice Bacchella
Looks like close to my own try : https://github.com/fbacchella/ovirtcmd > Le 26 nov. 2016 à 22:10, Chris Cowley a écrit : > > Hi all > > I started hacking together something last night to use as a CLI to > manage my oVirt clusters. > >

[ovirt-users] new internal SSO

2016-08-12 Thread Fabrice Bacchella
I'm currently fighting with the new mandatory SSO system introduced in 4.0. It's also used internally as ovirt-engine is calling himself, as shown in the apache log, to identity himself to himself: [2016-08-12 11:30:24] 10.83.16.34 "ovirt.prod.exalead.com" "POST /ovirt-engine/sso/status

Re: [ovirt-users] Unable to login to the WEB UI

2016-08-12 Thread Fabrice Bacchella
> Le 11 août 2016 à 11:37, Fabrice Bacchella <fabrice.bacche...@icloud.com> a > écrit : > > >> Le 11 août 2016 à 09:31, Martin Perina <mper...@redhat.com >> <mailto:mper...@redhat.com>> a écrit : >> >> Hi Fabrice, >> >>

Re: [ovirt-users] Unable to login to the WEB UI

2016-08-10 Thread Fabrice Bacchella
> > Thanks. > > 2016-08-03 14:34 GMT-03:00 Martin Perina <mper...@redhat.com > <mailto:mper...@redhat.com>>: > > > On Wed, Aug 3, 2016 at 5:25 PM, Fabrice Bacchella > <fabrice.bacche...@icloud.com <mailto:fabrice.bacche...@icloud.com>> wrote: > N

Re: [ovirt-users] upgrade to ovirt 4 failed

2016-08-08 Thread Fabrice Bacchella
> Le 8 août 2016 à 08:34, Sandro Bonazzola <sbona...@redhat.com> a écrit : > > > > On Wed, Aug 3, 2016 at 12:19 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > I'm running on Centos 7, just upgraded to

Re: [ovirt-users] Unable to login to the WEB UI

2016-08-03 Thread Fabrice Bacchella
Next step : The UI says, even with a restarted navigator: org.codehaus.jackson.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@74749f78; line: 3, column: 2]

Re: [ovirt-users] Unable to login to the WEB UI

2016-08-03 Thread Fabrice Bacchella
icate signed by external CA? If so please follow > steps described in Doc Text of > > https://bugzilla.redhat.com/show_bug.cgi?id=1336838 > > Thanks > > Martin Perina > > > On Wed, Aug 3, 2016 at 1:18 PM, Fabrice Bacchella > <fabrice.bacche...@icloud.com> w

[ovirt-users] Unable to login to the WEB UI

2016-08-03 Thread Fabrice Bacchella
After the upgrad, I'm unable to log in, I'm getting the following error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Where should I look to

[ovirt-users] Unusable log in engine.log

2016-08-03 Thread Fabrice Bacchella
In the engine.log, there are many line like that : grep '2016-08-03 13:00:46,371 INFO .org.ovirt.engine.core.vdsbroker.HostDevListByCapsVDSCommand. .org.ovirt.thread.pool-8-thread-16. .28054a0c. ' /var/log/ovirt-engine/engine.log | wc 18574 179635 1 line 8574 words 179635

Re: [ovirt-users] Upgrade to 4.0.1 failed with NPE on org.postgresql.jdbc.TypeInfoCache.getSQLType

2016-08-03 Thread Fabrice Bacchella
resql-jdbc drivers 9.4-1209, but those are not > packaged in RPMs AFAIK. > > Thanks > > Martin Perina > > > On Wed, Aug 3, 2016 at 12:31 PM, Fabrice Bacchella > <fabrice.bacche...@icloud.com <mailto:fabrice.bacche...@icloud.com>> wrote: > I'm running

[ovirt-users] Upgrade to 4.0.1 failed with NPE on org.postgresql.jdbc.TypeInfoCache.getSQLType

2016-08-03 Thread Fabrice Bacchella
I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes. But now I'm getting that in /var/log/ovirt-engine/engine.log: 2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 54) [] Error during initialization:

[ovirt-users] upgrade to ovirt 4 failed

2016-08-03 Thread Fabrice Bacchella
I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes. But now I'm getting that in /var/log/ovirt-engine/engine.log: 2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.Backend] (ServerService Thread Pool -- 54) [] Error during initialization:

[ovirt-users] ldap and multiple profiles

2016-07-04 Thread Fabrice Bacchella
I want to setup two LDAP base profile. One is backed using an active directory (for real users) One is backed using an openldap (for service account). I have to problem with this setup. One it's that in the log I see many "Creating LDAP pool 'authz'" and "Creating LDAP pool 'authn'". If I have

Re: [ovirt-users] Network redundancy with Manual balancing per VLAN

2016-06-27 Thread Fabrice Bacchella
Isn't teaming[1] the futur, instead of bonding ? [1] http://rhelblog.redhat.com/2014/06/23/team-driver/ > Le 27 juin 2016 à 14:31, Fernando Frediani a > écrit : > > Thanks for the reply. > > Perhaps is the case of contacting the maintainer of Linux Bond module

Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Fabrice Bacchella
> Le 17 juin 2016 à 12:33, Vinzenz Feenstra <vfeen...@redhat.com> a écrit : > > >> On Jun 17, 2016, at 12:12 PM, Fabrice Bacchella >> <fabrice.bacche...@icloud.com <mailto:fabrice.bacche...@icloud.com>> wrote: >> >> >>> Le

Re: [ovirt-users] migration failed with permission denied

2016-06-17 Thread Fabrice Bacchella
> Le 17 juin 2016 à 12:05, Vinzenz Feenstra <vfeen...@redhat.com> a écrit : > > Hi Fabrice, > >> On Jun 17, 2016, at 11:41 AM, Fabrice Bacchella >> <fabrice.bacche...@icloud.com <mailto:fabrice.bacche...@icloud.com>> wrote: >> >> I'm ru

[ovirt-users] update eats maintenance reason

2016-06-17 Thread Fabrice Bacchella
I put an host in maintenance with 'update reason' : maintenance update Then click "Upgrade in the GUI, the maintenance reason is gone : maintenance Using the API gave the same result. ___ Users mailing

[ovirt-users] migration failed with permission denied

2016-06-17 Thread Fabrice Bacchella
I'm running an up to date ovirt setup. I tried to put an host in maintenance mode, with one VM running on it. It failed with this message in vdsm.log: Thread-351083::ERROR::2016-06-17 11:30:04,732::migration::209::virt.vm::(_recover) vmId=`b82209c9-42ff-457c-bb98-b6a2034833fc`::internal

[ovirt-users] strange API parameters default in python SDK

2016-06-06 Thread Fabrice Bacchella
When I'm looking the RHEV's documentation about the API class in the python SDK, I see : persistent_auth Specifies whether persistent authentication is enabled for this connection. Valid values are True and False. This parameter is optional and defaults to False. filter Specifies whether or

Re: [ovirt-users] Getting SPICE connection parameters with Python-SDK

2016-06-06 Thread Fabrice Bacchella
Le 5 juin 2016 à 13:22, Michal Skrivanek a écrit : On 05 Jun 2016, at 12:37, nico...@devels.es wrote: Hi, On user portal, when users click on the "Connect" link of a VM that is configured to be run with "Native client" and SPICE protocol, a .vv file is

Re: [ovirt-users] Getting SPICE connection parameters with Python-SDK

2016-06-05 Thread Fabrice Bacchella
> Le 5 juin 2016 à 12:37, nico...@devels.es a écrit : > > Hi, > > On user portal, when users click on the "Connect" link of a VM that is > configured to be run with "Native client" and SPICE protocol, a .vv file is > generated with the connection parameters so the SPICE client knows where to

[ovirt-users] listing domains fails

2016-05-31 Thread Fabrice Bacchella
I'm trying to list domains using the api, and I'm getting a strange message : > GET /api/storagedomains;case_sensitive=True HTTP/1.1 ... > Version: 3 > Content-Type: application/xml > Accept: application/xml > Filter: False > Prefer: persistent-auth > Content-Length: 0 < HTTP/1.1 404 Not Found <

Re: [ovirt-users] How to automate the ovirt host deployment?

2016-05-31 Thread Fabrice Bacchella
> Le 28 mai 2016 à 11:50, Arman Khalatyan a écrit : > > Thank you for the hint. I will try next week. > Foreman looks quite complex:) > > I would prefer simple Python script with 4 lines: add, install, setup > networks and activate. > You could have a look at my sample

Re: [ovirt-users] failing update ovirt-engine on centos 7

2016-05-30 Thread Fabrice Bacchella
> Le 30 mai 2016 à 15:01, Michal Skrivanek <michal.skriva...@redhat.com> a > écrit : > > >> On 30 May 2016, at 14:57, Fabrice Bacchella <fabrice.bacche...@orange.fr> >> wrote: >> >>> >>> Running with selinux disabled is not r

Re: [ovirt-users] failing update ovirt-engine on centos 7

2016-05-30 Thread Fabrice Bacchella
> > Running with selinux disabled is not recommended nor supported. > It should be easy to skip over that problem, but in general this is not > something you should hit in normal environment That's very theorical recommandation. selinux is very very often disabled, because nobody really

Re: [ovirt-users] failing update ovirt-engine on centos 7

2016-05-25 Thread Fabrice Bacchella
> Le 25 mai 2016 à 17:25, Kapetanakis Giannis <bil...@edu.physics.uoc.gr> a > écrit : > > On 25/05/16 17:59, Fabrice Bacchella wrote: >> I have an dedicated machin to run ovirt-engine (not hosted). It's an up to >> date centos 7.2.1511 >> >> I instal

[ovirt-users] failing update ovirt-engine on centos 7

2016-05-25 Thread Fabrice Bacchella
I have an dedicated machin to run ovirt-engine (not hosted). It's an up to date centos 7.2.1511 I installed ovirt 3.6.6 a few weeks ago (May 10 17:56:44 tells me yum.log) Now, I'm trying a full yum update and getting : # yum update Error: Package:

Re: [ovirt-users] editing VM settting

2016-05-25 Thread Fabrice Bacchella
e response? There is no such thing. There is always > some value, empty or non-empty. > > Shmuel > > On Tue, Apr 12, 2016 at 6:40 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrote: > I'm trying to change the

Re: [ovirt-users] editing VM settting

2016-05-24 Thread Fabrice Bacchella
want , etc. > not to appear in engine response? There is no such thing. There is always > some value, empty or non-empty. > > Shmuel > > On Tue, Apr 12, 2016 at 6:40 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@orange.fr>> wrot

[ovirt-users] unreachable iso domain

2016-05-19 Thread Fabrice Bacchella
I try to attach an iso domain but it keep saying that it doesn't exist. But if I look in /etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf, the directory given in OVESETUP_CONFIG/isoDomainStorageDir exists and the logs says : 2016-05-19 19:23:23,900 ERROR

[ovirt-users] disk order in vm and disk order in export

2016-05-16 Thread Fabrice Bacchella
I have a VM with the following disks (in the ordrer return by a get query): ... vm_sys 17179869184 <- 16GiB virtio_scsi true image vm_data virtio_scsi false 1099511627776 <- 1 TiB. 0 lun So the

Re: [ovirt-users] creation of lun disks

2016-05-13 Thread Fabrice Bacchella
> Le 13 mai 2016 à 20:04, Juan Hernández <jhern...@redhat.com> a écrit : > > On 05/13/2016 04:21 PM, Fabrice Bacchella wrote: >> I'm trying to generated a lun disk, using the python SDK. >> >> My code can be found >> at https://github.com/fbacchella/ovirt

[ovirt-users] creation of lun disks

2016-05-13 Thread Fabrice Bacchella
I'm trying to generated a lun disk, using the python SDK. My code can be found at https://github.com/fbacchella/ovirtcmd/blob/master/ovlib/disks/__init__.py If a try to see the content of a existing disk and test with : print disk.get_type() print disk.get_storage_type() I'm getting : None lun

Re: [ovirt-users] Log4j hostname

2016-05-11 Thread Fabrice Bacchella
You're showing a logstash parsing, extracted from a message formatted using syslog. All the magic should be in the pattern line (log4j.appender.myappender.layout.ConversionPattern=[%c] %m%). And logstash failed to parse the line anyway (see the _grokparsefailure). Did you try to send native

Re: [ovirt-users] configuring bonding on host

2016-05-10 Thread Fabrice Bacchella
> Le 10 mai 2016 à 09:55, Alona Kaplan a écrit : > > > > You should modify the already existing network_attachment. > Here, since you don't pass the existing attachment 'id', we're trying to > create a new attachment. > Since you didn't remove the old one, we get two

Re: [ovirt-users] configuring bonding on host

2016-05-09 Thread Fabrice Bacchella
> > I think I will soon have more questions about what is a modified or removed > object when creating bond, but I will need to play a little more with it. > Ok, I started to play with the right setupnetworks, and I'm getting strange results. When I try to transform an eth0 attachement to a

Re: [ovirt-users] configuring bonding on host

2016-05-09 Thread Fabrice Bacchella
> Le 7 mai 2016 à 22:49, Fabrice Bacchella <fabrice.bacche...@orange.fr> a > écrit : > > >> Le 7 mai 2016 à 18:18, Juan Hernández <jhern...@redhat.com> a écrit : >> >> On 05/06/2016 05:20 PM, Fabrice Bacchella wrote: >>> I'm following the ex

Re: [ovirt-users] configuring bonding on host

2016-05-07 Thread Fabrice Bacchella
> Le 7 mai 2016 à 18:18, Juan Hernández <jhern...@redhat.com> a écrit : > > On 05/06/2016 05:20 PM, Fabrice Bacchella wrote: >> I'm following the example given >> in http://www.ovirt.org/develop/api/pythonapi/ for bonding interfaces. >> >> What am I

[ovirt-users] a new CLI for oVirt

2016-05-06 Thread Fabrice Bacchella
To try to learn the python SDK, and help the automation of my setup, I wrote a CLI to oVirt. It tries to hide some of the complexity, so some simple python script like : dc = context.datacenter(name="dc1") if dc is not None: dc.delete(force=True) context.datacenter().create(name="dc1",

[ovirt-users] configuring bonding on host

2016-05-06 Thread Fabrice Bacchella
I'm following the example given in http://www.ovirt.org/develop/api/pythonapi/ for bonding interfaces. I'm checking that the network is a plain configuration, exporting /api/hosts//nics return : eth1 none down

Re: [ovirt-users] ovirt and JMX

2016-04-29 Thread Fabrice Bacchella
> Le 29 avr. 2016 à 18:11, Juan Hernández a écrit : > > So, it is the string "public", which means "any-address". The meaning of > "any-address" depends on what IP version is used by default by the Java > Virtual Machine, and in 3.6 the default is IPv6. Unless you want to

[ovirt-users] ovirt and JMX

2016-04-29 Thread Fabrice Bacchella
I'm trying to communicate with ovirt-engine using jmx. I read https://www.ovirt.org/develop/developer-guide/engine/jmx-support/ In the line ENGINE_JMX_INTERFACE=public what is public ? Is that the string 'public', if I set that, ovirt-engine don't listen any more on port 8706. If i set it to

Re: [ovirt-users] 3.6 upgrade issue

2016-04-26 Thread Fabrice Bacchella
> Le 26 avr. 2016 à 20:28, gregor a écrit : > Did you create a bug entry? > I'm tired of creating bugs for oVirt. Every time I touch oVirt I hit 1-5 > bugs, it's so time consuming :-( > > cheers > gregor I was afraid I was doing something wrong with it. I'm happy to

[ovirt-users] advanced users authentication, using kerberos, CAS SSO and Active Directory

2016-04-25 Thread Fabrice Bacchella
I have a production were hard coded password are avoided. We prefer to use kerberos. We also provided a SSO for Web UI using CAS . We use ActiveDirectory for user backend. So I wanted a oVirt installation that will use kerberos for API

Re: [ovirt-users] python sdk and /api/hosts/{host:id}/install

2016-04-21 Thread Fabrice Bacchella
> Le 21 avr. 2016 à 18:06, Juan Hernández <jhern...@redhat.com> a écrit : > > On 04/21/2016 04:58 PM, Fabrice Bacchella wrote: >> I'm trying to the use the API to reinstall an hosts. >> >> But if a post the following content : >> POST /api/hosts/X/in

[ovirt-users] python sdk and /api/hosts/{host:id}/install

2016-04-21 Thread Fabrice Bacchella
I'm trying to the use the API to reinstall an hosts. But if a post the following content : POST /api/hosts/X/install > > > false > > > 22 > SHA256: > publickey > > I get the error : [Cannot edit Host. Power Management is enabled for

Re: [ovirt-users] ldap servers configuration can be misleading with AD

2016-04-20 Thread Fabrice Bacchella
> Le 20 avr. 2016 à 10:16, Ondra Machacek <omach...@redhat.com> a écrit : > > On 04/19/2016 07:46 PM, Fabrice Bacchella wrote: >> >>> Le 19 avr. 2016 à 17:35, Ondra Machacek <omach...@redhat.com> a écrit : >>> >>> On 04/19/2016 04:37 P

Re: [ovirt-users] ldap servers configuration can be misleading with AD

2016-04-19 Thread Fabrice Bacchella
> Le 19 avr. 2016 à 17:35, Ondra Machacek <omach...@redhat.com> a écrit : > > On 04/19/2016 04:37 PM, Fabrice Bacchella wrote: >> I tried to plug ovirt using my company AD. >> >> But I have a problem, the DNS srv records are not well managed and

[ovirt-users] ldap servers configuration can be misleading with AD

2016-04-19 Thread Fabrice Bacchella
I tried to plug ovirt using my company AD. But I have a problem, the DNS srv records are not well managed and I can't use them so I changed pool.default.serverset.type from srvrecord to failover. But it was not enough, it was still using those invalid records. It was used by

Re: [ovirt-users] adding glusterfs to ovirt

2016-04-18 Thread Fabrice Bacchella
> Le 18 avr. 2016 à 10:37, Sahina Bose <sab...@redhat.com> a écrit : > > > > On 04/13/2016 09:00 PM, Fabrice Bacchella wrote: >> I installed a oVirt stack without glusterfs. Now I want to add it. So I >> configured a cluster to be a gluster-enabled one. Now i

[ovirt-users] attaching a storage domain to a datacenter

2016-04-14 Thread Fabrice Bacchella
I'm trying to attach a SAN domain to data center. It's an old domain that is re-attached. Import works fine. But doing the attachement failed, either throug the UI or REST API call. The log of the api calls are : > POST /api/datacenters/92fbe5d6-2920-401d-b69b-ad4568e4f407/storagedomains >

[ovirt-users] adding glusterfs to ovirt

2016-04-13 Thread Fabrice Bacchella
I installed a oVirt stack without glusterfs. Now I want to add it. So I configured a cluster to be a gluster-enabled one. Now i want to add a gluster volume to it. That went fine until I click Ok at the "New Volume" dialog, the answer was : Error while executing action Create Gluster Volume:

<    1   2   3   >