Re: [Users] Access libvirt/virsh on oVirt node

2013-02-07 Thread Frank Wall
On Thu, Feb 07, 2013 at 09:36:42AM -0500, Mike Burns wrote:
> 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.

Using --readonly works like a charm and does not hurt oVirt. 
This is the way to go! Thank you!


Regards
- Frank
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Access libvirt/virsh on oVirt node

2013-02-07 Thread Dan Kenigsberg
On Thu, Feb 07, 2013 at 09:33:04AM -0500, Antoni Segura Puimedon wrote:
> Replied inline.
> 
> - Original Message -
> > From: "Frank Wall" 
> > To: users@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.

But please note that accessing libvirt without the --readonly flag may
lead to tears. By doing so you revoke the warrenty you never had.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Access libvirt/virsh on oVirt node

2013-02-07 Thread Shahar Havivi
On 07.02.13 15:25, Frank Wall wrote:
> 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?
> 
> virsh # list
Try open it for read-only:
$ virsh -r

> 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...
> 
> 
> Thanks
> - Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Access libvirt/virsh on oVirt node

2013-02-07 Thread Mike Burns
On Thu, 2013-02-07 at 09:33 -0500, Antoni Segura Puimedon wrote:
> Replied inline.
> 
> - Original Message -
> > From: "Frank Wall" 
> > To: users@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@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> > 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Access libvirt/virsh on oVirt node

2013-02-07 Thread Antoni Segura Puimedon
Replied inline.

- Original Message -
> From: "Frank Wall" 
> To: users@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...
> 
> 
> Thanks
> - Frank
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Access libvirt/virsh on oVirt node

2013-02-07 Thread Frank Wall
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?

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...


Thanks
- Frank
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users