IPA files to detect physical memory on systems without dmidecode

Bug #1715790 reported by Tony Breeds
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ironic-python-agent
Fix Released
Medium
Michael Turek

Bug Description

On systems without dmidecode (either the package isn't available, or the CPU architecture doesn't support DMI) IPA detects the total memory but reports 'None' for physical_mb. This causes introspection to fail.

Revision history for this message
milan k (vetrisko) wrote :

Hi Tony,

thanks for the report!
I'm switching the project to Inspector as the introspection is what fails here.

Cheers,
milan

affects: ironic → ironic-inspector
Dmitry Tantsur (divius)
affects: ironic-inspector → ironic-python-agent
Changed in ironic-python-agent:
status: New → Triaged
importance: Undecided → Medium
Dmitry Tantsur (divius)
Changed in ironic-python-agent:
status: Triaged → In Progress
Vladyslav Drok (vdrok)
Changed in ironic-python-agent:
assignee: nobody → Michael Turek (mjturek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-python-agent (master)

Change abandoned by Tony Breeds (<email address hidden>) on branch: master
Review: https://review.openstack.org/501938
Reason: Ie370331df6bb5ef131c5cb60f458877e2a7ad71a is a better solution longer term.

I was hoping to implement something that could be backported to pike but that's a bad idea

Changed in ironic-python-agent:
assignee: Michael Turek (mjturek) → Tony Breeds (o-tony)
Changed in ironic-python-agent:
assignee: Tony Breeds (o-tony) → Michael Turek (mjturek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-python-agent (master)

Reviewed: https://review.openstack.org/501799
Committed: https://git.openstack.org/cgit/openstack/ironic-python-agent/commit/?id=2877fc53d409e950a685a4bd31ac37b4865981a9
Submitter: Zuul
Branch: master

commit 2877fc53d409e950a685a4bd31ac37b4865981a9
Author: Mike Turek <email address hidden>
Date: Thu Nov 30 16:30:42 2017 +0000

    Use lshw in place of dmidecode for the default hardware manager

    Currently the generic hardware manager uses dmidecode to get the
    total physical memory and system details. This patch switches the
    generic hardware manager to use lshw, as it is capable of reading
    more than DMI [0]. This enables systems that do not support DMI
    to use the generic hardware manager, such as IBM Power systems.

    [0] https://github.com/lyonel/lshw/blob/master/README.md

    Closes-Bug: #1715790
    Change-Id: Ie370331df6bb5ef131c5cb60f458877e2a7ad71a
    Depends-On: Idaf05b8efce28cd0cbf339cf693db4f55a693d9b

Changed in ironic-python-agent:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-python-agent 3.2.0

This issue was fixed in the openstack/ironic-python-agent 3.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.