
Hi, I got a lot of good advices to fix my issue. Thanks to all . Regards, J.P. -----Message d'origine----- De : users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] De la part de users-request@ovirt.org Envoyé : vendredi 4 décembre 2015 17:11 À : users@ovirt.org Objet : Users Digest, Vol 51, Issue 35 Send Users mailing list submissions to users@ovirt.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.ovirt.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request@ovirt.org You can reach the person managing the list at users-owner@ovirt.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. Re: [libvirt-users] virsh athentification failure (Daniel P. Berrange) 2. RE : virsh athentification failure Users Digest, Vol 51, Issue 34 (Jean-Pierre Ribeauville) 3. Re: Virt-v2v import issue (Michal Skrivanek) 4. Re: Migration from VirtualBox to oVirt (do's and don'ts) (Michal Skrivanek) 5. Re: Virt-v2v import issue (Budur Nagaraju) 6. Re: [libvirt-users] virsh athentification failure (Michal Skrivanek) 7. Re: virsh athentification failure Users Digest, Vol 51, Issue 34 (Michal Skrivanek) ---------------------------------------------------------------------- Message: 1 Date: Fri, 4 Dec 2015 15:26:04 +0000 From: "Daniel P. Berrange" <berrange@redhat.com> To: Jean-Pierre Ribeauville <jpribeauville@axway.com> Cc: "libvirt-users@redhat.com" <libvirt-users@redhat.com>, "users@ovirt.org" <users@ovirt.org> Subject: Re: [ovirt-users] [libvirt-users] virsh athentification failure Message-ID: <20151204152604.GE18045@redhat.com> Content-Type: text/plain; charset=utf-8 On Fri, Dec 04, 2015 at 03:18:19PM +0000, Jean-Pierre Ribeauville wrote:
Hi,
I wrote a C program running in a KVM host. Part of it adds a Unix Channel device in all Guests in order to have a dialog from Host to Guest. As long as my host wasn't part of an Ovirt cluster , all was running fine.
I added my host in a ovirt cluster , and then , when running the script creating the channel device ( by using "virsh attach-device --persistent -live ....." ) , I got following error :
Please enter your authentication name: Please enter your password: error: failed to connect to the hypervisor error: no valid connection error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): generic failure: All-whitespace username.)
What's the user/password I've to use then ?
When you attach a compute node to oVirt, it sets up auth with libvirt to prevent admins from connecting to libvirt. If you want to oiverride that you need to create yourself a SASL user + password using the saslpasswd2 command eg see http://libvirt.org/auth.html#ACL_server_username Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ------------------------------ Message: 2 Date: Fri, 4 Dec 2015 15:42:20 +0000 From: Jean-Pierre Ribeauville <jpribeauville@axway.com> To: "users@ovirt.org" <users@ovirt.org> Subject: [ovirt-users] RE : virsh athentification failure Users Digest, Vol 51, Issue 34 Message-ID: <1051EFB4D3A1704680C38CCAAC5836D2929DC391@WPTXMAIL2.ptx.axway.int> Content-Type: text/plain; charset="iso-8859-1" Hi, AFA IUnderstand , /var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0 is a channel used for QEMU agent , so no way to use it for private purpose. J.P. -----Message d'origine----- De?: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] De la part de users-request@ovirt.org Envoy??: vendredi 4 d?cembre 2015 16:24 ??: users@ovirt.org Objet?: Users Digest, Vol 51, Issue 34 Send Users mailing list submissions to users@ovirt.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.ovirt.org/mailman/listinfo/users or, via email, send a message with subject or body 'help' to users-request@ovirt.org You can reach the person managing the list at users-owner@ovirt.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Users digest..." Today's Topics: 1. virsh athentification failure (Jean-Pierre Ribeauville) 2. Re: virsh athentification failure (Nathana?l Blanchet) 3. Re: virsh athentification failure (Nathana?l Blanchet) ---------------------------------------------------------------------- Message: 1 Date: Fri, 4 Dec 2015 15:18:19 +0000 From: Jean-Pierre Ribeauville <jpribeauville@axway.com> To: "users@ovirt.org" <users@ovirt.org> Cc: "libvirt-users@redhat.com" <libvirt-users@redhat.com> Subject: [ovirt-users] virsh athentification failure Message-ID: <1051EFB4D3A1704680C38CCAAC5836D2929DC35C@WPTXMAIL2.ptx.axway.int> Content-Type: text/plain; charset="iso-8859-1" Hi, I wrote a C program running in a KVM host. Part of it adds a Unix Channel device in all Guests in order to have a dialog from Host to Guest. As long as my host wasn't part of an Ovirt cluster , all was running fine. I added my host in a ovirt cluster , and then , when running the script creating the channel device ( by using "virsh attach-device --persistent -live ....." ) , I got following error : Please enter your authentication name: Please enter your password: error: failed to connect to the hypervisor error: no valid connection error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1): generic failure: All-whitespace username.) What's the user/password I've to use then ? BTW , I've seen that following channel device was added to the Guest at its creation : /var/lib/libvirt/qemu/channels/ad1a8b0e-f8b6-4038-be3d-275f38e66eb3.org.qemu.guest_agent.0 What's used for ? I presume I cannot use for my private purpose ? I sent this topic to ovirt and libvirt mailing lists , cos I don't know which forum is the right one for this kind of subject. Thanks for help. Regards, J.P. Ribeauville P: +33.(0).1.47.17.20.49 . Puteaux 3 Etage 5 Bureau 4 jpribeauville@axway.com<mailto:jpribeauville@axway.com> http://www.axway.com<http://www.axway.com/> P Pensez ? l'environnement avant d'imprimer.