Red Hat Bugzilla – Bug 1015721
Migration fails due to bad call to vdsm api
Last modified: 2016-06-12 19:16:54 EDT
Description of problem:
Hosted engine agent fails to migrate the engine vm to another host due to a bad call to the 'migrate' vdsm verb.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up 2 hosted engine hosts
2. Let agent start vm
3. Make other host have much higher score to trigger migration (one way is to block the first host's gateway access using iptables)
Migration fails, noted in /var/log/ovirt-hosted-engine-ha/agent.log. The vm is shut down and then restarted on the other host.
Migration succeeds and vm should move to other host without the restart.
Created attachment 816879 [details]
agent and vdsm logs
Verification failed on ovirt-hosted-engine-ha-0.1.0-0.3.1.beta1.el6ev.noarch
See logs for more details
Migration works from host with low cpu to high cpu and fail from high cpu to low.
Cluster set with low_cpu.
Artyom, can you open up a new bz for this one? It looks like the original issue of the bad api call is resolved (as some migrations work), and another issue related to cluster cpu levels has come up. Thanks.
When I migrate from low to high all work fine and no error in vdsm or agent log
Thanks for opening the new bug. Moving this one back to on_qa, while looking into the other.
Verified on ovirt-hosted-engine-ha-0.1.0-0.5.1.beta1.el6ev.noarch
This bug is currently attached to errata RHEA-2013:15591. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.
Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:
* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')
Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.
For further details on the Cause, Consequence, Fix, Result format please refer to:
Thanks in advance.
ovirt-hosted-engine-ha is a new package; does not need errata for bugs during its development.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.