| Summary: | subscription-manager facts --list fails when virt-what is not installed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Chris Duryee <cduryee> |
| Status: | CLOSED ERRATA | QA Contact: | Entitlement Bugs <entitlement-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.8 | CC: | cduryee, jmolet, skallesh, spandey, wpoteat |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | 5.8 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
No description necessary
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:44:03 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 715031, 771700, 772019 | ||
|
Description
John Sefler
2011-12-16 14:59:42 UTC
In addition to the case when virt-what is not installed is the case when virt-what returns a failure (exitCode 255). Subscription-manager used to also treat this case with a fact value of virt.is_guest=Unknown 0fb291c4 master 0.99.1+ 5a1b14b RHEL5.8 0.98.8+ Verifying Version... [root@jsefler-onprem-5server ~]# rpm -q subscription-manager subscription-manager-0.98.9-1.git.0.ca56fd1.el5_7 [root@jsefler-onprem-5server ~]# mv /usr/sbin/virt-what /usr/sbin/virt-what.bak [root@jsefler-onprem-5server ~]# virt-what -bash: virt-what: command not found [root@jsefler-onprem-5server ~]# subscription-manager facts --list cpu.core(s)_per_socket: 1 cpu.cpu(s): 2 cpu.cpu_socket(s): 2 distribution.id: Tikanga distribution.name: Red Hat Enterprise Linux Server distribution.version: 5.8 dmi.bios.address: 0xe8000 dmi.bios.bios_revision: 1.0 dmi.bios.relase_date: 01/01/2007 dmi.bios.rom_size: 64 KB dmi.bios.runtime_size: 96 KB dmi.bios.vendor: QEMU dmi.bios.version: QEMU dmi.chassis.asset_tag: Not Specified dmi.chassis.boot-up_state: Safe dmi.chassis.lock: Not Present dmi.chassis.manufacturer: Not Specified dmi.chassis.power_supply_state: Safe dmi.chassis.security_status: Unknown dmi.chassis.serial_number: Not Specified dmi.chassis.thermal_state: Safe dmi.chassis.type: Other dmi.chassis.version: Not Specified dmi.memory.array_handle: 0x1000 dmi.memory.bank_locator: Not Specified dmi.memory.data_width: 64 bit dmi.memory.error_correction_type: Other dmi.memory.error_information_handle: Not Provided dmi.memory.form_factor: DIMM dmi.memory.location: Other dmi.memory.locator: DIMM 0 dmi.memory.maximum_capacity: 1 GB dmi.memory.size: 1024 MB dmi.memory.speed: (ns) dmi.memory.total_width: 64 bit dmi.memory.type: RAM dmi.memory.use: System Memory dmi.processor.family: Other dmi.processor.socket_designation: CPU 1 dmi.processor.status: Populated:Enabled dmi.processor.type: Central Processor dmi.processor.upgrade: Other dmi.processor.version: Not Specified dmi.processor.voltage: Unknown dmi.system.family: Not Specified dmi.system.manufacturer: Not Specified dmi.system.product_name: Not Specified dmi.system.serial_number: Not Specified dmi.system.sku_number: Not Specified dmi.system.status: No errors detected dmi.system.uuid: 525e7383-f818-2531-bb17-d3669068973d dmi.system.version: Not Specified dmi.system.wake-up_type: Power Switch memory.memtotal: 1025552 memory.swaptotal: 2064376 net.interface.eth0.broadcast: 10.16.120.255 net.interface.eth0.hwaddr: 52:54:00:1c:bd:ed net.interface.eth0.ipaddr: 10.16.120.152 net.interface.eth0.netmask: 255.255.255.0 net.interface.lo.broadcast: 0.0.0.0 net.interface.lo.hwaddr: 00:00:00:00:00:00 net.interface.lo.ipaddr: 127.0.0.1 net.interface.lo.netmask: 255.0.0.0 net.interface.sit0.broadcast: Unknown net.interface.sit0.hwaddr: 00:00:00:00:00:00 net.interface.sit0.ipaddr: Unknown net.interface.sit0.netmask: Unknown network.hostname: jsefler-onprem-5server network.ipaddr: 127.0.0.1 system.entitlements_valid: invalid system.name: jsefler-onprem-5server system.uuid: 265901a0-c710-48d6-addb-d81a7f5b4e64 uname.machine: x86_64 uname.nodename: jsefler-onprem-5server uname.release: 2.6.18-294.el5 uname.sysname: Linux uname.version: #1 SMP Tue Oct 25 16:30:40 EDT 2011 virt.is_guest: Unknown virt.uuid: Unknown VERIFIED... facts list successfully and virt.is_guest is reported as Unknown when virt-what fails moving to VERIFIED
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No description necessary
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, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0154.html |