Service rhcd is in failed state on a host registered with Red Hat Satellite 6.

Solution Verified - Updated -

Environment

  • Red Hat Satellite 6
  • Red Hat Insights
  • Remote Host Configuration (RHC)

Issue

  • The rhcd.service is in failed status on the Satellite client host.

    rhcd.service - Red Hat connector daemon
    Loaded: loaded (/usr/lib/systemd/system/rhcd.service; disabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Thu 2023-05-04 15:05:23 BST; 1 weeks 4 days ago
     Docs: https://github.com/redhatinsights/yggdrasil
    Process: 289731 ExecStart=/usr/sbin/rhcd (code=exited, status=1/FAILURE)
    Main PID: 289731 (code=exited, status=1/FAILURE)
    

Resolution

  • The rhcd.service is not required on the client system registered to Red Hat Satellite 6.
  • The RHCD service needs the client directly registered with RHSM. The Satellite server can have the RHCD running if it is registered with RHSM but the clients registered through the Satellite server should not have the RHCD service running on them.
  • Remove the rhc package from the Satellite client.

Root Cause

  • The rhc package was installed on the client host registered with Red Hat Satellite 6 manually.
  • Refer to the following section in this documentation:

    - For Red Hat Enterprise Linux systems that are not managed by Red Hat Satellite, you should follow the procedure below to enable the rhc client on those systems.
    
    - For systems that are managed by Satellite, you will configure Cloud Connector on the host servers for those systems.
    

Diagnostic Steps

  • Service rhcd shows disabled status on the client host:

    rhcd.service - Red Hat connector daemon
    Loaded: loaded (/usr/lib/systemd/system/rhcd.service; disabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Thu 2023-05-04 15:05:23 BST; 1 weeks 4 days ago
     Docs: https://github.com/redhatinsights/yggdrasil
    Process: 289731 ExecStart=/usr/sbin/rhcd (code=exited, status=1/FAILURE)
    Main PID: 289731 (code=exited, status=1/FAILURE)
    
  • Also, service status shows:

    # systemctl status rhcd
    Unit rhcd.service could not be found.
    

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.

Comments