You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug was introduced when /usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml was modified here #695
COMPONENT NAME
Software Version:4.5.6-1.el8
STEPS TO REPRODUCE
Compute > Hosts > Add , select a Host cluster that is not the Default
or click on failed installed, and reinstall
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)
.
.
when:
- cluster_switch == "ovs" or (ovn_central is defined and ovn_central | ipaddr)
.
.
when:
- ovn_central is defined
- ovn_central | ipaddr
you will then get the same error as reported in #695
"The conditional check 'cluster_switch == \"ovs\" or (ovn_central is defined | ipaddr)' failed. The error was: The ipaddr filter requires python's netaddr be installed on the ansible controller\n\nThe error appears to be in '/usr/share/ovirt-engine/ansible-runner-service-project/project/roles/ovirt-provider-ovn-driver/tasks/configure.yml': line 3, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n- block:\n - name: Install ovs\n ^ here\n",
to fix this , find out which version of python ansible is using
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.
The text was updated successfully, but these errors were encountered:
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/[email protected]/msg73109.html
might be related to this too?
https://www.mail-archive.com/[email protected]/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
#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
#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.
The text was updated successfully, but these errors were encountered: