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

subscription-manager register registers the machine and then prints usage & "This system is already registered. Use --force to override" several times over [rhel-10.0]

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

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • subscription-manager
    • None
    • No
    • None
    • subs-client-tools
    • 0
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Automated
    • None

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

      virt-customize: --sm-register failed for rhel10 rhel-guest-image

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

      guestfs-tools-1.52.2-2.el10.x86_64
      libguestfs-1.54.0-5.el10.x86_64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      Download a rhel10.0 rhel-guest-image

      1. virt-customize -a rhel-guest-image-10.0-20241208.0.x86_64.qcow2 --sm-register --sm-credentials QualityAssurance:password:$YourPassword --sm-attach auto
        This system is already registered. Use --force to override
        virt-customize: error: subscription-manager register: command exited with
        an error

      Details refer to log file.

      Expected results

      virt-customize --sm-register works for rhel10 rhel-guest-image

      Actual results:

      1. virt-customize works well with rhel9 rhel-guest-image , but failed with rhel10 image

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              xchen@redhat.com Xiang Hua Chen
              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:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: