Libvirtd compute with TCP + SASL?

Hi,

I didn't find anything in the doc but is Foreman compatible with Libvirtd +
TCP/SASL? When I try to connection
with: qemu+tcp://test.domain.com:16509/system I get:

Error making a connection to libvirt URI qemu+tcp://xxx:16509/system: Call
to virConnectOpen failed: authentication failed: Failed to start SASL
negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)

Regards,

> Error making a connection to libvirt URI qemu+tcp://xxx:16509/system: Call
> to virConnectOpen failed: authentication failed: Failed to start SASL
> negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs found)

Foreman uses Fog which uses the original system libvirt-ruby (or
ruby-libvirt depends on the platform) library. That's part of libvirt
itself.

Foreman passes URL, user and password along into the library which
handles that. It should work I think.

Can you connect with the standard CLI virsh?

··· -- Later, Lukas #lzap Zapletal

Yes it works using virsh -c qemu+tcp:// but it asks for a user / password.

https://libvirt.org/drvqemu.html

··· On Monday, November 23, 2015 at 6:07:11 AM UTC-5, Lukas Zapletal wrote: > > > Error making a connection to libvirt URI qemu+tcp://xxx:16509/system: > Call > > to virConnectOpen failed: authentication failed: Failed to start SASL > > negotiation: -4 (SASL(-4): no mechanism available: No worthy mechs > found) > > Foreman uses Fog which uses the original system libvirt-ruby (or > ruby-libvirt depends on the platform) library. That's part of libvirt > itself. > > Foreman passes URL, user and password along into the library which > handles that. It should work I think. > > Can you connect with the standard CLI virsh? > > -- > Later, > Lukas #lzap Zapletal >