My Oracle Support Banner

OLVM: Sync All Networks Failed with "Error while executing action SyncAllHostNetworks: Network is currently being used." (Doc ID 2676939.1)

Last updated on MARCH 23, 2022

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64


When clicking "Sync All Networks" on one KVM host in AdminPortal, it fails with "Error while executing action SyncAllHostNetworks: Network is currently being used."

ovirt-engine log reports below error:

2020-06-03 15:54:39,595+12 ERROR [] (default task-7) [583f3532] Command '' failed: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to HostSetupNetworksVDS, error = Bridge VM_Public has interfaces set([u'vnet0']) connected, code = 28 (Failed with error ERR_USED_BRIDGE and code 28)
2020-06-03 15:54:39,597+12 INFO [] (default task-7) [583f3532] Lock freed to object 'EngineLock:{exclusiveLocks='[HOST_NETWORKxxxxxxxxxxx=HOST_NETWORK]', sharedLocks=''}'
2020-06-03 15:54:39,601+12 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-7) [583f3532] EVENT_ID: PERSIST_SETUP_NETWORK_ON_HOST_FAILED(10,904), (1/1): Failed to apply changes on host KVMHost. (User: xxx@internal-authz)
2020-06-03 15:54:39,605+12 ERROR [] (default task-7) [583f3532] Transaction rolled-back for command ''.
2020-06-03 15:54:39,611+12 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-7) [583f3532] EVENT_ID: HOST_SYNC_ALL_NETWORKS_FAILED(10,900), Failed to sync all host KVMHost networks

supervdsm.log reports below error:

MainProcess|jsonrpc/6::ERROR::2020-06-03 15:54:48,972::supervdsm_server::103::SuperVdsm.ServerCallback::(wrapper) Error in setupNetworks
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/", line 101, in wrapper
res = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 228, in setupNetworks
_setup_networks(networks, bondings, options, net_info)
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 249, in _setup_networks
networks, bondings, options, net_info, in_rollback)
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch/", line 139, in setup
_setup(networks, bondings, options, in_rollback, net_info)
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch/", line 157, in _setup
legacy_nets, legacy_bonds, options, net_info, in_rollback)
File "/usr/lib/python2.7/site-packages/vdsm/network/netswitch/", line 194, in _setup_legacy
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 346, in remove_networks
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 168, in wrapped
return func(network, configurator, net_info, bondattr, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 274, in _del_network
bridged and not keep_bridge, _netinfo)
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 323, in _validateDelNetwork
_assert_bridge_clean(network, vlan, bonding, nics)
File "/usr/lib/python2.7/site-packages/vdsm/network/", line 258, in _assert_bridge_clean
' %s connected' % (bridge, brifs))
ConfigNetworkError: (28, u"Bridge VM_Public has interfaces set([u'vnet0']) connected")


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.