[Users] Access libvirt/virsh on oVirt node

Mike Burns mburns at redhat.com
Thu Feb 7 14:36:42 UTC 2013


On Thu, 2013-02-07 at 09:33 -0500, Antoni Segura Puimedon wrote:
> Replied inline.
> 
> ----- Original Message -----
> > From: "Frank Wall" <fwall at inotronic.de>
> > To: users at ovirt.org
> > Sent: Thursday, February 7, 2013 3:25:41 PM
> > Subject: [Users] Access libvirt/virsh on oVirt node
> > 
> > Hi,
> > 
> > how can I access libvirt/virsh on oVirt node? What are the
> > credentials
> > for accessing libvirt/virsh on the command line of a oVirt node?
> 
> You can always set your own credentials for libvirt (without touching those
> of vdsm/oVirt):
> 
> saslpasswd2 -a libvirt foo
> 
> where foo is the new username.
> > 
> > virsh # list
> > Please enter your authentication name:
> > Please enter your password:
> > error: Failed to reconnect to the hypervisor
> > error: no valid connection
> > error: authentication failed: Failed to step SASL negotiation: -1
> > (SASL(-1): generic failure: All-whitespace username.)
> > 
> > 
> > It would make debugging things much easier...

You can execute virsh using the -r or --readonly options.  You can't
change anything that way, obviously, but you should be able to read all
the information from libvirt.  All changes need to be initiated through
ovirt-engine and then through vdsm.

Mike

> > 
> > 
> > Thanks
> > - Frank
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users





More information about the Users mailing list