Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oVirt test connection always failing #149

Open
cliffe opened this issue Jul 9, 2021 · 0 comments
Open

oVirt test connection always failing #149

cliffe opened this issue Jul 9, 2021 · 0 comments

Comments

@cliffe
Copy link
Contributor

cliffe commented Jul 9, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant