Candlepin is not running on Red Hat Satellite 6

Solution Verified - Updated

Environment

  • Red Hat Satellite 6
  • Red Hat Enterprise Linux 8

Issue

  • Candlepin is not running on Red Hat Satellite 6.

  • hammer ping shows candlepin and candlepin_auth / candlepin_events shows FAIL status.

    candlepin:        
      Status:          FAIL
      Server Response: Message: 404 Not Found
    candlepin_auth:   
      Status:          FAIL
      Server Response: Message: Katello::Errors::CandlepinNotRunning
    candlepin_events: 
      Status:          FAIL
      message:         Not running
      Server Response: Duration: 1ms
    

Resolution

  • Run the following commands on the Red Hat Satellite server:

    # satellite-installer --scenario satellite
    # hammer ping
    

For more KB articles/solutions related to Red Hat Satellite 6.x Candlepin Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Candlepin Issues

Root Cause

  • The satellite-installer command was not executed after the packages were updated on Red Hat Satellite.

Diagnostic Steps

  • Check dnf logs for Candlepin package information.

      # cat /var/log/dnf.log | grep -i candlepin
    
      2023-07-20T09:49:04-0500 DEBUG ---> Package candlepin.noarch 4.2.13-1.el8sat will be upgraded
      2023-07-20T09:49:04-0500 DEBUG ---> Package candlepin.noarch 4.2.15-1.el8sat will be an upgrade
      2023-07-20T09:49:04-0500 DEBUG ---> Package candlepin-selinux.noarch 4.2.13-1.el8sat will be upgraded
      2023-07-20T09:49:04-0500 DEBUG ---> Package candlepin-selinux.noarch 4.2.15-1.el8sat will be an upgrade
    
  • Check satellite-installer logs for installer information.

      # tail /var/log/foreman-installer/satellite.log 
    
      2023-06-30 12:35:13 [DEBUG ] [root] Exit with status code: 2 (signal was 2)
      2023-06-30 12:35:13 [DEBUG ] [root] Cleaning /tmp/kafo_installation20230630-167050-y4oc5h
      2023-06-30 12:35:13 [DEBUG ] [root] Cleaning /tmp/kafo_installation20230630-167050-ukw8z
      2023-06-30 12:35:13 [DEBUG ] [root] Cleaning /tmp/default_values.yaml
      2023-06-30 12:35:13 [DEBUG ] [root] Installer finished in 321.692843119 seconds
    
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.