Skip to content

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

@scottymarshall

Description

@scottymarshall

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

  • Version of this cookbook used: 5.4.0
  • Version of Sensu used: sensu-1.6.1-1.el7.x86_64
  • Version of Chef used: 14.8.12
  • Operating System and version (e.g. CentOS 7, Ubuntu 14.04): CentOS 7
  • Link to your project:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions