Sys::Virt Tests Pass but the same usage else where fails

Hello Monks

I'm working on a project to automate deployment of VMs (with a Ceph/RBD back end).

My tests pass but when I attempt to use the same code in another application libvirt fails to connect.

libvirt error code: 38, message: Cannot recv data: ssh: connect to hos +t port 22: No route to host: Connection reset by peer

I've tried everything I can think of, but I'm stumped. Any help is appreciated.

You can find a version of the code in the tests work branch: (this includes the dependancies for defining the ceph host, however, this branch assumes no Ceph cluster and tests according to that assumption)

well.. now I don't know...