Bug 1263168 - [ovirt_hosted_engine_ha] Engine vm running on localhost -> Engine vm running on local host ($host)
[ovirt_hosted_engine_ha] Engine vm running on localhost -> Engine vm running ...
Status: CLOSED WONTFIX
Product: ovirt-hosted-engine-ha
Classification: oVirt
Component: General (Show other bugs)
---
Unspecified Unspecified
low Severity low (vote)
: ovirt-4.2.0
: ---
Assigned To: Martin Sivák
meital avital
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-15 05:20 EDT by Jiri Belka
Modified: 2017-07-26 04:27 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-07-26 04:27:56 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: SLA
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
dfediuck: ovirt‑4.2?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

  None (edit)
Description Jiri Belka 2015-09-15 05:20:54 EDT
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 05:23:48 EDT
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 05:54:34 EDT
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 05:55:18 EDT
Engine vm running locally ($host) ?
Comment 4 Doron Fediuck 2017-07-26 04:27:56 EDT
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.

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