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

[rhc] The "rhc status" should work gracefully, when some error happens

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.1
    • rhel-10.1
    • rhc
    • rhc-0.3.4-1.el10
    • Yes
    • Moderate
    • subs-client-tools
    • None
    • False
    • False
    • Hide

      None

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

      Description of Problem:

      When you run "rhc status" and getting information about one of feature fails, then you do not get information about status of remaining features. You can simply test this bug, when you mask "rhsm.service"

      Please provide the package NVR for which bug is seen:

      $ rhc --version
      0.3.3

      How reproducible

      Always

      Is this a regression issue:

      Yes

      Steps to Reproduce

      1. Stop and mask "rhsm.service"

      root@localhost:/# systemctl stop rhsm.service 
      
      root@localhost:/# systemctl mask rhsm.service 
      Created symlink '/etc/systemd/system/rhsm.service''/dev/null'.
      

      2. Run "rhc status"

      root@localhost:/# rhc status
      

      Actual Behavior

      Connection status for localhost:
      
      unable to get consumer UUID: unable to parse D-Bus error due to unsupported error name: org.freedesktop.DBus.Error.NameHasNoOwner
      

      Expected Behavior

      Connection status for localhost:
      
       [x] Red Hat Subscription Management ... unable to call RHSM D-Bus API
        [x] Content ... unable to call RHSM D-Bus API
        [✓] Analytics ... Connected to Red Hat Insights
        [✓] Remote Management ... The yggdrasil service is active
      
      Manage your connected systems: https://red.ht/connector
      

      Additional info

              jhnidek@redhat.com Jiri Hnidek
              jhnidek@redhat.com Jiri Hnidek
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Pavlina Bartikova Pavlina Bartikova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: