Bug 1220119 - Log entries should explain why HE agent try to start vms on both hosts
Summary: Log entries should explain why HE agent try to start vms on both hosts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-ha
Version: 3.5.0
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ovirt-3.5.6
: 3.5.6
Assignee: Roman Mohr
QA Contact: Artyom
URL:
Whiteboard: sla
Depends On: 1150087
Blocks: 1221053
TreeView+ depends on / blocked
 
Reported: 2015-05-10 09:25 UTC by rhev-integ
Modified: 2016-01-19 09:44 UTC (History)
12 users (show)

Fixed In Version: ovirt-hosted-engine-ha-1.2.7.2-1
Doc Type: Bug Fix
Doc Text:
In self-hosted engine, when the Manager virtual machine crashes, it will be restarted on another host. However, since all hosts would attempt to restart the Manager virtual machine but only one can succeed, errors returned on the hosts that failed to restart the Manager virtual machine. Though the error is dismissed when the synchronization is complete, this could be confusing to users. This update adds a proper log message to the hosts that failed to restart the Manager virtual machine and errors are no longer returned.
Clone Of: 1150087
Environment:
Last Closed: 2015-10-26 21:39:23 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1939 0 normal SHIPPED_LIVE ovirt-hosted-engine-ha bug fix update 2015-10-27 01:38:00 UTC
oVirt gerrit 34204 0 master MERGED be more verbose when starting the HE VM fails Never
oVirt gerrit 40777 0 ovirt-hosted-engine-ha-1.2 MERGED be more verbose when starting the HE VM fails Never
oVirt gerrit 47213 0 ovirt-hosted-engine-ha-1.2 MERGED states, broker: Check for already starting VMs on other hosts Never

Comment 1 Eyal Edri 2015-05-13 07:59:07 UTC
moving to modified according to 1.2 merged patch.
please make sure to build and prepare errata for 3.5.3 asap.

Comment 2 Martin Sivák 2015-05-13 08:39:27 UTC
Sandro is doing the builds. I will prepare errata soon.

Comment 4 Artyom 2015-05-31 14:55:00 UTC
Checked on ovirt-hosted-engine-ha-1.2.6-2.el7ev.noarch

Run scenario above, but do not see any explanation logger.
Just want to clarify, from code, flow will never enter to except part, because action start VM via vdsClient success, vdsm start vm, after failed to acquire lock and destroy vm.

Comment 7 Artyom 2015-10-19 17:49:07 UTC
Verified on ovirt-hosted-engine-ha-1.2.7.2-1.el7ev.noarch

Can see message under log and under Engine status:
"Storage of VM is locked. Is another host already starting the VM?"

Comment 8 Julie 2015-10-21 22:19:42 UTC
If this bug requires doc text for errata release, please provide draft text in the doc text field in the following format:

Cause:
Consequence:
Fix:
Result:

The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Comment 9 Julie 2015-10-23 02:39:18 UTC
Thanks Roman.

Comment 11 errata-xmlrpc 2015-10-26 21:39:23 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.

https://rhn.redhat.com/errata/RHBA-2015-1939.html


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