Bug 886822
| Summary: | engine: incorrect error message in event log for failed manual migration while host is in preparing for maintenance | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Dafna Ron <dron> | ||||
| Component: | General | Assignee: | Nobody <nobody> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 3.1 | CC: | bazulay, bsettle, bugs, lpeer, michal.skrivanek, rbalakri, Rhev-m-bugs, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-03-10 09:46:30 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
per scrub mtg pushed to 3.4 this bug won't fit into 3.5 release and is being deferred to a later release. If you deeply care about this bug and deserves to be re-evaluated please let me know Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. |
Created attachment 662806 [details] logs Description of problem: I put one of my hosts in maintenance in a 3 hosts cluster some of the vms succeeded to migrate and some failed. host was stuck in preparing for maintenance. I tried to manually migrate one of the vm's which failed to migrate to the first host and than engine automatically tried to migrate to the second host. the migration failed to the second host with the following error: VM migration failed due to Error: Fatal error during migration while Host is in 'preparing for maintenance' state. Consider manual intervention: stopping/migrating Vms as Host's state will not turn to maintenance while VMs are still running on it.(VM: RHEL6-1, Source H Version-Release number of selected component (if applicable): si25.2 How reproducible: 100% Steps to Reproduce: ***we need 3 hosts*** 1. put host in maintenance and make sure vms cannot migrate (in my case I had a live snapshot performed which prevented the vm from migrating) 2. try to manually migrate the vm to any of the hosts 3. Actual results: when migration fails we try to re-migrate the vm since the migration is done automatically by engine we give the same error as we would if we failed during host maintenance. Expected results: we should issue a correct error is the migration was manual and not related to the host status. Additional info:logs