Project

General

Profile

Bug #17132

Incorrect memory value under content host properties

Added by Chris Roberts over 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from BZ:

Description of problem:
Registering a system with more than 8+ GB of RAM, shows incorrect RAM information under Content Hosts >> Content Host Properties section

Version-Release number of selected component (if applicable):

Satellite 6.2.1 GA release

How reproducible:
100%

Steps to Reproduce:
1. Register a client system which has more than 8 GB of RAM
2. Check the Content Hosts >> Content Host Properties section on the webUI
3. It only shows incorrect memory

Actual results:
Content Hosts Properties section shows incorrect memory information. i.e. subscription-manager facts (dmi.memory.size: 6144 MB)

Expected results:
Content Host properties section should show the total memory from all DIMMs i.e. memory.memtotal

Additional info:

Issue seems to be at line 145 of the below

https://github.com/Katello/katello/blob/21c9750ba80f117474cce1f1dbac78646ab34e49/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html

Where dmi.memory.size is reported, which is not always correct. It should be memory.memtotal

memcorrect.png View memcorrect.png 170 KB Chris Roberts, 10/31/2016 04:01 AM
Memcorrect

Associated revisions

Revision 6a0f3c74 (diff)
Added by Nagoor Shaik about 2 years ago

Fixes #17132 - content-host total memory now reports in GB

History

#1 Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6419 added

#2 Updated by Chris Roberts over 2 years ago

  • Bugzilla link set to 1373294

#3 Updated by Chris Roberts over 2 years ago

Adding screenshot of webui mem total after change

#4 Updated by Chris Roberts over 2 years ago

Here is my system facts for my client with a custom fact of 78 GB ram:

[root@rhel7 ~]# subscription-manager facts | grep -i memory
dmi.memory.array_handle: 0x1000
dmi.memory.assettag: Not Specified
dmi.memory.bank_locator: Not Specified
dmi.memory.data_width: Unknown
dmi.memory.error_correction_type: Multi-bit ECC
dmi.memory.error_information_handle: Not Provided
dmi.memory.form_factor: DIMM
dmi.memory.location: Other
dmi.memory.locator: DIMM 0
dmi.memory.manufacturer: QEMU
dmi.memory.maximum_capacity: 74051368
dmi.memory.part_number: Not Specified
dmi.memory.serial_number: Not Specified
dmi.memory.size: 10240 MB
dmi.memory.speed: (ns)
dmi.memory.total_width: Unknown
dmi.memory.type: RAM
dmi.memory.use: System Memory
memory.memtotal: 78GB
memory.swaptotal: 1573884

#5 Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6516 added

#6 Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6524 added

#7 Updated by Justin Sherrill about 2 years ago

  • Assignee deleted (Chris Roberts)
  • Legacy Backlogs Release (now unused) changed from 188 to 211

#8 Updated by Nagoor Shaik about 2 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#9 Updated by Nagoor Shaik over 1 year ago

  • Pull request deleted (https://github.com/Katello/katello/pull/6516, https://github.com/Katello/katello/pull/6419)

Also available in: Atom PDF