Comment 6 for bug 1839389

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

Reviewed: https://review.opendev.org/676215
Committed: https://git.openstack.org/cgit/starlingx/integ/commit/?id=adda44b54ea0e0535e330ed4c38c1ed4105ad43d
Submitter: Zuul
Branch: master

commit adda44b54ea0e0535e330ed4c38c1ed4105ad43d
Author: Eric MacDonald <email address hidden>
Date: Tue Aug 13 11:16:10 2019 -0400

    Make platform.conf variables visible to collect.d service scripts

    A number of collect.d service scripts are not gathering
    all the info that is needed during the collect operation.

    Many collect.d service scripts use nodetype, subfunction,
    vswitch_type and other platform.conf variables to determine
    what to collect.

    However, these variables are seen to be empty causing the
    service scripts to make incorrect collection decisions.

    This update modifies the scoping of loaded platform.conf
    variables so that they are visible to all of collect,
    including the collect.d service scripts.

    Test Plan:

    PASS: Verify platform.conf variables are visible to collect.d service scripts.
    PASS: Verify file list before and after update.
    PASS: Run collect all and verify missing content present.
    PASS: Run collect host and verify missing content present.

    Change-Id: Ia6f45afd3f3fc676b0d3eaca16dc8bbe68356c8e
    Closes-Bug: 1839389