Bug 1187470
Summary: | katello-installer failed with /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[FQDN]: Could not evaluate: Could not load data from https://FQDN | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> | ||||||
Component: | Installation | Assignee: | Eric Helms <ehelms> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Sachin Ghai <sghai> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | Nightly | CC: | bbuckingham, cwelton, dmitry, mmccune, sdodson, sghai | ||||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||||
Target Release: | Unused | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-07-27 08:47:27 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Sachin Ghai
2015-01-30 06:31:18 UTC
redmine issue: http://projects.theforeman.org/issues/9172 Failed for a system tried manually : [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ INFO 2015-01-30 01:45:40 verbose] All hooks in group post finished [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] Repeating errors encountered during run: [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Postgresql::Server::Service/Service[postgresqld]/ensure: change from stopped to running failed: Could not enable postgresql: Execution of '/sbin/chkconfig --add postgresql' returned 1: error reading information on service postgresql: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Mongodb::Server::Service/Service[mongodb]/ensure: change from stopped to running failed: Could not enable mongod: Execution of '/sbin/chkconfig --add mongod' returned 1: error reading information on service mongod: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: Failed to call refresh: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0] [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[db:migrate]/Exec[foreman-rake-db:migrate]: /usr/sbin/foreman-rake db:migrate returned 1 instead of one of [0] [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Puppet::Agent::Service/Service[puppet]/ensure: change from stopped to running failed: Could not enable puppet: Execution of '/sbin/chkconfig --add puppet' returned 1: error reading information on service puppet: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on service foreman-proxy: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]/ensure: change from stopped to running failed: Could not enable foreman-proxy: Execution of '/sbin/chkconfig --add foreman-proxy' returned 1: error reading information on service foreman-proxy: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] Could not enable qpidd: Execution of '/sbin/chkconfig --add qpidd' returned 1: error reading information on service qpidd: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Qpid::Service/Service[qpidd]/ensure: change from stopped to running failed: Could not enable qpidd: Execution of '/sbin/chkconfig --add qpidd' returned 1: error reading information on service qpidd: No such file or directory [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /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] [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /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] [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: Failed to call refresh: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0] [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman::Database/Foreman::Rake[apipie:cache]/Exec[foreman-rake-apipie:cache]: /usr/sbin/foreman-rake apipie:cache returned 1 instead of one of [0] [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[hp-dl380pgen8-02-vm-7.lab.bos.redhat.com]: Failed to call refresh: Could not load data from https://hp-dl380pgen8-02-vm-7.lab.bos.redhat.com [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: [ERROR 2015-01-30 01:45:40 verbose] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[hp-dl380pgen8-02-vm-7.lab.bos.redhat.com]: Could not load data from https://hp-dl380pgen8-02-vm-7.lab.bos.redhat.com [hp-dl380pgen8-02-vm-7.lab.bos.redhat.com] out: Fatal error: run() received nonzero return code 6 while executing! Requested: katello-installer -v -d --foreman-admin-password="changeme" Executed: /bin/bash -l -c "katello-installer -v -d --foreman-admin-password=\"changeme\"" Aborting. Created attachment 985855 [details]
foreman-debug attached
Just to clarify, I downgraded the puppet to 3.7.3 to get rid of chkconfig issues as stated in comment 3, but still getting errors as mentioned in original description. Still an issue in recent nightly though upstream issue has been closed. Can you re-test with latest nightly and le tme know if you are still seeing this issue? Facing the same issue: [root@foo ~]# katello-installer --foreman-admin-username admin --foreman-admin-password admin123 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[cs0-sw.cs.athabascau.ca]: Could not evaluate: Could not load data from https://foo.athabascau.ca Installing Done [100%] [..........................................................] Something went wrong! Check the log for ERROR-level output The full log is at /var/log/katello-installer/katello-installer.log # rpm -q katello katello-1.5.0-30.el6sat.noarch # yum repolist Loaded plugins: product-id, security, subscription-manager repo id repo name status rhel-6-server-rpms Red Hat Enterprise Linux 6 Server (RPMs) 14,590 rhel-6-server-satellite-6.0-rpms Red Hat Satellite 6.0 (for RHEL 6 Server) (RPMs) 424 rhel-server-rhscl-6-rpms Red Hat Software Collections RPMs for Red Hat Enterprise Linux 6 Server 2,552 repolist: 17,566 (In reply to Dmitry S. Makovey from comment #9) foo.athabascau.ca and cs0-sw.cs.athabascau.ca are the same... sorry for the mess-up # katelloo-installer --reset resolved the issue for me Verified with sat6.2 beta snap6.2 Now installer name changed from katello-installer to foreman-installer and it was completed successfully with sat6.2 beta snap6.2 ~]# foreman-installer --scenario katello --foreman-admin-password changeme Installing Done [100%] [..................................................................] Success! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1500 |