We are using the cookbook to upgrade to 9.0.3. Upon trying to start Splunk after upgrade we are getting this error:
STDERR: Failed to start Splunkd.service: Unit Splunkd.service not found.
---- End output of ["/usr/bin/systemctl", "--system", "start", "Splunkd"] ----
Ran ["/usr/bin/systemctl", "--system", "start", "Splunkd"] returned 5
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: service[splunk] (chef-splunk::service line 103) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '5'
---- Begin output of ["/usr/bin/systemctl", "--system", "start", "Splunkd"] ----
:pancakes: Cookbook version
9.2.0
:woman_cook: Chef-Infra Version
17.10.0
:tophat: Platform details
RHEL8, cinc-client running on an AWS EC2
Steps To Reproduce
Steps to reproduce the behavior:
Direct chef to upgrade from 8.2.4 to 9.0.3.
Run cinc-client on a node
cinc-client finishes in error. Error is fixed by running sudo systemctl daemon-reload and re-running cinc-client
:police_car: Expected behavior
cinc-client is able to start Splunk successfully after upgrade
:ghost: Brief Description
We are using the cookbook to upgrade to 9.0.3. Upon trying to start Splunk after upgrade we are getting this error:
:pancakes: Cookbook version
9.2.0
:woman_cook: Chef-Infra Version
17.10.0
:tophat: Platform details
RHEL8, cinc-client running on an AWS EC2
Steps To Reproduce
Steps to reproduce the behavior:
:police_car: Expected behavior
cinc-client is able to start Splunk successfully after upgrade
:heavy_plus_sign: Additional context