Open SkullKill opened 8 months ago
Hello
In my case, I have no OVN on my engine, but the OVN stuff got installed on the hosts, failing as well with same issue.
I hardly found a workaround :
Setting ovn_state: "unconfigured"
in engine /usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/defaults/main.yml
SUMMARY
Unable to add add/deploy new virtual host when not using the default cluster. Failing when configuring OVN for oVirt part.
looks like other people had the same issue https://www.mail-archive.com/users@ovirt.org/msg73109.html
might be related to this too? https://www.mail-archive.com/users@ovirt.org/msg72728.html
bug was introduced when /usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml was modified here https://github.com/oVirt/ovirt-ansible-collection/issues/695
COMPONENT NAME
Software Version:4.5.6-1.el8
STEPS TO REPRODUCE
EXPECTED RESULTS
host is added into oVirt
ACTUAL RESULTS
workaround
change /usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml to be same as on ovirt-engine 4.5.4. (on the manager)
you will then get the same error as reported in https://github.com/oVirt/ovirt-ansible-collection/issues/695
to fix this , find out which version of python ansible is using
in my case, pyton3.12, then install netaddr for it
after that, adding new host in non default cluster works fine.
suggested fix, would be to revert the ovn configure.yml to what it was before, and auto install the netaddr ? or figure out why it is failing to add on non default cluster and fix.