Coder Social home page Coder Social logo

Authentication Issue about webvirtmgr HOT 9 CLOSED

lucsmitty avatar lucsmitty commented on August 23, 2024
Authentication Issue

from webvirtmgr.

Comments (9)

retspen avatar retspen commented on August 23, 2024

Try in console
$ virsh -c qemu://ip adress/system nodeinfo
What show?

from webvirtmgr.

lucsmitty avatar lucsmitty commented on August 23, 2024

I will get the exact output as soon as I can. But it gives the same
authenticate failure text followed by a unable to connect to hyper visor.
I'll get the exact text soon.

On Wednesday, February 27, 2013, Anatoliy Guskov wrote:

Try in console
$ virsh -c qemu://ip adress/system nodeinfo
What show?


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-14199489
.

from webvirtmgr.

lucsmitty avatar lucsmitty commented on August 23, 2024

Ok, your output gives:
administrator@qp-kvm-ibm:~$ virsh -c qemu://10.20.5.1/system nodeinfo
error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or
directory
error: failed to connect to the hypervisor

the output I tested with earlier with the test command from the
installation instructions:
administrator@qp-kvm-ibm:~$ virsh -c qemu+tcp://10.20.5.1/system nodeinfo
Please enter your authentication name: administrator
Please enter your password:
error: authentication failed: authentication failed
error: failed to connect to the hypervisor

and since it's barking about Certificate problems, I double checked my
libvirtd.conf file to ensure I uncommented the line to disable TLS.
administrator@qp-kvm-ibm:~$ cat /etc/libvirt/libvirtd.conf | grep tls
listen_tls = 0
#tls_port = "16514"
#auth_tls = "none"
#tls_no_sanity_certificate = 1
#tls_no_verify_certificate = 1
#tls_allowed_dn_list = ["DN1", "DN2"]

Hope that helps to find a solution. Like I said, I'm lovin this web
interface. Thanks,
Greg

On Wed, Feb 27, 2013 at 4:04 PM, Anatoliy Guskov
[email protected]:

Try in console
$ virsh -c qemu://ip adress/system nodeinfo
What show?


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-14199489
.

from webvirtmgr.

retspen avatar retspen commented on August 23, 2024

$ telent ip_adress 16509

what show ?

from webvirtmgr.

lucsmitty avatar lucsmitty commented on August 23, 2024

From another machine:
gregs@gregsKDE1204:~$ telnet 10.20.5.1 16509
Trying 10.20.5.1...
Connected to 10.20.5.1.
Escape character is '^]'.

From Localhost:(same)
administrator@qp-kvm-ibm:~$telnet 10.20.5.1 16509
Trying 10.20.5.1...
Connected to 10.20.5.1.
Escape character is '^]'.

On Thu, Feb 28, 2013 at 7:58 AM, Anatoliy Guskov
[email protected]:

$ telent ip_adress 16509

what show ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-14232033
.

from webvirtmgr.

retspen avatar retspen commented on August 23, 2024

Try input login with @Domain:
$ virsh -c qemu+tcp://10.20.5.1/system nodeinfo
Please enter your authentication name: admin@domain

Where @Domain - hostname server or show domain in password.db:
$ sasldblistusers2 -f /etc/libvirt/passwd.db
admin@domain: userPassword

from webvirtmgr.

lucsmitty avatar lucsmitty commented on August 23, 2024

Success!

It works if I use the full user@domain login. Any idea why it worked this
way on one machine and only user was needed on another?
Thanks,
Greg

On Thu, Feb 28, 2013 at 8:47 AM, Anatoliy Guskov
[email protected]:

Try input login with @Domain https://github.com/domain:

$ virsh -c qemu+tcp://10.20.5.1/system nodeinfo
Please enter your authentication name: admin@domain

Where @Domain https://github.com/domain - hostname server or show
domain in password.db:
$ sasldblistusers2 -f /etc/libvirt/passwd.db
admin@domain: userPassword


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-14233767
.

from webvirtmgr.

retspen avatar retspen commented on August 23, 2024

This problem with local DNS.

from webvirtmgr.

scalemonks-support avatar scalemonks-support commented on August 23, 2024

HI,
I am not able to open webvirtmgr console with the help of eliknks.
root@web-virtmgr:/var/www/webvirtmgr# netstat -tulnp | grep LISTEN
tcp 0 0 0.0.0.0:16509 0.0.0.0:* LISTEN 7938/libvirtd
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7550/nginx
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 710/sshd
tcp6 0 0 :::22 :::* LISTEN 710/sshd
root@web-virtmgr:/var/www/webvirtmgr# elinks http://192.168.122.54:8000/

from webvirtmgr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.