oVirt/ovirt-engine

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

patrick-lomakin opened this issue · 0 comments

Affected version

  • oVirt Engine: 4.5.7-0.master.20240610091440.git1043c13207.el9
  • Host OS Variant: AlmaLinux 9.4
  • VDSM version: vdsm-4.50.5.1-1.el9
  • Additional relevant package versions:

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