[GH-ISSUE #40] libvir: RPC error : authentication failed: authentication failed #33

Closed
opened 2026-02-27 16:00:46 +03:00 by kerem · 2 comments
Owner

Originally created by @jlillis on GitHub (Mar 13, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/40

When trying to manage a new connection, I get an error at the top of the connection's overview page saying "authentication failed: authentication failed", while the dashboard says the connection was successful. Also, "libvir: RPC error : authentication failed: authentication failed" is output in the gunicorn console.

I tried to test it via virsh, but I am still unable to connect. Any ideas?

(venv)jlillis@odin:/opt/webvirtmgr$ virsh -c qemu+tcp://127.0.0.1/system nodeinfo
Please enter your authentication name: jlillis
Please enter your password:
error: authentication failed: authentication failed
error: failed to connect to the hypervisor

Originally created by @jlillis on GitHub (Mar 13, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/40 When trying to manage a new connection, I get an error at the top of the connection's overview page saying "authentication failed: authentication failed", while the dashboard says the connection was successful. Also, "libvir: RPC error : authentication failed: authentication failed" is output in the gunicorn console. I tried to test it via virsh, but I am still unable to connect. Any ideas? (venv)jlillis@odin:/opt/webvirtmgr$ virsh -c qemu+tcp://127.0.0.1/system nodeinfo Please enter your authentication name: jlillis Please enter your password: error: authentication failed: authentication failed error: failed to connect to the hypervisor
kerem closed this issue 2026-02-27 16:00:46 +03:00
Author
Owner

@retspen commented on GitHub (Mar 13, 2013):

$ sasldblistusers2 -f /etc/libvirt/passwd.db
and put username with domain:
Please enter your authentication name: jlillis@domain

<!-- gh-comment-id:14826643 --> @retspen commented on GitHub (Mar 13, 2013): $ sasldblistusers2 -f /etc/libvirt/passwd.db and put username with domain: Please enter your authentication name: jlillis@domain
Author
Owner

@jlillis commented on GitHub (Mar 13, 2013):

I will test this later today (don't have access to the server at the moment).

<!-- gh-comment-id:14840584 --> @jlillis commented on GitHub (Mar 13, 2013): I will test this later today (don't have access to the server at the moment).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#33
No description provided.