Bug 1872249 - hosted-engine-setup failes on slow harddrives due to timeout during grafana setup
Summary: hosted-engine-setup failes on slow harddrives due to timeout during grafana s...
Keywords:
Status: CLOSED DUPLICATE of bug 1861368
Alias: None
Product: ovirt-hosted-engine-setup
Classification: oVirt
Component: Tools
Version: 2.4.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ovirt-4.4.3
: ---
Assignee: Yedidyah Bar David
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-25 09:33 UTC by Fabian Keilholz
Modified: 2023-09-14 06:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-09-03 07:39:59 UTC
oVirt Team: Integration
Embargoed:


Attachments (Terms of Use)
Full Log (420.19 KB, text/plain)
2020-08-25 12:04 UTC, Fabian Keilholz
no flags Details
Log egrep 'grafana-server' (29.05 KB, text/plain)
2020-08-25 12:05 UTC, Fabian Keilholz
no flags Details

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


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