OpenStack director introspection reports 384MB of RAM instead of 384GB

Solution Verified - Updated -

Issue

  • During introspection on an HP DL360p, it mistakenly reports the amount of ram in MB instead of GB. This leads to problems of "no valid host found" as it can't find nodes with proper amount of RAM.
  • Here's the output after introspection, note u'memory_mb, the correct value should be 384GB (393216):

    [stack@undercloud ~]$ ironic node-show 46a7d5ba-1ecf-4f95-867d-487d2be99dc3
    +------------------------+-----------------------------------------------------------------------+
    | Property               | Value                                                                 |
    +------------------------+-----------------------------------------------------------------------+
    | target_power_state     | None                                                                  |
    | extra                  | {u'newly_discovered': u'true', u'block_devices': {u'serials':         |
    |                        | [u'600508b1001c57ffe143aa4c3e6139a9']}, u'hardware_swift_object': u   |
    |                        | 'extra_hardware-46a7d5ba-1ecf-4f95-867d-487d2be99dc3'}                |
    | last_error             | None                                                                  |
    | updated_at             | 2015-09-04T19:28:03+00:00                                             |
    | maintenance_reason     | None                                                                  |
    | provision_state        | manageable                                                            |
    | uuid                   | 46a7d5ba-1ecf-4f95-867d-487d2be99dc3                                  |
    | console_enabled        | False                                                                 |
    | target_provision_state | None                                                                  |
    | maintenance            | False                                                                 |
    | inspection_started_at  | None                                                                  |
    | inspection_finished_at | None                                                                  |
    | power_state            | power off                                                             |
    | driver                 | pxe_ilo                                                               |
    | reservation            | None                                                                  |
    | properties             | {u'memory_mb': u'384', u'cpu_arch': u'x86_64', u'local_gb': u'557',   |
    |                        | u'cpus': u'48', u'capabilities': u'boot_option:local'}                |
    | instance_uuid          | None                                                                  |
    | name                   | None                                                                  |
    | driver_info            | {u'ilo_address': u'10.10.10.10', u'ilo_password': u'******',      |
    |                        | u'ilo_username': u'Administrator', u'deploy_kernel': u'bd87ea29-780f- |
    |                        | 4d4b-ba34-5673be654dc3', u'deploy_ramdisk': u'2077af1e-               |
    |                        | 326a-4042-86d6-3224de33daee'}                                         |
    | created_at             | 2015-09-04T18:59:25+00:00                                             |
    | driver_internal_info   | {}                                                                    |
    | chassis_uuid           |                                                                       |
    | instance_info          | {}                                                                    |
    +------------------------+-----------------------------------------------------------------------+
    
  • Entry from instackenv.json:

          {
             "pm_password":"<password>",
             "memory":"393216",
             "pm_addr":"10.10.10.10",
             "mac":[
                "3c:a8:2a:0e:53:10"
             ],
             "pm_type":"pxe_ilo",
             "disk":"279",
             "arch":"x86_64",
             "cpu":"24",
             "pm_user":"Administrator"
          }
    

Environment

  • Red Hat Enterprise Linux OpenStack Platform 7.0 (RHEL-OSP)
  • OSP director 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In