oVirt / ovirt-engine

The oVirt Engine virtualization manager
Other
519 stars 271 forks source link

oVirt marks the network as not synchronized if you specify the gateway address #952

Closed patrick-lomakin closed 1 month ago

patrick-lomakin commented 5 months ago

Affected version

Describe the bug From my observations, when adding a new network, the VDSM service automatically configures the host network interface with multiple static routes are used instead of the default gateway to the default gateway. The default gateway field remains empty in the host interface settings. It is also empty in the host settings through the control panel. With this configuration, Ovirt does not show that the network is not synchronized, but if no gateway is specified, the new address is unavailable from the Ovirt virtual machine. If you specify the default gateway in the network settings of the desired host, from the Ovirt virtual machine to the address from the new network on the host is pinged and everything works as it should. But after setting the default gateway, the network is marked as not synchronized. Also note that the ovirtmgmt network is also not synchronized after a clean installation.

To reproduce

  1. Login to oVirt Engine Admin Dashboard
  2. Create new network
  3. Attach new network to the host and set static IP with static default gateway
  4. New host network shows as sync-out network

Expected behavior The network is saved and remains synchronized

Screenshots Screenshot_new_host_network Screenshot_ovirt_networks

Additional context

kandadeepak commented 4 months ago

You can try with workaround 49eaf70

I got the answers from https://github.com/oVirt/ovirt-engine/issues/944

dupondje commented 4 months ago

Commit https://github.com/oVirt/vdsm/commit/49eaf70c5a14eb00e85eac5f91ac36f010a9a327 And it's not a workaround, its a proper fix :)