perfsonar / archive

The perfSONAR Measurement Archive based on OpenSearch
Apache License 2.0
0 stars 1 forks source link

Opensearch update issues #34

Closed arlake228 closed 5 months ago

arlake228 commented 7 months ago

I have run into some issues with upgrading to 5.1.0 where opensearch gets stopped because it claims you are asking for a restart too quickly. I think this is because the opensearch 2.13.0 restarts the service and then perfsonar-archive does again (ditto for logstash). After install completes, everything works fine if you run the following by hand:

systemctl start opensearch
/usr/lib/perfsonar/archive/perfsonar-scripts/pselastic_secure_pos.sh

We should protect against this by final release.

arlake228 commented 5 months ago

As a workaround i added a "psarchive repair" command that re-runs the pre and post scripts which seems to fix things. If we find anything better then let me know.

arlake228 commented 5 months ago

Confirmed fix worked on both clean install and update.