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

windows_service resource prints ruby warnings from win32-service gem #8497

Open
tlian opened this issue May 8, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@tlian
Copy link

commented May 8, 2019

Describe the problem

This issue was very similar to #7335.
Please note that issues reported here was indeed different. #7335 did fix the warning message addressed in the ticket. These warning reported here in this ticket were different and required new fix(es).

Software Version

chef-client 14.12.9

Replication Case

Use windows_service resource to invoke/start WinQuic service

Stacktrace

C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1086:in 'rescue in block in services' : WARNING: Failed to retrieve description for the WinQuic service. (StructuredWarnings::StandardWarning)
C:/opscode/chef/embedded/lib/ruby/gems/2.5.0/gems/win32-service-2.1.4/lib/win32/service.rb:1146:in 'rescue in block in services' : WARNING: Unable to retrieve failure actions for the WinQuic service (StructuredWarnings::StandardWarning)

Possible Solution

@marcparadise marcparadise referenced this issue May 8, 2019

Closed

Fix config setting which was returning nil #8494

0 of 10 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.