Open
Description
This issue was prompted by Robert Krawitz' pbench-agent use-case with kata-vms in openshift, which have changing hostnames due to their lifespans matching the pods themselves, resulting in an inability to automate without significant added work.
Currently, pbench-agent can only register tools for known hosts (before the benchmark run). This means that the agent by itself does not work in any use case where the hosts are not already known to the controller before starting the run.
Solution: Allow tools to be registered under a "label" (rather than only under a host name)
- Remote tool meisters will then be able to connect to the redis server with a specific label to determine the tools to run
- The tool-meister hostname can then be discovered once connected, allowing for a much wider net of use-cases
What this change will require:
- Tools will need the option to be registered under a label
- The tool-meister-start and redis -> tds -> tm control flow will have to be adjusted
- Redis keys will have to be adjusted as well
- The hostnames for tms will have to be discovered through redis by the tool-data-sink, rather than having that info fed directly through the tool registration process
Additional changes that can come of this work:
- Pbench runs no longer shutting down when network connection is lost with one remote node
- Control over groups of nodes with shared labels
Metadata
Metadata
Assignees
Type
Projects
Status
To Do