Comment 16 for bug 1872979

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

Reviewed: https://review.opendev.org/736817
Committed: https://git.openstack.org/cgit/starlingx/monitoring/commit/?id=63c8d1e55aecfb8aed4f98e29ccf0dc6ccd18cf3
Submitter: Zuul
Branch: master

commit 63c8d1e55aecfb8aed4f98e29ccf0dc6ccd18cf3
Author: Eric MacDonald <email address hidden>
Date: Thu Jun 18 15:44:32 2020 -0400

    Add consistent init and config complete checks to collectd plugins

    Some of the collectd plugins are not waiting for configuration
    complete before starting to monitor or communicate with external
    services such as fm. This leads to the collectd networking plugin
    being triggered to run before or while the host is being configured
    which has been seen to lead to collectd segfaults/coredumps within
    the collectd's internal networking plugin.

    To solve this issue, reduce startup thrash and a slew of plugin
    startup error logs, this update adds consistent initialization
    and configuration complete checks to all of the starlingX
    plugins so monitoring and external service access is not
    performed until the host configuration is complete.

    Test Plan:

    PASS: Verify no plugin sampling till after config is complete
    PASS: Verify alarm assert and clear cycle for all plugins
    PASS: Install AIO SX system install
    PASS: Install AIO DX system install
    PEND: Verify Standard system install
    PASS: Verify logging

    Change-Id: I90a5d1c8c3be77269a571738c9499b2e908e1fc5
    Closes-Bug: 1872979
    Signed-off-by: Eric MacDonald <email address hidden>