Bug 1083750 - Distinguish between manual fence resulted from user action and manual fence called internally by auto fence
Summary: Distinguish between manual fence resulted from user action and manual fence ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.4.0
Assignee: Eli Mesika
QA Contact: sefi litmanovich
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-02 21:13 UTC by Eli Mesika
Modified: 2016-02-10 19:07 UTC (History)
10 users (show)

Fixed In Version: org.ovirt.engine-root-3.4.0-14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26385 0 master MERGED core: Distinguish between manual fence resulted.. Never
oVirt gerrit 26743 0 ovirt-engine-3.4 MERGED core: Distinguish between manual fence resulted.. Never

Description Eli Mesika 2014-04-02 21:13:49 UTC
Description of problem:
Distinguish between manual fence resulted from user action  and manual fence called internally by auto fence 

Manual fence currently can be executed in 2 flows 

1) As part of the non responding treatment when host is restart via its PM agent.

2) As a result of a manual host stopping and choosing "confirm Host has been rebooted" from the right-click popup menu

The messages generated by both to the log are of the format:

Manual fence for host ${VdsName} was started.
Manual fence for host ${VdsName} failed.

When this occurs in scenario 1) above, teh term "manual" in the audit log is confusing and should be changed to reflect the fact that was done internally by the engine code and not by the user 

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


How reproducible:


Steps to Reproduce:
1.Have 2 Hosts in the Clustet/DC one with tested PM configuration
2.Block connection to the host from engine 
3.After host is rebooted check the engine log for "Manual fence for host ${VdsName} was started." message

Actual results:
Messages with the term "manual" are logged when the fence operation is internal

Expected results:
Messages with the term "manual" are not logged when the fence operation is internal, engine should provide a different suitable message for that 

Additional info:

Comment 1 sefi litmanovich 2014-04-30 12:36:03 UTC
Verified on rhevm-3.4.0-0.16.rc.el6ev.noarch. with hosts with vdsm-4.14.7-0.2.rc.el6ev.x86_64.

1. stopped network on host with pm. host was rebooted using power management and the audit log didn't show the original "manual fence" message.
2. if I use power management through ui, get the same result as expected
3. shut-down the host. host becomes non-responsive. then start the host again and chose 'confirm host has been rebooted' in the ui. in this case got the message 'Manual fence host rose07 was started as expected

Comment 2 Itamar Heim 2014-06-12 14:08:46 UTC
Closing as part of 3.4.0


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