Hide Forgot
Description of problem: don't log failed migration action from REST API in Events. Similar action such as shutting down VM in down status are not logged either Version-Release number of selected component (if applicable): is21: rhevm-backend-3.3.0-0.31.beta1.el6ev.noarch rhevm-restapi-3.3.0-0.31.beta1.el6ev.noarch How reproducible: always Steps to Reproduce: 1. issue "POST /api/vms/UUID/migrate '<action/>'" 2. issue "POST /api/vms/UUID/migrate '<action/>'" again while VM is still migrating 3. look to Events Actual results: two "Migration Started" messages are logged Expected results: just first "Migration Started" message is logged (the one that actually results in migration) Additional info:
VM is now locked while it is migrated so there's no chance anymore that migrate command will start while another one is executing for the same VM.