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

rhc connect does not consider what state rhcd is in

    • Icon: Story Story
    • Resolution: Cannot Reproduce
    • Icon: Normal Normal
    • None
    • rhel-9.0.0
    • rhc
    • Minor
    • sst_insights
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Requested
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      `rhc connect` will report a green circle and report that it 'Activated rhcd' even if rhcd is in a failed state either before or after the connect was run.

      For example:
      ~~~
      [root@rhel9new ~]# systemctl list-units --failed
      UNIT LOAD ACTIVE SUB DESCRIPTION
      ● rhcd.service loaded failed failed Red Hat connector daemon

      ===

      [root@rhel9new ~]# rhc connect
      Connecting rhel9new to Red Hat.
      This might take a few seconds.

      ● This system is already connected to Red Hat Subscription Management
      ● Connected to Red Hat Insights
      ● Activated the Red Hat connector daemon

      Manage your Red Hat connector systems: https://red.ht/connector

      ===

      [root@rhel9new ~]# systemctl list-units --failed
      UNIT LOAD ACTIVE SUB DESCRIPTION
      ● rhcd.service loaded failed failed Red Hat connector daemon
      ~~~

      Expectations:
      Even if `rhc connect` can't report complete status of rhcd, it should at least point in the direction of an issue existing if the service is in a failed state both before and after running it

            jhnidek@redhat.com Jiri Hnidek
            rhn-support-pdudley Paul Dudley
            Zdenek Petracek Zdenek Petracek
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: