Jira (PUP-9573) win32-service gem needs updating

27 views
Skip to first unread message

Bill Wilcox (JIRA)

unread,
Mar 20, 2019, 3:12:03 PM3/20/19
to puppe...@googlegroups.com
Bill Wilcox created an issue
 
Puppet / Bug PUP-9573
win32-service gem needs updating
Issue Type: Bug Bug
Affects Versions: PUP 6.0.1
Assignee: Unassigned
Created: 2019/03/20 12:11 PM
Priority: Normal Normal
Reporter: Bill Wilcox

*Puppet Version: 2019.0.1
Puppet Server Version: 2019.0.1
*OS Name/Version: Windows 2016

Describe your issue in as much detail as possible…

Customer is attempting to modify a provider in the win_service module to edit the description of a service. This requires running some code to pull in information about the desired service:

services_output = Service.services.select

{ |v| v.service_name == specific_service }

Every time this resource runs we see errors similar to the following:

C:/Program Files/Puppet Labs/Puppet/puppet/lib/ruby/gems/2.5.0/gems/win32-service-0.8.8/lib/win32/service.rb:1081: warni
ng: constant ::Fixnum is deprecated
WARNING: Failed to retrieve description for the CDPUserSvc_5086d service.
WARNING: Unable to get delayed auto start information for the CDPUserSvc_5086d service
WARNING: Unable to retrieve failure actions for the CDPUserSvc_5086d service

Describe steps to reproduce…

I can reproduce this using the irb console we have vendored into the agent:

require 'win32/service'
include Win32
services_output = Service.services.select

{ |v| v.service_name == 'puppet' }

Desired Behavior:

We shouldn't see the error messages.

Actual Behavior:

We do see the error messages.

It looks like this issue has already been resolved in the win32-service gem:
https://github.com/chef/win32-service/commit/7b1720fca8ae39a10368fe10b4918deddbd622b1

We are vendoring version 0.8.8 of the gem. This is patched in 1.0.1.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Jorie Tappa (JIRA)

unread,
Mar 25, 2019, 12:58:03 PM3/25/19
to puppe...@googlegroups.com
Jorie Tappa updated an issue
Change By: Jorie Tappa
Team: Puppet Romania

Mihai Buzgau (JIRA)

unread,
Apr 17, 2019, 3:05:03 AM4/17/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - Triage

Mihai Buzgau (JIRA)

unread,
May 2, 2019, 6:05:02 AM5/2/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Story Points: 2

Mihai Buzgau (JIRA)

unread,
May 2, 2019, 6:05:02 AM5/2/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - Triage 2019-05-15

Gheorghe Popescu (JIRA)

unread,
May 10, 2019, 7:01:02 AM5/10/19
to puppe...@googlegroups.com
Gheorghe Popescu assigned an issue to Gheorghe Popescu
Change By: Gheorghe Popescu
Assignee: Gheorghe Popescu

Mihai Buzgau (JIRA)

unread,
May 15, 2019, 5:29:10 AM5/15/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-05-15 , PR - 2019-05-29

Gheorghe Popescu (JIRA)

unread,
May 20, 2019, 9:41:02 AM5/20/19
to puppe...@googlegroups.com
Gheorghe Popescu commented on Bug PUP-9573
 
Re: win32-service gem needs updating

Bill Wilcox from what i see in the logs provided, there are just warnings, how are this warnings impacting the customer? Is he using a win_service module or the win_service functionality provided by puppet?

Mihai Buzgau (JIRA)

unread,
May 29, 2019, 5:22:08 AM5/29/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-05-15, PR - 2019-05-29 , PR - 2019-06-12

Mihai Buzgau (JIRA)

unread,
Jun 12, 2019, 4:21:08 AM6/12/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12 , PR - 2019-06-25

Mihai Buzgau (JIRA)

unread,
Jun 12, 2019, 4:26:03 AM6/12/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - Triage, PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12 , PR - 2019-06-25

Mihai Buzgau (JIRA)

unread,
Jul 16, 2019, 10:31:03 AM7/16/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Puppet / Bug PUP-9573
win32-service gem needs updating
Change By: Mihai Buzgau
Sprint: PR - Triage, PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12

Mihai Buzgau (Jira)

unread,
May 26, 2020, 5:08:03 AM5/26/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12 , PR - Triage
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Mihai Buzgau (Jira)

unread,
May 26, 2020, 5:08:03 AM5/26/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Epic Link: PUP-7586

Josh Cooper (Jira)

unread,
Nov 4, 2020, 6:41:03 PM11/4/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Epic Link: PUP-7586

Josh Cooper (Jira)

unread,
Nov 4, 2020, 6:41:03 PM11/4/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9573

I removed this from the Epic, since this is only an issue for puppet 5/6, as the gem has already been removed from puppet 7.

Bogdan Irimie (Jira)

unread,
Nov 5, 2020, 3:52:04 AM11/5/20
to puppe...@googlegroups.com
Bogdan Irimie updated an issue
Change By: Bogdan Irimie
Sprint: PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12 , ready for triage

Gheorghe Popescu (Jira)

unread,
Feb 16, 2021, 2:04:03 AM2/16/21
to puppe...@googlegroups.com
Gheorghe Popescu assigned an issue to Unassigned
Change By: Gheorghe Popescu
Assignee: Gheorghe Popescu

Ciprian Badescu (Jira)

unread,
Jun 22, 2021, 4:26:01 AM6/22/21
to puppe...@googlegroups.com
Ciprian Badescu updated an issue
Change By: Ciprian Badescu
Sprint: PR - 2019-05-15, PR - 2019-05-29, PR - 2019-06-12 , ready for triage
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
Sep 14, 2021, 12:44:03 AM9/14/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9573

It would be good to patch win32-service in the 6.x puppet-runtime stream.

Josh Cooper (Jira)

unread,
Sep 14, 2021, 12:45:03 AM9/14/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.25.0

Josh Cooper (Jira)

unread,
Sep 27, 2021, 11:08:03 AM9/27/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Feb 23, 2022, 9:38:03 PM2/23/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9573

We don't have any plans on updating the win32-service gem in the puppet 6 series so I'm going to close this. And the gem is no longer used in puppet 7, though a later version can be installed separately if that functionality is still needed.

This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages