aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unittests/path/to
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2021-06-15 12:43:27 -0400
committerJake Hunsaker <jhunsake@redhat.com>2021-06-21 12:48:07 -0400
commita9e1632113406a646bdd7525982b699cf790aedb (patch)
treec3b001e685fb73ac33a0475ef166bb3ac0db1fc3 /tests/unittests/path/to
parent96f166699d12704cc7cf73cb8b13278675f68730 (diff)
downloadsos-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