Bug 1318020

Summary: content host properties displayed on details page are not the same facts as used by candlepin
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: WebUIAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DEFERRED QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: akarsale, bkearney, tomckay
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14216
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-21 21:24:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom McKay 2016-03-15 18:56:50 UTC
The values displayed on the details page for CPUs and RAM (and others?) need to match the fact values that candlepin uses to determine subscription auto-attach assignment.

<pre>

# Product attribute related facts.
SOCKET_FACT="cpu.cpu_socket(s)"
RAM_FACT = "memory.memtotal"
CORES_FACT = "cpu.core(s)_per_socket"
ARCH_FACT = "uname.machine"
STORAGE_BAND_USAGE_FACT = "band.storage.usage"
</pre>

Comment 1 Tom McKay 2016-03-15 18:56:52 UTC
Created from redmine issue http://projects.theforeman.org/issues/14216

Comment 3 Bryan Kearney 2016-05-06 14:16:20 UTC
Upstream bug component is WebUI

Comment 4 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2016-07-26 15:32:43 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Amit Karsale 2017-01-03 05:58:51 UTC
Sorry if I am being lame asking this, but @tom Mckay can you share the details of which exact "details page" you are comparing and which two pages you are finding a mismatch.

Comment 8 Tom McKay 2017-01-05 18:59:45 UTC
On the content host details page there are details that are relevant for candlepin's calculation of subscription limits (eg. socket count). The values displayed there should come from the subscription-manager facts, not the puppet facts. The UI is incorrectly using data from the foreman side of things instead of katello.

Comment 9 Bryan Kearney 2017-03-21 21:24:04 UTC
There is a an upstream issue opened for this. We will no longer be tracking this downstream. If you believe this was closed in error please feel free to re-open with additional information.