You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 18, 2020. It is now read-only.
Running a go cookbook on windows server 2012R2, throws this exception below:
Recipe: gocd::server
================================================================================
Error executing action `enable` on resource 'windows_service[Go Server]'
================================================================================
SystemCallError
---------------
The specified service does not exist as an installed service. - OpenService: The specified service does not exist as an installed service.
Resource Declaration:
---------------------
# In C:\Users\vagrant\AppData\Local\Temp\kitchen\cookbooks\gocd\recipes\server.rb
8: service (platform?('windows') ? 'Go Server' : 'go-server') do
9: supports :status => true, :restart => true, :start => true, :stop => true
10: action [:enable, :start]
11: if node['gocd']['server']['wait_up']['retries'] != 0
12: notifies :get, 'http_request[verify_go-server_comes_up]', :immediately
13: end
14: end
Compiled Resource:
------------------
# Declared in C:\Users\vagrant\AppData\Local\Temp\kitchen\cookbooks\gocd\recipes\server.rb:8:in `from_file'
windows_service("Go Server") do
action [:enable, :start]
supports {:status=>true, :restart=>true, :start=>true, :stop=>true}
retries 0
retry_delay 2
default_guard_interpreter :default
service_name "Go Server"
pattern "Go Server"
startup_type :automatic
declared_type :service
cookbook_name :gocd
recipe_name "server"
end
Running handlers:
[2016-03-17T06:56:47-07:00] ERROR: Running exception handlers
Running handlers complete
[2016-03-17T06:56:47-07:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 24 seconds
[2016-03-17T06:56:47-07:00] FATAL: Stacktrace dumped to C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/chef-stacktrace.out
[2016-03-17T06:56:47-07:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-03-17T06:56:47-07:00] FATAL: SystemCallError: windows_service[Go Server] (gocd::server line :sunglasses: had an error: SystemCallError: The specified service does not exist as an installed service. - OpenService: The specified service does not exist as an installed service.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Running a go cookbook on windows server 2012R2, throws this exception below:
Recipe: gocd::server
The text was updated successfully, but these errors were encountered: