Skip to content
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

Handle Splunk forwarder upgrades when going to version 9 #342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

treydock
Copy link
Contributor

@treydock treydock commented Apr 4, 2023

Without this the upgrade from v8 to v9 forwarder would timeout on the stop command as it ends up forwarding start/stop to systemd so the start will actually start the service with v9.

@treydock
Copy link
Contributor Author

treydock commented Apr 4, 2023

Upgrading Forwarder from 8.0.x to 9.0.4:

[root@grafana-test ~]# puppet agent -t
Info: Using environment 'test'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for grafana-test.OMIT
Info: Applying configuration version '1680616232'
Notice: /Stage[main]/Splunk::Forwarder::Install/Package[splunkforwarder]/ensure: ensure changed '8.2.6-a6fe1ee8894b' to '9.0.4-de405f4a7979'
Info: /Stage[main]/Splunk::Forwarder::Install/Package[splunkforwarder]: Scheduling refresh of Exec[splunk-forwarder-accept-tos]
Notice: /Stage[main]/Splunk::Forwarder::Service::Nix/Exec[splunk-forwarder-accept-tos]: Triggered 'refresh' from 1 event
Notice: /Stage[main]/Splunk::Forwarder::Service/Service[SplunkForwarder]/enable: enable changed 'false' to 'true' (corrective)
Notice: Applied catalog in 90.49 seconds

@siegy22
Copy link
Contributor

siegy22 commented Mar 23, 2024

@treydock The GitHub actions are fixed, feel free to rebase onto master, then your tests should pass and we can get this merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants