-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Consul 0.7.5 & Windows Fixes #421
Conversation
Ginja
commented
Mar 23, 2017
- Bump default version to 0.7.5
- Fixed upgrading issue on Windows
- The NSSM service would not use the new binary location
- Added extends to certain resources to ensure we're using the Consul Cookbook helper methods
- Added SHELL environment variable to default_environment hash
- To make it easier to troubleshoot why script checks don't fire when consul is launched with systemd
- Re-enabled the Windows Service spec tests as they seem to work locally for me now
Codecov Report
@@ Coverage Diff @@
## master #421 +/- ##
=========================================
Coverage ? 61.97%
=========================================
Files ? 7
Lines ? 355
Branches ? 0
=========================================
Hits ? 220
Misses ? 135
Partials ? 0
Continue to review full report at Codecov.
|
libraries/consul_service.rb
Outdated
@@ -55,6 +55,7 @@ def default_environment | |||
{ | |||
'GOMAXPROCS' => [node['cpu']['total'], 2].max.to_s, | |||
'PATH' => '/usr/local/bin:/usr/bin:/bin', | |||
'SHELL' => node['consul']['service_shell'], |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
@Ginja Could you please also fix the cookstyle offense? |
NSSM would not use the new binary when consul was upgraded. Added extends to certain resources to ensure we're using our helper methods in these resources
By default, the consul's user shell is set to /bin/nologin or /bin/false which prevents script checks from executing with systemd. This change is to display this information to make troubleshooting easier/faster.
They seem to work locally
Thanks, @legal90! |
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. |