Description of problem: the opta planner is recommend to migrate vm. after i click to migrate the vm, i get this error : Status: Migration start failed (409): [Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:, The host host_mixed_1 did not satisfy internal filter Memory because has availabe 912 MB memory. Insufficient free memory to run the VM.] Version-Release number of selected component (if applicable): optimizer should not suggest migrate VM that can't be migrated. How reproducible: 100% Steps to Reproduce: 1. have a setup with two hosts and optimizer installed 2. create a big VM that consumed (almost) the Max free Memory for scheduling new VMs (to be less then 1GB) for example (if i have VM with 16G memory, then create Vm with 15G memory) 3. create 6 vm with 1BG memory 4. optimizer will recommend to migrate a vm, try to migrate the vm and the you will get this error : Status: Migration start failed (409): [Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:, The host host_mixed_1 did not satisfy internal filter Memory because has availabe 912 MB memory. Insufficient free memory to run the VM.] Actual results: will get this error : Status: Migration start failed (409): [Cannot migrate VM. There is no host that satisfies current scheduling constraints. See below for details:, The host host_mixed_1 did not satisfy internal filter Memory because has availabe 912 MB memory. Insufficient free memory to run the VM.] Expected results: optimizer should not suggest migrate VM that can't be migrated. Additional info:
Created attachment 1098256 [details] optimizer suggest to migrate VM that can't be migrated.
This is related to the change in engine's memory filter. The optimizer rules have to be updated to make sure both engine and optimizer compute the values in the same way.
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset. Please set the correct milestone or add the z-stream flag.
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.
oVirt 4.0 beta has been released, moving to RC milestone.
This is a bit harder to fix as predicting free memory of a host multiple steps into the future requires detailed knowledge about shared pages and libraries. I am removing it from 4.0.6 right now and we should plan it for a release with sufficient time for a proper design.
This request has been proposed for two releases. This is invalid flag usage. The ovirt-future release flag has been cleared. If you wish to change the release flag, you must clear one release flag and then set the other release flag to ?.
We currently do not have resources to fix this.