Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-107525

[rhccc] yggdrasil* unit files should not refer rhcd

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • redhat-cloud-client-configuration-1-15.el10
    • Yes
    • Important
    • subs-client-tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      The yggdrasil* unit files refers rhcd which does not exist on RHEL-10. These unit files will not work as expected.

      What is the impact of this issue to you?

      When system is unregistered using "subscription-manager unregister", then yggdrasil.service is not automatically stopped, because yggdrasil-stop.service refers rhcd, which does not exists on RHEL-10.x anymore.

      Please provide the package NVR for which the bug is seen:

      • redhat-cloud-client-configuration-1-14
      • redhat-cloud-client-configuration-cdn-1-14

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1.  Boot cloud image on supported public cloud and wait until auto-registration is fully finished. It means that consumer certificate (/etc/pki/consumer/cert.pem) is installed. Should be within 12 minutes in the worst case.
      2. Check that yggdrasil service is running:

      [root@ip-10-31-51-217 ec2-user]# systemct status yggdrasil.service
      

      3. Un-register the system using:

      [root@ip-10-31-51-217 ec2-user]# subscription-manager unregister
      

      Expected results

      The yggdrasil.service is automatically stopped.

      Actual results

      The yggdrasil service is not automatically stopped and you can observer following error messages in the journal:

      [root@ip-10-31-51-217 ec2-user]# systemctl status --failed --no-pager -l
      × insights-unregistered.service - Automatically check if manually Unregistered from Red Hat Insights Client
           Loaded: loaded (/usr/lib/systemd/system/insights-unregistered.service; static)
           Active: failed (Result: exit-code) since Tue 2025-08-05 01:06:29 UTC; 29min ago
         Duration: 304ms
       Invocation: 3508215263474f3c9e34ac59dbc5ac93
      TriggeredBy: ● insights-unregistered.path
             Docs: man:insights-client(8)
         Main PID: 2570 (code=exited, status=1/FAILURE)
         Mem peak: 2M
              CPU: 11ms
      
      Aug 05 01:06:29 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: Started insights-unregistered.service - Automatically check if manually Unregistered from Red Hat Insights Client.
      Aug 05 01:06:29 ip-10-31-51-217.us-east-1.aws.redhat.com systemctl[2570]: Removed '/etc/systemd/system/insights-register.path'.
      Aug 05 01:06:29 ip-10-31-51-217.us-east-1.aws.redhat.com systemctl[2570]: --now can only be used with verb enable, disable, reenable, or mask.
      Aug 05 01:06:29 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: insights-unregistered.service: Main process exited, code=exited, status=1/FAILURE
      Aug 05 01:06:29 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: insights-unregistered.service: Failed with result 'exit-code'.
      
      × yggdrasil-stop.service - Automatically stop rhcd when rhsm cert does not exists
           Loaded: loaded (/usr/lib/systemd/system/yggdrasil-stop.service; static)
           Active: failed (Result: exit-code) since Tue 2025-08-05 01:07:00 UTC; 28min ago
         Duration: 30ms
       Invocation: 322d7781a874481fbcf75abf7a2ae3e8
      TriggeredBy: ● yggdrasil-stop.path
          Process: 4495 ExecStopPost=/bin/systemctl unmask --now rhcd.path (code=exited, status=1/FAILURE)
         Main PID: 4494 (code=exited, status=5)
         Mem peak: 2M
              CPU: 20ms
      
      Aug 05 01:06:59 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: Started yggdrasil-stop.service - Automatically stop rhcd when rhsm cert does not exists.
      Aug 05 01:06:59 ip-10-31-51-217.us-east-1.aws.redhat.com systemctl[4494]: Failed to stop rhcd.service: Unit rhcd.service not loaded.
      Aug 05 01:06:59 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: yggdrasil-stop.service: Main process exited, code=exited, status=5/NOTINSTALLED
      Aug 05 01:06:59 ip-10-31-51-217.us-east-1.aws.redhat.com systemctl[4495]: Unit rhcd.path does not exist, proceeding anyway.
      Aug 05 01:07:00 ip-10-31-51-217.us-east-1.aws.redhat.com systemctl[4495]: --now can only be used with verb enable, disable, reenable, or mask.
      Aug 05 01:07:00 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: yggdrasil-stop.service: Control process exited, code=exited, status=1/FAILURE
      Aug 05 01:07:00 ip-10-31-51-217.us-east-1.aws.redhat.com systemd[1]: yggdrasil-stop.service: Failed with result 'exit-code'.
      

              jhnidek@redhat.com Jiri Hnidek
              jhnidek@redhat.com Jiri Hnidek
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Craig Donnelly Craig Donnelly
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: