diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-06-15 12:43:27 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-06-21 12:48:07 -0400 |
commit | a9e1632113406a646bdd7525982b699cf790aedb (patch) | |
tree | c3b001e685fb73ac33a0475ef166bb3ac0db1fc3 /tests/unittests/path/to | |
parent | 96f166699d12704cc7cf73cb8b13278675f68730 (diff) | |
download | sos-a9e1632113406a646bdd7525982b699cf790aedb.tar.gz |
[collect|sosnode] Avoiding clobbering sos options between nodes
This commit overhauls the function of `finalize_sos_cmd()` in several
ways.
First, assign the sos report plugin related options directly to private
copies of those values for each node, so that the shared cluster profile
does not clober options between nodes.
Second, provide a default Lock mechanism for clusters that need to
perform some node-comparison logic when assigning options based on node
role.
Finally, finalize the sos command for each node _prior_ to the call to
`SoSNode.sosreport()` so that we can be sure that clusters are able to
appropriately compare and assign sos options across nodes before some
nodes have already started and/or finished their own sos report
collections.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests/unittests/path/to')
0 files changed, 0 insertions, 0 deletions