Project

General

Profile

Bug #13361

katello installer occasionally fails due to cpinit timeout

Added by Chris Duryee over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Occasionally, the katello installer will fail with a "command exceeded timeout" error:

[DEBUG 2016-01-25 11:01:02 main]  Executing '/usr/bin/wget --no-proxy --timeout=30 --tries=40 --wait=20 --retry-connrefused -qO- http://localhost:8080/candlepin/admin/init > /var/log/candlepin/cpinit.log 2>&1 && touch /var/lib/candlepin/cpinit_done'
[ERROR 2016-01-25 11:06:01 main]  Command exceeded timeout

Note that this is 5 minutes, not 13.33 minutes as the wget command would suggest. It appears that the puppet timeout is shorter than the wget timeout.

Associated revisions

Revision 569df685 (diff)
Added by Chris Duryee over 3 years ago

Fixes #13361: tell puppet to wait for wget to finish

The wget timeout was previously set to 13.33 minutes. However, puppet was not
aware that this command could take longer than 5 minutes, and would kill the
wget before candlepin was finished starting up.

I've seen 7 to 8 minutes for startup in some cases, depending on the
performance of the system.

Revision 1e616f57
Added by Eric D Helms over 3 years ago

Merge pull request #36 from beav/cpinit-timeout

Fixes #13361: tell puppet to wait for wget to finish

History

#1 Updated by Chris Duryee over 3 years ago

  • Status changed from New to Closed

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 86

Also available in: Atom PDF