Jira (PUP-11373) Server with multithreaded enabled hangs after upgrade v6 -> v7

139 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Dec 1, 2021, 1:51:02 PM12/1/21
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Bug PUP-11373
Server with multithreaded enabled hangs after upgrade v6 -> v7
Change By: Josh Cooper
Summary: Server with multithreaded enabled hangs after upgrade v6 -> v7
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo

Josh Cooper (Jira)

unread,
Dec 1, 2021, 1:53:02 PM12/1/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11373
 
Re: Server with multithreaded enabled hangs after upgrade v6 -> v7

Pavel Sapezhka Thanks for filing this and including the threaddump. It looks like there's a deadlock due to multithreaded being enabled. We'll need to take a closer look.

Josh Cooper (Jira)

unread,
Dec 1, 2021, 1:53:02 PM12/1/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 1, 2021, 2:38:02 PM12/1/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 1, 2021, 2:50:01 PM12/1/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11373

This is probably triggered due to https://github.com/puppetlabs/puppet/commit/ec319d778150eade0b6128c2ddd11cbf3926183b, because previously the loader didn't lock the environment (which was the cause of a different deadlock PUP-10959)

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:17:03 AM12/2/21
to puppe...@googlegroups.com

Pavel Sapezhka (Jira)

unread,
Dec 2, 2021, 6:06:01 AM12/2/21
to puppe...@googlegroups.com

Josh Cooper  I have been testing for 5 hours, have no issues, thank you!

Pavel Sapezhka (Jira)

unread,
Dec 2, 2021, 6:12:01 AM12/2/21
to puppe...@googlegroups.com

The only issue I've found is sometimes puppetserver returns 500 error with a log like

Dec 02 10:40:29 tor1-infra-puppet puppetserver[1874859]: ERROR [qtp580967019-3852] [puppetserver] Puppet Server Error: Evaluation Error: Error while evaluating a Method call, Internal Error: Attempt to redefine loader named 'wazuh private' (file: /etc/puppetlabs/code/environments/production/modules/wazuh/manifests/init.pp, line: 6, column: 11) on node tor1-prod-pathpuzzle-android-app-1.etrigan.net

It's periodically happened with almost any node and module. Could it be related to this issue or it's another problem?

 

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:02:01 PM12/2/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11373

Thanks Pavel Sapezhka! The Attempt to redefine loader named 'xxx private' error is filed as PUP-11324 (as it happens in 6.x).

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:16:02 PM12/2/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:18:01 PM12/2/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Dec 2, 2021, 12:18:05 PM12/2/21
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jan 4, 2022, 11:27:03 AM1/4/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Kanban
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Josh Cooper (Jira)

unread,
Jan 4, 2022, 11:27:03 AM1/4/22
to puppe...@googlegroups.com

Nirupama Mantha (Jira)

unread,
Jan 4, 2022, 11:38:01 AM1/4/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jan 11, 2022, 8:16:01 PM1/11/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jan 11, 2022, 8:17:01 PM1/11/22
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: Fixes a deadlock when running puppetserver in multithreaded mode between the environment and type collection.

Josh Cooper (Jira)

unread,
Jan 12, 2022, 5:56:01 PM1/12/22
to puppe...@googlegroups.com

Heston Hoffman (Jira)

unread,
Jan 20, 2022, 4:45:02 PM1/20/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Feb 22, 2022, 2:44:01 PM2/22/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Feb 22, 2022, 2:45:02 PM2/22/22
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-11373
 
Re: Server with multithreaded enabled hangs after upgrade v6 -> v7

I removed the 7.15.0 fix version because the code was first fixed and released in 7.14.0

Reply all
Reply to author
Forward
0 new messages