sensu / sensu-chef

Sensu Chef cookbook.
https://supermarket.chef.io/cookbooks/sensu
Apache License 2.0
221 stars 280 forks source link

Sensu server and api restart every run since Chef 14 #627

Open scottymarshall opened 5 years ago

scottymarshall commented 5 years ago

Expected Behavior

Upon an initial chef run, sensu-server and sensu-api should restart at the end of the run.

Current Behavior

After we upgraded from Chef-client 13.8 to 14.8.12, sensu-server and sensu-api restarts every chef-client run. at the end of each run I see

Recipe: sensu::default
  * ruby_block[sensu_service_trigger] action create
    - execute the ruby block sensu_service_trigger
  * service[sensu-server] action restart
    - restart service service[sensu-server]
  * service[sensu-api] action restart
    - restart service service[sensu-api]

Running handlers:
Running handlers complete

Possible Solution

Still no solution. I am having to let the system restart every time we run chef.

Steps to Reproduce (for bugs)

  1. upgrade to Chef 14.8.12
  2. run sensu::server_service

Context

A restart everytime is not good

Your Environment