Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-7965

subscription-manager unable to register RHEL9 host with activation key - Unauthorized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • SAT QE - Bugzilla
    • None
    • QE Sprint 7
    • None

      https://bugzilla.redhat.com/show_bug.cgi?id=2046516

       
      Description of problem:
      Host registration with activation-key does not work with

      1. subscription-manager register --activationkey vZfbLVti --org ezgMZbwwbkl
        Unauthorized: Invalid credentials for request.

      RHSM issues a GET request to rhsm/owners/ezgMZbwwbkl/environments
      and gets 401.

      Registration with user and password seems to work fine.

      Version-Release number of selected component (if applicable):
      Sat7.0 snap 7.0
      subscription-manager-1.29.23-1.el9.x86_64
      RHEL-9.0.0-20220118.1

      How reproducible:
      always

      Additional info:
      the full traceback from rhsm.log is uploaded as attachment

            rplevka@redhat.com roman plevka
            rplevka@redhat.com roman plevka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: