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

Update to consul.json does not trigger service restart #381

Closed
errygg opened this issue Dec 5, 2016 · 3 comments
Closed

Update to consul.json does not trigger service restart #381

errygg opened this issue Dec 5, 2016 · 3 comments

Comments

@errygg
Copy link

errygg commented Dec 5, 2016

Had to update the node name to the hostname to support our deployment, but when the node name (i.e. node['consul']['config']['node_name']) attribute was overridden, it did not restart the consul service. Had to manually restart to capture the new node name.

Running on ubuntu jessie with chef client version 12.16.42.

@legal90
Copy link
Contributor

legal90 commented Dec 6, 2016

Hi, @errygg
This issue duplicates #307 and #341

Service restart was disabled intentionally by 80f4a1c and #309
Please, refer to the discussion: #288

TL;DR: Automatic restart of Consul servers could cause a cluster downtime when you run chef-client simultaneously on your nodes. Also, if Consul version has been changed (upgrade scenario), then Consul servers should be restarted manually, according to the upgrade manual.

@errygg
Copy link
Author

errygg commented Dec 6, 2016

Thanks @legal90! I guess I wasn't the first to see this. I'll go ahead and close the issue out. Automate all the things (except consul restarts 😆 )

@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants