katello-installer or satellite-installer is failing because of wget not honoring timout settings

Solution Verified - Updated -

Issue

  • During the installation of Satellite 6.1 or 6.2 the following error is reported by katello-installer
/usr/bin/wget --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 returned 4 instead of one of [0]
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun to 0 failed: /usr/bin/wget --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 returned 4 instead of one of [0]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite6.server.example.com]: Failed to call refresh: Could not load data from https://satellite6.server.example.com
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satellite6.server.example.com]: Could not load data from https://satellite6.server.example.com

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Satellite 6.1
  • Red Hat Satellite 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content