Bug 1121787
Summary: | "Failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0]" on RHEL7 | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> |
Component: | Installation | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Og Maciel <omaciel> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.3 | CC: | bbuckingham, bhamrick, bkearney, cwelton, dcleal, fernando, inecas, jhutar, jmontleo, mmccune, nerawat, omaciel, xdmoon |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/7104 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-11 12:24:24 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: | 1115190 |
Description
Jan Hutař
2014-07-21 21:19:38 UTC
Could you attach foreman-debug when this happens? It looks like an error coming from the server's API back to the installer, so the full stack trace should be captured in production.log. Hi I have exactly the same problem when i installing katello (Sat6BETA) on rhel-6.5. My Production Log pushing me: (i replaced my FQDN with "myhost") Connection refused - "/usr/share/foreman/tmp/sockets/dynflow_socket" (Errno::ECONNREFUSED) /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.1/lib/dynflow/executors/remote_via_socket/core.rb:142:in `initialize' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.1/lib/dynflow/executors/remote_via_socket/core.rb:142:in `new' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.1/lib/dynflow/executors/remote_via_socket/core.rb:142:in `connect' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.1/lib/dynflow/executors/remote_via_socket/core.rb:70:in `delayed_initialize' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.1/lib/dynflow/micro_actor.rb:95:in `run' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.1/lib/dynflow/micro_actor.rb:13:in `block in initialize' /opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context' Processing by HostsController#externalNodes as YML Parameters: {"name"=>"myhost"} No Capsule server found on ["myhost"] and is not in trusted_puppetmaster_hosts Redirected to https://myhost/users/login Filter chain halted as :require_puppetmaster_or_login rendered or redirected Completed 403 Forbidden in 20ms (ActiveRecord: 2.8ms) Processing by Api::V2::HostsController#facts as JSON Parameters: {"facts"=>"[FILTERED]", "name"=>"myhost", "certname"=>"myhost", "apiv"=>"v2", "host"=>{"facts"=>"[FILTERED]", "name"=>"myhost", "certname"=>"myhost"}} No Capsule server found on ["myhost"] and is not in trusted_puppetmaster_hosts Rendered api/v2/errors/access_denied.json.rabl within api/v2/layouts/error_layout (0.7ms) Filter chain halted as :require_puppetmaster_or_login rendered or redirected Completed 403 Forbidden in 8ms (Views: 1.3ms | ActiveRecord: 1.7ms) Processing by HostsController#externalNodes as YML Parameters: {"name"=>"myhost"} No Capsule server found on ["myhost"] and is not in trusted_puppetmaster_hosts Redirected to https://myhost/users/login Filter chain halted as :require_puppetmaster_or_login rendered or redirected Completed 403 Forbidden in 6ms (ActiveRecord: 0.8ms) Processing by Api::V2::ReportsController#create as JSON Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"} No Capsule server found on ["myhost"] and is not in trusted_puppetmaster_hosts Rendered api/v2/errors/access_denied.json.rabl within api/v2/layouts/error_layout (0.6ms) Filter chain halted as :require_puppetmaster_or_login rendered or redirected Completed 403 Forbidden in 167ms (Views: 1.4ms | ActiveRecord: 0.9ms) may you can give me a hint for solving this issue, thank you. BR Fernando Changing title of the bugzilla so it reflects first issue encountered. This seems to be nicely reproducible so if any other info is needed, please let me know. (In reply to Fernando from comment #4) > Hi > > I have exactly the same problem when i installing katello (Sat6BETA) on > rhel-6.5. > > My Production Log pushing me: (i replaced my FQDN with "myhost") > [...] Hello, I believe you have different issue (you are on RHEL6 and error message seems to be different). I do recommend to work with Red Hat support. This will basically get tested in installing against RHEL7. If the install works, we should be ok. Created redmine issue http://projects.theforeman.org/issues/7104 from this bug I believe this bug is related to https://bugzilla.redhat.com/show_bug.cgi?id=1130265 looking at the logs. It would appear the seeds are not finishing due to the qpid config error and thus the users are not seeded properly leading to the Foreman proxy error. *** Bug 1133497 has been marked as a duplicate of this bug. *** Updates merged in https://github.com/Katello/katello-installer/pull/112 *** Bug 1130265 has been marked as a duplicate of this bug. *** Failed QE for i in `rpm -qa | grep -iE "^rubygem-hammer|^katello|^pulp|^candlepin|^foreman|^headpin|^thumbslug|^elasticsearch|ldap|signo|ruby193-rubygem-runcible" | sort`; do echo "* $i"; done @neha the issue should be definitely resolved with katello-installer-0.0.63-1.el7sat.noarch.rpm (comming with GA Snap 7 Compose 2 and later). Just to make sure still had the old version, what version of katello-installer you have on your system? Verified: Browser: ===== * Firefox 31.0 (MacOS) Build: ==== * Satellite-6.0.4-RHEL-6-20140829.0 Packages: ====== * apr-util-ldap-1.3.9-3.el6_0.1.x86_64 * candlepin-0.9.23-1.el6_5.noarch * candlepin-common-1.0.1-1.el6_5.noarch * candlepin-scl-1-5.el6_4.noarch * candlepin-scl-quartz-2.1.5-5.el6_4.noarch * candlepin-scl-rhino-1.7R3-1.el6_4.noarch * candlepin-scl-runtime-1-5.el6_4.noarch * candlepin-selinux-0.9.23-1.el6_5.noarch * candlepin-tomcat6-0.9.23-1.el6_5.noarch * elasticsearch-0.90.10-6.el6sat.noarch * foreman-1.6.0.42-1.el6sat.noarch * foreman-compute-1.6.0.42-1.el6sat.noarch * foreman-gce-1.6.0.42-1.el6sat.noarch * foreman-libvirt-1.6.0.42-1.el6sat.noarch * foreman-ovirt-1.6.0.42-1.el6sat.noarch * foreman-postgresql-1.6.0.42-1.el6sat.noarch * foreman-proxy-1.6.0.30-1.el6sat.noarch * foreman-selinux-1.6.0.14-1.el6sat.noarch * foreman-vmware-1.6.0.42-1.el6sat.noarch * katello-1.5.0-30.el6sat.noarch * katello-ca-consumer-cloud-qe-10.idmqe.lab.eng.bos.redhat.com-1.0-1.noarch * katello-certs-tools-1.5.6-1.el6sat.noarch * katello-default-ca-1.0-1.noarch * katello-installer-0.0.64-1.el6sat.noarch * katello-server-ca-1.0-1.noarch * openldap-2.4.23-32.el6_4.1.x86_64 * pulp-katello-0.3-4.el6sat.noarch * pulp-nodes-common-2.4.1-0.5.rc1.el6sat.noarch * pulp-nodes-parent-2.4.1-0.5.rc1.el6sat.noarch * pulp-puppet-plugins-2.4.1-0.5.rc1.el6sat.noarch * pulp-puppet-tools-2.4.1-0.5.rc1.el6sat.noarch * pulp-rpm-plugins-2.4.1-0.6.beta.el6sat.noarch * pulp-selinux-2.4.1-0.5.rc1.el6sat.noarch * pulp-server-2.4.1-0.5.rc1.el6sat.noarch * python-ldap-2.3.10-1.el6.x86_64 * ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch * ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch * rubygem-hammer_cli-0.1.1-12.el6sat.noarch * rubygem-hammer_cli_foreman-0.1.1-16.el6sat.noarch * rubygem-hammer_cli_foreman_tasks-0.0.3-3.el6sat.noarch * rubygem-hammer_cli_import-0.10.2-1.2.el6sat.noarch * rubygem-hammer_cli_katello-0.0.4-14.el6sat.noarch Browser: ===== * Firefox 31.0 (MacOS) Build: ==== * Satellite/Satellite-6.0.4-RHEL-7-20140829.0 Packages: ====== * candlepin-0.9.23-1.el7.noarch * candlepin-common-1.0.1-1.el7.noarch * candlepin-guice-3.0-2_redhat_1.el7.noarch * candlepin-scl-1-5.el7.noarch * candlepin-scl-quartz-2.1.5-6.el7.noarch * candlepin-scl-rhino-1.7R3-3.el7.noarch * candlepin-scl-runtime-1-5.el7.noarch * candlepin-selinux-0.9.23-1.el7.noarch * candlepin-tomcat-0.9.23-1.el7.noarch * elasticsearch-0.90.10-6.el7sat.noarch * foreman-1.6.0.42-1.el7sat.noarch * foreman-compute-1.6.0.42-1.el7sat.noarch * foreman-gce-1.6.0.42-1.el7sat.noarch * foreman-libvirt-1.6.0.42-1.el7sat.noarch * foreman-ovirt-1.6.0.42-1.el7sat.noarch * foreman-postgresql-1.6.0.42-1.el7sat.noarch * foreman-proxy-1.6.0.30-1.el7sat.noarch * foreman-selinux-1.6.0.14-1.el7sat.noarch * foreman-vmware-1.6.0.42-1.el7sat.noarch * katello-1.5.0-30.el7sat.noarch * katello-certs-tools-1.5.6-1.el7sat.noarch * katello-default-ca-1.0-1.noarch * katello-installer-0.0.64-1.el7sat.noarch * katello-server-ca-1.0-1.noarch * openldap-2.4.39-3.el7.x86_64 * pulp-katello-0.3-4.el7sat.noarch * pulp-nodes-common-2.4.1-0.5.rc1.el7sat.noarch * pulp-nodes-parent-2.4.1-0.5.rc1.el7sat.noarch * pulp-puppet-plugins-2.4.1-0.5.rc1.el7sat.noarch * pulp-puppet-tools-2.4.1-0.5.rc1.el7sat.noarch * pulp-rpm-plugins-2.4.1-0.6.beta.el7sat.noarch * pulp-selinux-2.4.1-0.5.rc1.el7sat.noarch * pulp-server-2.4.1-0.5.rc1.el7sat.noarch * python-ldap-2.4.6-6.el7.x86_64 * ruby193-rubygem-net-ldap-0.3.1-3.el7sat.noarch * ruby193-rubygem-runcible-1.1.0-2.el7sat.noarch * rubygem-hammer_cli-0.1.1-12.el7sat.noarch * rubygem-hammer_cli_foreman-0.1.1-16.el7sat.noarch * rubygem-hammer_cli_foreman_tasks-0.0.3-3.el7sat.noarch * rubygem-hammer_cli_import-0.10.2-1.2.el7sat.noarch * rubygem-hammer_cli_katello-0.0.4-14.el7sat.noarch This was delivered with Satellite 6.0 which was released on 10 September 2014. |