-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pbench-sync-satellite problems #1010
Labels
Comments
For bullet no.2 above, the remote script would have to know where the server config file is: Yet Another Chicken And Egg problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are several problems with
pbench-sync-satellite
:The initial problem (and the one that drove the following ones) is that there is no coordination between the satellite specification in the server's config file and the actual configuration of the satellite. In one particular case, the
satellite-archive
specification in the server's config file was pointing to an existing but non-functional place in the satellite's hierarchy. We need to correlate and sanity-check these settings or generate them from a common configuration.Investigate whether there is any need for the
satellite-archive
spec in the server config. It is passed as an argument bypbench-remote-satellite-state-change
, but the remote script that is invoked on the satellite could retrieve that from its own configuration, rather than depending on the server to pass that information.If (as above),
pbench-sync-satellite
is unable to perform the remote state change, the state change file is left as is and causes subsequent invocations to fail, even before the script has a chance to discover if there is anything that it needs to do.The script creates a directory for each run where it stores various working files. These directories persist. We need to get rid of them and summarize the working files into a single log file (perhaps one per satellite). DONE: see note below.
The calls to
pbench-report-status
use--type error
and apparently send the same text with the same id to ES. It's not quite clear what fails exactly but there are messages like these in the log:and so on, ad infinitum. This may be standard ES behavior, but we probably need to avoid sending the exact same payload multiple times, or check the code that
curl
returns more carefully and report more accurately.The text was updated successfully, but these errors were encountered: