Bug 1164226

Summary: bogus line during installer boot
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-hosted-engine-haAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: fdeutsch, gklein, jbelka, juwu, lbopf, lsurette, pstehlik, sbonazzo, sherold, ycui, yeylon, ykaul
Target Milestone: ovirt-3.6.0-rc   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-09 19:48:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1234906    

Description Jiri Belka 2014-11-14 11:39:10 UTC
Description of problem:

[  OK  ] Started Dynamic System Tuning Daemon.
[FAILED] Failed to start oVirt Hosted Engine High Availabilit...nitoring Agent.
See 'systemctl status ovirt-ha-agent.service' for details.


Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Hypervisor release 7.0 (20141107.0.el7ev)

How reproducible:
100%

Steps to Reproduce:
1. boot installer and inspect output (use ipmi to get text output)
2.
3.

Actual results:
Failed to start oVirt Hosted Engine High Availabilit...nitoring Agent.
                                                ^^^^^^^^ - ???
See 'systemctl status ovirt-ha-agent.service' for details.

Expected results:
full name of HA? this '...' is lol

Additional info:

Comment 1 Fabian Deutsch 2014-11-26 14:43:51 UTC
Two problems here:

1. The not so nice service line (too long)
2. The service fails to come up

2. is what we want to solve in this bug.
We should not bring it up as long as HE is not configured.

We can probably achieve this by adjusting the service file (condition on the existence of the config file)

Comment 2 Douglas Schilling Landgraf 2014-12-16 16:38:30 UTC
(In reply to Fabian Deutsch from comment #1)
> Two problems here:
> 
> 1. The not so nice service line (too long)
> 2. The service fails to come up
> 
> 2. is what we want to solve in this bug.

Agreed.

> We should not bring it up as long as HE is not configured.
> 

As we enable services at build time and do not enable services at runtime on node, we might need an exception in ovirt-hosted-engine-ha. 

> We can probably achieve this by adjusting the service file (condition on the
> existence of the config file)

Probably check if it's ovirt-node and there is no HE conf files... continue.
Although, we should be in better shape in ovirt-next version. 

https://github.com/oVirt/ovirt-hosted-engine-ha/blob/master/initscripts/ovirt-ha-agent.init.in#L42

What do you say Fabian?

Comment 3 Fabian Deutsch 2015-01-15 09:37:42 UTC
Sounds good Douglas.

Comment 4 Jiri Belka 2015-05-14 08:36:47 UTC
I installed 

# cat /etc/redhat-release 
oVirt Node Hypervisor release 3.6 (0.999.201505122017.el7.centos)
[root@dell-r210ii-13 ~]# 

and there is no ovirt-hosted-engine-ha rpm. The commit is into ovirt-hosted-engine-ha.git. Hmm, please confirm this is OK. I can't reproduce it anyway now.

Comment 5 Sandro Bonazzola 2015-05-14 11:58:17 UTC
Fabian, looks like ovirt Node 3.6 is missing HE support.
Can you check?

Comment 6 Fabian Deutsch 2015-05-19 09:34:24 UTC
Jiri, can you please retry with one of the current builds:
http://jenkins.ovirt.org/job/ovirt-node_ovirt-3.5_create-iso-el7_merged/

Comment 7 Jiri Belka 2015-05-20 14:22:59 UTC
Target release is 3.6 and you asked to try with ovirt-node_ovirt-3.5_create-iso-el7_merged, seems useless to verify this BZ.

Comment 8 Fabian Deutsch 2015-06-24 08:03:07 UTC
My mistake, please use this url to verify this bug:
http://jenkins.ovirt.org/job/ovirt-node_master_create-iso-el7_merged/

Comment 9 Jiri Belka 2015-06-24 09:42:27 UTC
ok,

[root@dell-r210ii-13 admin]# cat /etc/redhat-release 
oVirt Node Hypervisor release 3.6 (0.999.201506232015.el7.centos)
[root@dell-r210ii-13 admin]# rpm -qa ovirt-hosted-engine-\*
ovirt-hosted-engine-setup-1.3.0-0.0.master.20150623153111.git68138d4.el7.noarch
ovirt-hosted-engine-ha-1.3.0-0.0.master.20150615153650.20150615153645.git5f8c290.el7.noarch

[root@dell-r210ii-13 admin]# grep -E '\bFailed\b' /var/log/messages 
Jun 24 09:30:32 dell-r210ii-13 systemd-random-seed: Failed to write new random seed file: Bad file descriptor
Jun 24 09:30:32 dell-r210ii-13 systemd: Failed to start Load/Save Random Seed.
Jun 24 09:30:35 dell-r210ii-13 systemd: Failed to read PID from file /var/run/iscsid.pid: Invalid argument
Jun 24 09:37:37 localhost systemd-random-seed: Failed to write new random seed file: Bad file descriptor
Jun 24 09:37:37 localhost systemd: Failed to start Load/Save Random Seed.
Jun 24 09:37:43 localhost systemd: Failed to read PID from file /var/run/iscsid.pid: Invalid argument
Jun 24 09:37:43 localhost systemd: Failed to start OpenSSH Server Key Generation.
Jun 24 09:37:39 localhost systemd: Failed to start Crash recovery kernel arming.
Jun 24 09:38:17 localhost systemd-readahead[746]: Failed to open pack file: Read-only file system

Comment 10 Lucy Bopf 2016-02-19 10:15:34 UTC
Moving 'requires_doc_text' to '-', as this bug is verified and no longer needs to be documented as a known issue.

Comment 12 errata-xmlrpc 2016-03-09 19:48:54 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/RHEA-2016-0422.html