RE : virsh athentification failure Users Digest, Vol 51, Issue 34

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.

On 04 Dec 2015, at 16:42, Jean-Pierre Ribeauville <jpribeauville@axway.com> wrote:
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.
no, it’s occupied by qemu-ga even if you don’t start the guest process occupying it you would likely be interfering with libvirt’s internal functionality…..create your own and you can do whatever you want:)
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
participants (2)
-
Jean-Pierre Ribeauville
-
Michal Skrivanek