oVirt Network selection doesn't select the right network during building host
Dear Foreman Team,
I have a problem during the building of an oVirt host from foreman web interface.
I have different network defined in my oVirt Datacenter as you can see in the next screenshot.
When I try to create a new host from Foreman, during the interface configuration I see all the networks, as you can see in the next screenshot.
If I select a network that aren't the first suggested (the first suggested is cloudadmin) for example ocpadmin and I save it, when I reopen the interface configuration form all is OK (is selected ocpadmin in the dropdown menu). After the other configuration I submit the host creation. The result is a new host created on oVirt with a network interface configured with cloudadmin network that are the first suggested in the network dropdown menu. As you can see in the next screenshot.
If I edit the new host and open the interface configuration form I found cloudadmin as selected item in the network dropdown menu as you can see in the next screenshot.
As test I tried to create a new host with the hammer cli and I can create a new host successfully with the correct network configuration.
For these reason I think there are some problems in the network configuration form.
Note: I have an old istance of Foreman (1.7.3) and I don't have this problem.
foreman 1.9.3 and 1.10