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.
Reviewed: https:/ /review. opendev. org/676215 /git.openstack. org/cgit/ starlingx/ integ/commit/ ?id=adda44b54ea 0e0535e330ed4c3 8c1ed4105ad43d
Committed: https:/
Submitter: Zuul
Branch: master
commit adda44b54ea0e05 35e330ed4c38c1e d4105ad43d
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: Ia6f45afd3f3fc6 76b0d3eaca16dc8 bbe68356c8e
Closes-Bug: 1839389