vagrant-ovirt4
vagrant-ovirt4 copied to clipboard
oVirt test connection always failing
trafficstars
We've been updating our servers to latest Vagrant and Vagrant-Ovirt4 on Ubuntu 20.04, and found it always failed:
$ vagrant up
Error connecting to the oVirt cluster endpoint: "wrong number of arguments (given 2, expected 0..1)"
The fix was to change the line (lib/vagrant-ovirt4/action/connect_ovirt.rb):
ovirt_connection.test(true, 30)
to
ovirt_connection.test(true)
Not sure why this is the case, as the API doc does indicate the code should have been fine: https://www.rubydoc.info/gems/ovirt-engine-sdk/OvirtSDK4%2FConnection:test -- perhaps the gem is still behind. Anyway, this might help someone else who comes across this.