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

rhc connect throws error with activation key and org when --format json is used

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.0
    • rhc
    • None
    • rhc-0.3.2-1.el10
    • No
    • Important
    • subs-client-tools
    • 5
    • False
    • False
    • Hide

      None

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

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

      rhc connect with --format  json fails when activation key and org id is used.

      It works fine with username and password.

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

      rhc-0.3.1-2.el10.x86_64

      rhc-0.3.0-1.el10.x86_64

      How reproducible is this bug?:

      Always

      Steps to reproduce

      • [root@kvm-04-guest20 ~]# rhc connect --activation-key ***** --organization *****  -f json
        -username/password or --organization/-activation-key are required when a machine-readable format is used
        [root@kvm-04-guest20 ~]

       

      Expected results

      rhc connect should succeed with registration using activation-key

      Actual results

      rhc connect fails and throws error : "-username/password or --organization/-activation-key are required when a machine-readable format is used"

              jhnidek@redhat.com Jiri Hnidek
              jsefler John Sefler
              Archana Pandey, Joe VLcek
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Pavlina Bartikova Pavlina Bartikova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: