Error installing in VMware behind proxy

Posted on

Hi, i'm trying to install Satellite, but installer finish with error:

I first install a Red Hat 7 in a VMware with kickstart, and then, set proxy (export http_proxy, https_proxy), register and subscript to 'Red Hat Satellite' pool. Set repos, after run this command:

satellite-installer --scenario satellite --foreman-initial-organization "TRE-MS" --foreman-initial-location "Datacenter" --foreman-admin-password MYPASSWORD --capsule-puppet true --foreman-proxy-puppetca true --foreman-proxy-tftp true --enable-foreman-plugin-discovery --foreman-proxy-dns true --foreman-proxy-dns-interface "ens192" --foreman-proxy-dns-zone "tre-ms.jus.br" --foreman-proxy-dns-forwarders "10.19.1.1" --foreman-proxy-dns-reverse "112.19.10.in-addr.arpa" --foreman-proxy-dhcp true --foreman-proxy-dhcp-interface "ens192" --foreman-proxy-dhcp-range "10.19.112.1 10.19.112.254" --foreman-proxy-dhcp-gateway "10.19.1.20" --foreman-proxy-dhcp-nameservers "10.19.1.1" --foreman-proxy-tftp true --foreman-proxy-tftp-servername "satelliteserver" --katello-proxy-url=http://10.19.1.30 --katello-proxy-port=8080 --katello-proxy-username=linuxpkginstall --katello-proxy-password=PROXYPASSWORD

and getting this error:

/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 returned 4 instead of one of [0]
/Stage[main]/Candlepin::Service/Exec[cpinit]/returns: change from notrun to 0 failed: /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 returned 4 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satelliteserver.tre-ms.jus.br]: Failed to call refresh: Proxy satelliteserver.tre-ms.jus.br cannot be registered (Could not load data from https://satelliteserver.tre-ms.jus.br
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[satelliteserver.tre-ms.jus.br]: Proxy satelliteserver.tre-ms.jus.br cannot be registered (Could not load data from https://satelliteserver.tre-ms.jus.br
Installing Done [100%] [...................................................................................]
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/satellite.log

Any help?

Responses