Project

General

Profile

Actions

Bug #17132

closed

Incorrect memory value under content host properties

Added by Chris Roberts over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
easy
Triaged:
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


Files

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

Updated by The Foreman Bot over 7 years ago

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

Updated by Chris Roberts over 7 years ago

  • Bugzilla link set to 1373294
Actions #3

Updated by Chris Roberts over 7 years ago

Adding screenshot of webui mem total after change

Actions #4

Updated by Chris Roberts over 7 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

Actions #5

Updated by The Foreman Bot about 7 years ago

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

Updated by The Foreman Bot about 7 years ago

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

Updated by Justin Sherrill about 7 years ago

  • Assignee deleted (Chris Roberts)
  • translation missing: en.field_release changed from 188 to 211
Actions #8

Updated by Nagoor Shaik about 7 years ago

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

Updated by Nagoor Shaik over 6 years ago

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

Also available in: Atom PDF