Comment 57 for bug 1829403

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/672634
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=85e34657c59df9b2f18c694bf6c7ba187e8f062a
Submitter: Zuul
Branch: master

commit 85e34657c59df9b2f18c694bf6c7ba187e8f062a
Author: Sun Austin <email address hidden>
Date: Thu Jul 25 14:39:38 2019 +0800

    Avoid agent mem update during unlocking

    sysinv-agent might report memory after unlocking action was performing,
    The DB was updated, but hiera data has not been updated. During this
    time, memory report from agent will set ‘vswitch_hugepages_nr’,
    ‘vm_hugepages_nr_2M’ and ‘vm_hugepages_nr_1G’ values to default 0.

    adding protect to ignore agent mem report during unlocking (host is
    locked state and ihost_action is 'unlock' or 'force-unlock')

    Closes-Bug: 1829403
    Signed-off-by: Sun Austin <email address hidden>

    Change-Id: I3438809782560e90248a3e63e51aa0315fcf49d3