Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Reproducing the bug on the SM version:
[root@kvm-02-guest02 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.2.15-1
subscription management rules: 5.43
subscription-manager: 1.28.29-3.el8
[root@kvm-02-guest02 ~]# export SUBMAN_DEBUG_PRINT_REQUEST=1
[root@kvm-02-guest02 ~]# export SUBMAN_DEBUG_PRINT_REQUEST_HEADER=1
[root@kvm-02-guest02 ~]# export SUBMAN_DEBUG_PRINT_REQUEST_BODY=1
[root@kvm-02-guest02 ~]# export SUBMAN_DEBUG_PRINT_RESPONSE=1
[root@kvm-02-guest02 ~]# cat /etc/rhsm/facts/hyperv.facts
{
"dmi.chassis.manufacturer": "microsoft",
"virt.host_type": "hyperv",
"virt.is_guest": true
}
[root@kvm-02-guest02 ~]# subscription-manager facts
Making request: GET http://169.254.169.254/metadata/instance?api-version=2021-02-01 {User-Agent: cloud-what/1.0, Accept-Encoding: gzip, deflate, Accept: */*, Connection: keep-alive, Metadata: true}
Making request: GET http://169.254.169.254/metadata/versions {User-Agent: cloud-what/1.0, Accept-Encoding: gzip, deflate, Accept: */*, Connection: keep-alive, Metadata: true}
cpu.core(s)_per_socket: 1
cpu.cpu(s): 1
cpu.cpu_socket(s): 1
cpu.thread(s)_per_core: 1
^^ Bug reproduced successfully, system tried to reach metadata server
Verification on SM version:
[root@kvm-02-guest02 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 4.2.15-1
subscription management rules: 5.43
subscription-manager: 1.28.29.1-1.el8_6
[root@kvm-02-guest02 ~]# subscription-manager facts
cpu.core(s)_per_socket: 1
cpu.cpu(s): 1
cpu.cpu_socket(s): 1
cpu.thread(s)_per_core: 1
cpu.topology_source: kernel /sys cpu sibling lists
distribution.id: Ootpa
distribution.name: Red Hat Enterprise Linux
distribution.version: 8.6
^^ System did not tried to reach metadata server ==> Verification PASSED
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (subscription-manager bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:1840
Reproducing the bug [root@kvm-01-guest18 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 4.2.15-1 subscription management rules: 5.43 subscription-manager: 1.28.25-1.el8 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_REQUEST=1 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_REQUEST_HEADER=1 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_REQUEST_BODY=1 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_RESPONSE=1 [root@kvm-01-guest18 ~]# cat /etc/rhsm/facts/hyperv.facts { "dmi.chassis.manufacturer": "microsoft", "virt.host_type": "hyperv", "virt.is_guest": true } [root@kvm-01-guest18 ~]# subscription-manager facts Making request: GET http://169.254.169.254/metadata/instance?api-version=2021-02-01 {User-Agent: cloud-what/1.0, Accept-Encoding: gzip, deflate, Accept: */*, Connection: keep-alive, Metadata: true} Making request: GET http://169.254.169.254/metadata/versions {User-Agent: cloud-what/1.0, Accept-Encoding: gzip, deflate, Accept: */*, Connection: keep-alive, Metadata: true} cpu.core(s)_per_socket: 1 cpu.cpu(s): 2 cpu.cpu_socket(s): 2 cpu.thread(s)_per_core: 1 cpu.topology_source: kernel /sys cpu sibling lists distribution.id: Ootpa distribution.name: Red Hat Enterprise Linux distribution.version: 8.6 distribution.version.modifier: Unknown dmi.bios.address: 0xe8000 dmi.bios.bios_revision: 1.0 dmi.bios.release_date: 01/01/2011 dmi.bios.rom_size: 64 KB dmi.bios.runtime_size: 96 KB dmi.bios.vendor: Seabios ^^ Bug reproduced Verifying the patch [root@kvm-01-guest18 src]# subscription-manager version server type: This system is currently not registered. subscription management server: 4.2.15-1 subscription management rules: 5.43 subscription-manager: 1.28.29-3.git.7.f8ef4dc.el8_6 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_REQUEST=1 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_REQUEST_HEADER=1 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_REQUEST_BODY=1 [root@kvm-01-guest18 ~]# export SUBMAN_DEBUG_PRINT_RESPONSE=1 [root@kvm-01-guest18 ~]# subscription-manager facts cpu.core(s)_per_socket: 1 cpu.cpu(s): 2 cpu.cpu_socket(s): 2 cpu.thread(s)_per_core: 1 cpu.topology_source: kernel /sys cpu sibling lists distribution.id: Ootpa distribution.name: Red Hat Enterprise Linux distribution.version: 8.6 distribution.version.modifier: Unknown dmi.bios.address: 0xe8000 dmi.bios.bios_revision: 1.0 dmi.bios.release_date: 01/01/2011 dmi.bios.rom_size: 64 KB dmi.bios.runtime_size: 96 KB dmi.bios.vendor: Seabios dmi.bios.version: 0.5.1 dmi.chassis.asset_tag: Unknown dmi.chassis.boot-up_state: Safe dmi.chassis.lock: Not Present dmi.chassis.manufacturer: microsoft ... ^^ system did not try to reach metadata server = patch works