Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1030367 - [race] Host stays in "Preparing for maintenance" forever if requested while incoming live migrations
Summary: [race] Host stays in "Preparing for maintenance" forever if requested while i...
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 3.3.2
Assignee: Roy Golan
QA Contact: Artyom
Whiteboard: virt
Depends On: 966503
TreeView+ depends on / blocked
Reported: 2013-11-14 10:56 UTC by rhev-integ
Modified: 2018-12-05 16:35 UTC (History)
16 users (show)

Fixed In Version: is35
Doc Type: Bug Fix
Doc Text:
Previously, attempting to move a host into maintenance mode resulted in a static "Preparing for maintenance" status because virtual machines on that host with a "Migrating to" status were unable to be migrated elsewhere. Now, ongoing migrations to the chosen host are cancelled when maintenance mode is selected on that host, and the host will reattempt to enter maintenance mode after a period of five minutes.
Clone Of: 966503
Last Closed: 2014-04-09 17:53:13 UTC
oVirt Team: ---
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 380273 None None None Never
Red Hat Product Errata RHBA-2014:0384 normal SHIPPED_LIVE rhevm 3.3.2 bug fix update 2014-04-09 21:52:20 UTC
oVirt gerrit 17942 None None None Never
oVirt gerrit 20899 None None None Never

Comment 2 Itamar Heim 2014-02-23 09:15:45 UTC
Description of problem:
Customer requests a host to enter maintenance mode while incoming live migrations are running.
Host fails to enter maintenance mode and stays in "Preparing for maintenance" even after 16 hours.

Version-Release number of selected component (if applicable):

How reproducible:
Customer has only tried this once so far.

Steps to Reproduce:
1. Start live migrations to a host.
2. Through webadmin gui, request the host to enter maintenance mode while the incoming live migrations are running.

Actual results:
Host remains in "Preparing for maintenance" forever.

Expected results:

a) Host eventually enters maintenance mode as requested.

- Incoming live migrations are cancelled.
- Incoming live migrations are completed and then live migrated back out of the host.

b) An error message is displayed and host remains up.
E.g. "Could not switch to maintenance mode while migrations targeting this host are running. Running migration tasks are <list of VM's currently migrating to this host>".

Comment 4 Artyom 2014-03-20 13:15:19 UTC
Verified on is35
If live migration in progress, and we put destination host to maintenance, maintenance failed(because migration in progress), but after 5 minutes engine repeat attemption and success(migrate vms on other host and put host to maintenance).

Comment 5 Zac Dover 2014-04-03 02:26:00 UTC
This bug is currently attached to errata RHBA-2014:17286. 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.

Comment 7 errata-xmlrpc 2014-04-09 17:53:13 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.