Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1872249

Summary: hosted-engine-setup failes on slow harddrives due to timeout during grafana setup
Product: [oVirt] ovirt-hosted-engine-setup Reporter: Fabian Keilholz <fk>
Component: ToolsAssignee: Yedidyah Bar David <didi>
Status: CLOSED DUPLICATE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.4.5CC: bugs, didi, sradco
Target Milestone: ovirt-4.4.3   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-03 07:39:59 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:
Attachments:
Description Flags
Full Log
none
Log egrep 'grafana-server' none

Description Fabian Keilholz 2020-08-25 09:33:34 UTC
Description of problem:
On hosts with slow harddrives hosted-engine setup failes during the step "Starting grafana-server" because of timeout
The step actually completes, just takes longer the first time since grafana sets up database tables. 
Increasing the timeout of the step works with no issues. 
The Setup then rolls back and exists


How reproducible:
90% (My server just takes a bit longer then the timeout, sometimes it worked)

Steps to Reproduce:
1. run hosted-engine --deploy


Actual results:
TASK [ovirt.engine-setup : Run engine-setup with answerfile] failed:
Starting Grafana service
[ ERROR ] Failed to start service 'grafana-server'

however, systemctl status grafana server gives:
Active: active (running) 

Expected results:
No Errors

Additional info:

Comment 1 Yedidyah Bar David 2020-08-25 11:23:54 UTC
Looks like a duplicate of bug 1861368.

Comment 2 Fabian Keilholz 2020-08-25 12:04:25 UTC
Created attachment 1712523 [details]
Full Log

Comment 3 Fabian Keilholz 2020-08-25 12:05:07 UTC
Created attachment 1712524 [details]
Log egrep 'grafana-server'

Comment 4 Yedidyah Bar David 2020-08-27 12:55:39 UTC
The attached logs are not enough for making sure the problem is indeed too-slow grafana-server start. Do you still have engine machine logs from these failed attempts? On the host, at /var/log/ovirt-hosted-engine-setup/engine-logs*? If so, can you please attach (relevant parts of) them? Thanks.

Comment 5 Yedidyah Bar David 2020-09-03 07:39:59 UTC
Fabian, it's only been a few days since I set needinfo on you, but I am quite certain that this is indeed a duplicate, so closing. Please reopen if needed. Thanks!

*** This bug has been marked as a duplicate of bug 1861368 ***

Comment 6 Red Hat Bugzilla 2023-09-14 06:07:45 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days