-
Notifications
You must be signed in to change notification settings - Fork 29
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
upgrade/downgrade should restart services #52
Comments
Based on looking at the code, this looks like a problem with the chef_ingredient resource as this action is to upgrade and reconfigure in this cookbook. We'll need to confirm. Thanks for reporting. |
Because a restart causes a brief outage on a Supermarket node, we have so far not made the restart automatic. Certainly open to feedback about use cases and maybe providing a flag for enabling/disabling auto-restart. Also, we're considering a move to encouraging folks installing private Supermarkets to use |
After syncing up with @robbkidd realized that it's intentionally not calling for a restart. As @robbkidd mentions in previous comment with regards to restart, it is intentionally not restarting because folks might not want to have their Supermarket go down at a random time based on their configuration. The process of upgrading a particular service can have many meanings depending on who is doing the installation/upgrading. We'll get this better documented so folks understand what is happening here. Thanks for filing this issue. |
I just installed that lastest version via supermarket-omnibus-cookbook and it did not restart the processes. I could still see the ddtrace errors until I ran
supermarket-ctl restart
. This should be automatic.Cookbook version
supermarket-omnibus-cookbook 2.0.1
Chef-client version
chef-12.13.37-1.el6.x86_64
Platform Details
CentOS 6.8
Steps to Reproduce:
perform an upgrade via cookbook by setting version.
Expected Result:
supermarket restarts and runs on the desired version without manual restart
Actual Result:
old version of code is still running
The text was updated successfully, but these errors were encountered: