Created attachment 1307077 [details] Logs Description of problem: Setting non-mgmt network as default route network while not attached to host will keep ovirtmgmt as out of sync. We are allow to set a non-mgmt network with all available network roles while not attached to the host. Doing this on the default route property will leave the ovirtmgmt network as out-of-sync. We should keep the ovirtmgmt synced or block such option. But i'm not sure that this is correct. We need to discuss it. Version-Release number of selected component (if applicable): 4.2.0-0.0.master.20170730103259.gitb12378f.el7.centos How reproducible: 100 Steps to Reproduce: 1. Create non-mgmt network and don't attach to any host 2. Via 'Networks' > Clusters > Manage Networks set the non-mgmt network with defualt route Actual results: ovirtmgmt is out-of-sync Expected results: 1) Sync ovirtmgmt 2) Block such scenario
Note that there are 2 different flows for it: 1) Via 'Networks' > Clusters' > Manage Networks > setting the non-mgmt network while not attached to the host will leave the ovirtmgmt as out-of-sync for ever. 2) Via 'Clusters' > 'Logical Network> Manage Networks > setting the non-mgmt network while not attached to the host will sync the ovirtmgmt after 2 minutes+- and host will remain without default route.
After a discussion on this bug, we decided to not fix this as we believe this is a reasonable behavior and we do not want to limit the admin. We do need to make sure the out of sync message is clear.
(In reply to Yaniv Lavi from comment #2) > After a discussion on this bug, we decided to not fix this as we believe > this is a reasonable behavior and we do not want to limit the admin. We do > need to make sure the out of sync message is clear. This may be a problem and it is a bug. If user sets a non-mgmt network with default route property and it's not attached to the host(ovirtmgmt is out of sync!, so it is a bug), this will leave the host without default route if the user choose to sync the ovirtmgmt from this point. - If we decide to not block it, we must take care to sync the ovirtmgmt. So i think it is a bug, or sync the ovirtmgmt or make sure the admin knows his host is out of sync with management network.
Currently, with the new changes that Martin fixed and about to merge, setting non-mgmt network as default route network while not attached to host will sync ovirtmgmt, but host will be left with out default route in such scenario. We need to notify the admin that host has no route. See BZ 1477589 to track this.