Bug 1195463
Summary: | getting "Could not evaluate: Could not load data from https://<fqdn>" during `katello-installer --upgrade` | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> |
Component: | Installation | Assignee: | Stephen Benjamin <stbenjam> |
Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | bbuckingham, cwelton |
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: | 2015-05-11 20:35:21 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1195450 |
Description
Jan Hutař
2015-02-23 21:37:13 UTC
Then I have fixed problem with foreman-tasks, this is the output: # katello-installer --upgrade Upgrading... Upgrade Step: migrate_pulp... Upgrade Step: migrate_candlepin... Upgrade Step: migrate_foreman... Upgrade Step: Running installer... /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Could not evaluate: Could not load data from https://<fqdn> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Failed to call refresh: Could not load data from https://<fqdn> /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Could not load data from https://<fqdn> Installing Done [100%] [.........................................................................................................................................................] Upgrade Step: db:seed... Upgrade Step: Running errata import task (this may take a while)... Something went wrong! Check the log for ERROR-level output The full log is at /var/log/katello-installer/katello-installer.log # grep -B 3 -A 3 '\[ERROR' /var/log/katello-installer/katello-installer.log | sed "s/$(hostname)/<fqdn>/g" [DEBUG 2015-02-23 17:00:29 main] /Stage[main]/Certs::Foreman/Exec[foreman_certs_config]/unless: /etc/foreman/client_cert.pem [DEBUG 2015-02-23 17:00:29 main] /Stage[main]/Certs::Foreman/Exec[foreman_certs_config]/unless: /etc/foreman/client_key.pem [ INFO 2015-02-23 17:00:29 main] RESOURCE Exec[foreman_certs_config] [ERROR 2015-02-23 17:00:58 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Could not evaluate: Could not load data from https://<fqdn> [ INFO 2015-02-23 17:00:58 main] - is your server down? [ INFO 2015-02-23 17:00:58 main] - was rake apipie:cache run when using apipie cache? (typical production settings) [ INFO 2015-02-23 17:00:58 main] /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.11/lib/apipie_bindings/api.rb:264:in `retrieve_apidoc' -- [ INFO 2015-02-23 17:00:58 main] /usr/lib/ruby/site_ruby/1.8/puppet/util/command_line.rb:91:in `execute' [ INFO 2015-02-23 17:00:58 main] /usr/bin/puppet:8 [ INFO 2015-02-23 17:00:58 main] RESOURCE Foreman_smartproxy[<fqdn>] [ERROR 2015-02-23 17:01:26 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Failed to call refresh: Could not load data from https://<fqdn> [ INFO 2015-02-23 17:01:26 main] - is your server down? [ INFO 2015-02-23 17:01:26 main] - was rake apipie:cache run when using apipie cache? (typical production settings) [ERROR 2015-02-23 17:01:26 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Could not load data from https://<fqdn> [ INFO 2015-02-23 17:01:26 main] - is your server down? [ INFO 2015-02-23 17:01:26 main] - was rake apipie:cache run when using apipie cache? (typical production settings) [ INFO 2015-02-23 17:01:26 main] /usr/lib/ruby/gems/1.8/gems/apipie-bindings-0.0.11/lib/apipie_bindings/api.rb:264:in `retrieve_apidoc' -- [DEBUG 2015-02-23 17:02:24 main] Hook /usr/share/katello-installer/hooks/post/10-post_install.rb returned nil [ INFO 2015-02-23 17:02:24 main] All hooks in group post finished [DEBUG 2015-02-23 17:02:24 main] Exit with status code: 6 (signal was 6) [ERROR 2015-02-23 17:02:24 main] Repeating errors encountered during run: [ERROR 2015-02-23 17:02:24 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Could not evaluate: Could not load data from https://<fqdn> [ERROR 2015-02-23 17:02:24 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Failed to call refresh: Could not load data from https://<fqdn> [ERROR 2015-02-23 17:02:24 main] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[<fqdn>]: Could not load data from https://<fqdn> [DEBUG 2015-02-23 17:02:24 main] Cleaning /etc/katello-installer/d20150223-25461-qg7g08 [DEBUG 2015-02-23 17:02:24 main] Cleaning /tmp/default_values.yaml Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. I'm going to mark this as a duplicate of BZ1205737. A number of improvements were made to how we handle services during the upgrade, so I think this will resolve your problem. At the very least, the preflight check of the upgrade will now detect the bad state of foreman-tasks and bail out with a more helpful message, giving the user the opportunity to fix it before continuing. *** This bug has been marked as a duplicate of bug 1205737 *** |