http://www.perlmonks.org?node_id=972722

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 192.198.0.35 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: https://github.com/three18ti/Build-VM/tree/tests-work (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...