Bug 1263168

Summary: [ovirt_hosted_engine_ha] Engine vm running on localhost -> Engine vm running on local host ($host)
Product: [oVirt] ovirt-hosted-engine-ha Reporter: Jiri Belka <jbelka>
Component: GeneralAssignee: Martin Sivák <msivak>
Status: CLOSED WONTFIX QA Contact: meital avital <mavital>
Severity: low Docs Contact:
Priority: low    
Version: ---CC: bugs, dfediuck, jbelka, lsurette, ykaul, ylavi
Target Milestone: ---Flags: sbonazzo: ovirt-4.2-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-26 08:27:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Belka 2015-09-15 09:20:54 UTC
Description of problem:
IMO this message is not the best one:

ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on localhost

Imagine one uses some loghost and read a log for example in kibana and what does 'localhost' tells him? Not much, right?

So I suppose it is changed to:

ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on local host ($host)

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

How reproducible:
100%

Steps to Reproduce:
1. have self-hosted engine on two nodes
2. observe /var/log/ovirt-hosted-engine-ha/agent.log for the message
3.

Actual results:
ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on localhost

Expected results:
ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine::(consume) Engine vm running on local host ($host)

Additional info:

Comment 1 Martin Sivák 2015-09-15 09:23:48 UTC
Don't you see the host of origin when you merge logs from multiple machines or forward the syslog stream to a remote server? We would be duplicating that info..

Comment 2 Jiri Belka 2015-09-15 09:54:34 UTC
My nitpicking is that localhost is so generic. And... does engine VM really runs on localhost? IMO localhost is lo* netiface but engine VM is not binded to 127.0.0.0/8 :P Anyway, localhost is not best word here. (Yes, logs can be prefixed by hostname string.)

Comment 3 Jiri Belka 2015-09-15 09:55:18 UTC
Engine vm running locally ($host) ?

Comment 4 Doron Fediuck 2017-07-26 08:27:56 UTC
There's a way to see the HE VM location these days in the UI, as well as in the logs.
We won't be perusing this issue any more. If someone needs it, patches are welcomed.