Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to detect memory slot size for VMware virtual machine with only one memory slot #571

Closed
ChristopheLacaze opened this issue Dec 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ChristopheLacaze
Copy link
Contributor

Bug reporting acknowledgment

Yes, I read it

Professional support

None

Describe the bug

Memory slot size reported by glpi-agent for a Vmware virtual machine with 2 GB memory is wrong.
The value returned by the agent is 1732 (ie. hardware memory value) and not 2048 MB as returned by dmidecode

To reproduce

Create a Vmware virtual machine with speciifcation :

  • 2 Gb memory size
  • 1 CPU
  • Redhat family OS

execute glpi-agent

Expected behavior

Glpi agent should report one 2048 MB size memory slot.

Operating system

Linux

GLPI Agent version

1.7

GLPI version

10.0.x (See additional context below)

GLPIInventory plugin or FusionInventory for GLPI plugin version

Not applicable

Additional context

Here are results of dmidecode command and local inventory file generated on the virtual machine
dmidecode-and-glpi-agent-inventory.zip

@g-bougard
Copy link
Member

Hi @ChristopheLacaze

it seems I forgot to close this issue after I merged #572.

So I'm closing it now, but feel free to reopen if the problem is indeed not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants