Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: When running the receptor installation job, it fails with the following error: TASK [project-receptor.satellite_receptor_installer : Dump organization details] *** 54: fatal: [dhcp-2-161.vms.sat.rdu2.redhat.com]: FAILED! => {"changed": true, "cmd": ["foreman-rake", "katello:receptor:extract_orgs", "OUTPUT_FILE=/tmp/ansible.7sleWm"], "delta": "0:00:27.323026", "end": "2020-12-10 08:28:10.361233", "msg": "non-zero return code", "rc": 1, "start": "2020-12-10 08:27:43.038207", "stderr": "rake aborted!\nNot all the services have been started. Check the status report above and try again.\n/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.0.rc1/lib/katello/tasks/reimport.rake:10:in `block (2 levels) in <top (required)>'\n/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'\nTasks: TOP => katello:receptor:extract_orgs => katello:check_ping\n(See full trace by running task with --trace)", "stderr_lines": ["rake aborted!", "Not all the services have been started. Check the status report above and try again.", "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.0.rc1/lib/katello/tasks/reimport.rake:10:in `block (2 levels) in <top (required)>'", "/opt/rh/rh-ruby25/root/usr/share/gems/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'", "Tasks: TOP => katello:receptor:extract_orgs => katello:check_ping", "(See full trace by running task with --trace)"], "stdout": "{:services=>\n {:candlepin=>{:status=>\"ok\", :duration_ms=>\"27\"},\n :candlepin_auth=>{:status=>\"ok\", :duration_ms=>\"31\"},\n :foreman_tasks=>{:status=>\"ok\", :duration_ms=>\"3\"},\n :katello_events=>\n {:status=>\"ok\", :message=>\"0 Processed, 0 Failed\", :duration_ms=>\"0\"},\n :candlepin_events=>\n {:status=>\"FAIL\", :message=>\"Not running\", :duration_ms=>\"1\"},\n :pulp=>{:status=>\"ok\", :duration_ms=>\"193\"},\n :pulp_auth=>{:status=>\"ok\", :duration_ms=>\"78\"}},\n :status=>\"FAIL\"}", "stdout_lines": ["{:services=>", " {:candlepin=>{:status=>\"ok\", :duration_ms=>\"27\"},", " :candlepin_auth=>{:status=>\"ok\", :duration_ms=>\"31\"},", " :foreman_tasks=>{:status=>\"ok\", :duration_ms=>\"3\"},", " :katello_events=>", " {:status=>\"ok\", :message=>\"0 Processed, 0 Failed\", :duration_ms=>\"0\"},", " :candlepin_events=>", " {:status=>\"FAIL\", :message=>\"Not running\", :duration_ms=>\"1\"},", " :pulp=>{:status=>\"ok\", :duration_ms=>\"193\"},", " :pulp_auth=>{:status=>\"ok\", :duration_ms=>\"78\"}},", " :status=>\"FAIL\"}"]} This can also be reproduced by running: # foreman-rake katello:receptor:extract_orgs OUTPUT_FILE=/tmp/ansible.7sleWm On snap <=5, you need to first apply fix for bug 1903626 to reproduce. Version-Release number of selected component (if applicable): 6.9 How reproducible: Deterministic Steps to Reproduce: 1. Invoke receptor installation job (or the rake task) Actual results: Failure shown above Expected results: Succesfully passed receptor installation job