Red Hat Bugzilla – Bug 871822
RAM value listed should be "memory.memtotal" fact
Last modified: 2016-04-25 20:54:46 EDT
Instead of "dmi.memory.size" the fact "memory.memtotal" should be displayed since that is what candlepin uses for subscriptions. (The dmi fact also won't be available on all arch such as s390, ppc, and ia64.)
Display to the user should be converted to MB rather than the full integer.
subscription-manager actually converts the 'memory.memtotal' value to GB before comparing it to the subscription's 'ram' attribute value (which is specified in GB). Candlepin will have to do the same.
Perhaps katello could display the same calculated value?
This is how subscription-manager does the conversion (python):
ram_gb = int(round(memory_memtotal / 1024.0 / 1024.0))
*** Bug 871911 has been marked as a duplicate of this bug. ***
Moving all POST bugs to ON_QA since we have delivered a puddle with the bugs.
Created attachment 785667 [details]
Mem_total value is set
# rpm -qa | grep katello
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.