Bug 1717147
| Summary: | System Type on "subscription-manager list --consumed" report | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Waldirio M Pinheiro <wpinheir> | |
| Component: | subscription-manager | Assignee: | candlepin-bugs | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 8.0 | CC: | brcoca, csnyder, jhnidek, jsefler, lmiksik, redakkan, rjerrido | |
| Target Milestone: | rc | Keywords: | EasyFix | |
| Target Release: | 8.1 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1724712 (view as bug list) | Environment: | ||
| Last Closed: | 2020-05-04 13:15:23 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1724712 | |||
|
Description
Waldirio M Pinheiro
2019-06-04 19:53:50 UTC
Hello all
Let's check the information below
---
[root@sat64 ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Subscriptions
+-------------------------------------------+
Subscription Name: Red Hat Satellite Employee Subscription
Provides: Red Hat Beta
Red Hat Satellite
Red Hat Satellite with Embedded Oracle
Red Hat Satellite 5 Managed DB
Red Hat Satellite Proxy
Red Hat Satellite - Extended Life Cycle Support
Red Hat Satellite 5 Managed DB - Extended Life Cycle Support
Red Hat Satellite Proxy - Extended Life Cycle Support
Red Hat Software Collections (for RHEL Server)
Red Hat Satellite 6 Beta
Red Hat Satellite Capsule
Red Hat Software Collections Beta (for RHEL Server)
Red Hat Enterprise Linux High Availability for x86_64
Red Hat Ansible Engine
Red Hat Enterprise Linux Load Balancer (for RHEL Server)
Red Hat Enterprise Linux Server
SKU: SER0232US
Contract: 11083281
Account: 540XXX
Serial: 567225507XXXXXXXX
Pool ID: 8a85f98156fed8130XXXXXXXX
Provides Management: Yes
Active: True
Quantity Used: 1
Service Level: Self-Support
Service Type: L1-L3
Status Details: Subscription is current
Subscription Type: Standard
Starts: 09/02/2016
Ends: 12/31/2021
System Type: Physical
---
We can see "System Type: Physical" what suggest this machine to be a Physical machine, however, continuing the debug we can confirm this is a virtual one
---
# subscription-manager facts | grep virt
lscpu.virtualization_type: full
proc_cpuinfo.common.address_sizes: 40 bits physical, 48 bits virtual
virt.host_type: kvm
virt.is_guest: True
virt.uuid: 1358737A-2093-4D6F-B806-C564695AFBC1
---
After check internally (Thanks crag), we can see the "System Type" information is related to the entitlement, on the case above "SER0232US". That said, this should not be "System Type", instead, should be something like "Entitlement Type". To complement, the information about "System Type" should be valid BUT presenting the correct information related to the local machine.
Thank you.
Best Regards
--
Waldirio M Pinheiro | Senior Software Maintenance Engineer
Rich, What are your thoughts on changing the phrasing of "System Type" on subscriptions which have been consumed to "Entitlement Type"? (In reply to Chris Snyder from comment #3) > Rich, > > What are your thoughts on changing the phrasing of "System Type" on > subscriptions which have been consumed to "Entitlement Type"? I support this. 'System Type' implies (to the casual user) a system fact (i.e. This system is physical or virtual). 'Entitlement Type' states more cleanly what type of 'thing' you are attaching. (And since you can attach a physical entitlement to a virtual system in many instances, this distinction should be clarified) Testing Version.... [root@rhsm-auto8-client2 ~]# rpm -q subscription-manager subscription-manager-1.25.11-1.el8.x86_64 [root@rhsm-auto8-client2 ~]# subscription-manager register --auto-attach <-- snip --> [root@rhsm-auto8-client2 ~]# subscription-manager list --available | egrep "(Entitlement|System) Type:" Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Virtual Entitlement Type: Physical Entitlement Type: Virtual Entitlement Type: Virtual Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Physical Entitlement Type: Virtual Entitlement Type: Physical [root@rhsm-auto8-client2 ~]# [root@rhsm-auto8-client2 ~]# subscription-manager list --consumed | egrep "Type: *(Physical|Virtual)" System Type: Virtual [root@rhsm-auto8-client2 ~]# The intention in comment 0 and comment 4 was to change the label in "subscription-manager list --consumed", but instead the label was actually changed in the "subscription-manager list --available". In my opinion, both reports for --available and --consumed should be consistent and report the new label "Entitlement Type". But if you disagree, then the labeling is currently backwards. Moving this bug back to NEW/FailedQA |