Red Hat Bugzilla – Bug 1285785
Out-of-sync non-required network causes host to become non-operational
Last modified: 2018-02-11 02:39:31 EST
Created attachment 1099280 [details]
Description of problem:
When VM network is attached to host and the network changed to be non-VM the host become non-operational even when the network is not 'required'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create VM network and attach it to host
2. Update the network to be non-VM (via UI network tab, wait for Successfully applied changes for network... in events)
3. Stop vdsmd service on the host
4. Update the network to bo VM network
5. Start vdsmd service on the host
Host is non-operational
Host is up
ERROR [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (DefaultQuartzScheduler_Worker-64) [3cd92061] Host 'host_mixed_1' is set to Non-Op
erational, the following networks are implemented as non-VM instead of a VM networks: 'net1'
Is this a regression?
Looking at the code, seems the behavior in 3.6 is the same as 3.5.
Also tried to verify it on 3.5 environment and I got this error on 'non-required' network.
The old relevant code-
The new relevant code-
In both of the cases 'getVmNetworksImplementedAsBridgeless(..)' which is responsible for retrieving the problematic networks looks the same. It ignores the 'isRequired' property.
Note- the error will be displayed only if the 'non-required' networks is attached to the host. Maybe it is the cause to the misunderstanding?
In this case the network is 'non-required' and attach to the host and the network in unsynced, as far as I know the host should be operational since the network is
We may need to rethink the semantics of "non-required", so that a non-required network may be out-of-sync without affecting the host operation status.
*** This bug has been marked as a duplicate of bug 1528853 ***