Jira (PUP-11324) puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled

27 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Oct 25, 2021, 2:18:03 PM10/25/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Bug PUP-11324
puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled
Change By: Josh Cooper
Summary: puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
Oct 25, 2021, 2:45:03 PM10/25/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11324
 
Re: puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled

I think this is related to, possibly duplicates PUP-10958.

Puppet 6.25.0 had a few changes relating to environments and their loaders. See PUP-11158 and PUP-10955.

Josh Cooper (Jira)

unread,
Oct 25, 2021, 2:47:03 PM10/25/21
to puppe...@googlegroups.com

Chris Fox (Jira)

unread,
Oct 26, 2021, 3:17:02 AM10/26/21
to puppe...@googlegroups.com
Chris Fox commented on Bug PUP-11324
 
Re: puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled

Hi Josh Cooper,

yes, i can test with puppet-agent 6.25.1, but where can i download it? It isnt released in the software repository yet. (https://yum.puppet.com/puppet6/sles/12/x86_64/)

How do i capture a thread dump? I didn't done this before 0

Josh Cooper (Jira)

unread,
Oct 26, 2021, 3:21:02 PM10/26/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11324

Sorry Chris Fox I meant 6.25.0. You'll need to install the openjdk devel package (that provides jstack), then once the server hangs, execute something like:

$ sudo -u puppet /path/to/jstack -e -l `sudo pgrep -F /var/run/puppetlabs/puppetserver/puppetserver.pid`

Chris Fox (Jira)

unread,
Oct 27, 2021, 3:38:02 AM10/27/21
to puppe...@googlegroups.com
Chris Fox commented on Bug PUP-11324

Hi Josh Cooper,

bad news, i talked to our to our it security/compliance department and i am not allowed to send you the thread dump

Josh Cooper (Jira)

unread,
Oct 27, 2021, 1:38:01 PM10/27/21
to puppe...@googlegroups.com

Nate McCurdy (Jira)

unread,
Feb 2, 2022, 6:13:01 PM2/2/22
to puppe...@googlegroups.com
Nate McCurdy updated an issue
 
Change By: Nate McCurdy
Attachment: stacktrace-attempt_to_redefine_loader.txt
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Nate McCurdy (Jira)

unread,
Feb 2, 2022, 6:13:01 PM2/2/22
to puppe...@googlegroups.com
Nate McCurdy commented on Bug PUP-11324
 
Re: puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled

I've been seeing a lot of these "Attempt to redefine loader" errors shortly after puppetserver has started and is taking some agent traffic. The errors go away after being thrown 1-3 times. stacktrace-attempt_to_redefine_loader.txtlink_attachment_7.gif

My Puppetserver host is using:

  • puppet-agent-7.14.0-1.el7.x86_64
  • puppetserver-7.6.0-1.el7.noarch

Attached is a stack trace from one such error. stacktrace-attempt_to_redefine_loader.txtlink_attachment_7.gif

Alex Carder (Jira)

unread,
Mar 11, 2022, 5:21:02 PM3/11/22
to puppe...@googlegroups.com
Alex Carder commented on Bug PUP-11324

FYI this same issue (redefine loader) occurs on server 7.x when the 7.14 agent is instealled: SERVER-3160 which seems caused by this change in the 7.14 agent: PUP-11373.

Andrey Tikhonov (Jira)

unread,
Oct 3, 2022, 10:31:03 AM10/3/22
to puppe...@googlegroups.com
Andrey Tikhonov updated an issue
 
Change By: Andrey Tikhonov
Attachment: jstack.log
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

Andrey Tikhonov (Jira)

unread,
Oct 3, 2022, 10:33:01 AM10/3/22
to puppe...@googlegroups.com
Andrey Tikhonov commented on Bug PUP-11324
 
Re: puppet-agent-6.25.0 breaks puppetserver-6.17.0 with multithreading enabled

Josh Cooper, please take a look at jstack trace jstack.loglink_attachment_7.gif. Debian Buster, puppetserver 6.20.0, puppet-agent 6.28.0.

Reply all
Reply to author
Forward
0 new messages