Created attachment 798029 [details] engine.log Description of problem: Version-Release number of selected component (if applicable): is13 How reproducible: always Steps to Reproduce: 0. Create cluster with 2hosts and network filter as cluster policy. 1. Create non-required network. 2. Assign this network to host1. 3. Create vm with vnic with non-required network. 4. Run this vm. 5. Migrate vm. Actual results: Vm starts on host1, but migration fails. (vm is down, when try to run, engine says vm is migrating, could not run.) Expected results: Not possible to migrate vm. Additional info:
Hi Ondra, Can you please specify what your policy was made of? ie- which filters, weight module and balancing?
I used only network filter as filter, none weigh and none balancing.
Could not reproduce, I got: "Cannot migrate VM. There are no available running Hosts with all the networks used by the VM." as expected. my set up was: host1 - 2 nics, one is the non required host2 - 1 nic, only ovirtmgmt vm1 - 1 nic with non required network as profile Do you have an environment where this reproduces?
I couldn't reproduce it on is17. Vm is not possible to migrate on host which don't have needed network. But different problem appears: When there is exactly same setup, but only network filter is not used, then vm is not possible to migrate on host which don't have needed network. Steps to Reproduce: 1. Create cluster with 2hosts. 2. Create cluster policy with only memory filter. 3. Assign this policy to cluster with hosts. 4. Create non-required network. 5. Assign this network to host1. 6. Create vm with vnic with non-required network. 7. Run this vm. 8. Migrate vm. Actual results: Not possible to migrate vm on host without non-required network. Expected results: Possible to migrate vm, because network filter is not used.
Because bug which was originally reported is OK, new bug 1019812 was opened.