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

Wrong output on 'connect' failure

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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-10.3
    • rhel-10.2
    • rhc
    • None
    • None
    • subs-client-tools-1
    • 0
    • False
    • False
    • Hide

      None

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

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

      Register a RHEL 10.2 system.

      What is the impact of this issue to you?

      It is not clear what the system status is.

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

      # rhc --version
      rhc version 0.3.4 
      # rpm -q rhc
      rhc-0.3.4-1.el10.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      1. rhc connect
      2. Fill in wrong credentials

      or

      1. rhc connect
      2. Fill in credentials and press enter
      3. pkill rhsm-service

      Expected results

      A message saying "Unable to connect"

      Actual results

      "Successfully connected to Red Hat!"

       

      # rhc connect
      Connecting localhost.localdomain to Red Hat.
      This might take a few seconds.
      
      Features preferences: [✓]content, [✓]analytics, [✓]remote-management
      
      Username: foo
      Password:  
      
       [𐄂] Cannot connect to Red Hat Subscription Management
        [𐄂] Skipping generation of Red Hat repository file
        [𐄂] Skipping connection to Red Hat Insights
        [𐄂] Skipping activation of yggdrasil service
      
      Successfully connected to Red Hat!
      
      Manage your connected systems: https://red.ht/connector
      
      The following errors were encountered during connect:
      
      TYPE   STEP  ERROR  
      ERROR  rhsm  cannot connect to Red Hat Subscription Management: error: Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html 

       

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              mhorky@redhat.com Matyas Horky
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: