Description of problem:
[OVN] Run OVN tasks on host re-install flow
The OVN tasks are not executed as they should during the host re-install flow.
I'm pretty sure this is a regression, i know this area of code was otuched lately.
When performing a host re-install the OVN tasks doesn't triggered during the ansible deploy as they should.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add fresh host to a cluster with OVN as network default provider
2. Set host to maintenance
3. Do re-install
1. OVN tasks run as expected and OVN configured
3. OVN tasks doesn't triggered and OVN wasn't configured
3. OVN tasks should be triggered on host re-install as well
I'm pretty sure this is a regression.
Looks like the association of the host to the network provider is lost sometimes:
engine=# select vds_name,openstack_network_provider_id from vds_static;
vds_name | openstack_network_provider_id
host_mixed_2 | a0ee5275-cd53-4884-848c-2a3e2cfe504c
This is an inconsistency in the db, because the network provider is managed completely on cluster level.
One way to fix the bug would be to find the flow which created the inconsistency.
Alternatively we could think about replacing the openstack_network_provider_id column by a reference to the network provider of the cluster and remove all code which writes to this column.
Can be tested with 4.4.3.
Sorry for the confusion, the fix is ovirt-engine-4.4.4 only.
Verified on - rhvm-4.4.4-0.1.el8ev.noarch
This bugzilla is included in oVirt 4.4.4 release, published on December 21st 2020.
Since the problem described in this bug report should be resolved in oVirt 4.4.4 release, it has been closed with a resolution of CURRENT RELEASE.
If the solution does not work for you, please open a new bug report.