Jira (PUP-9957) puppet apply command fails when external modules are installed

17 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Aug 12, 2019, 4:16:03 PM8/12/19
to puppe...@googlegroups.com
Josh Cooper moved an issue
 
Puppet / Bug PUP-9957
puppet apply command fails when external modules are installed
Change By: Josh Cooper
Affects Version/s: puppet-agent 5.5.10
Key: PA PUP - 2753 9957
Project: Puppet Agent
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Aug 12, 2019, 4:21:03 PM8/12/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9957
 
Re: puppet apply command fails when external modules are installed

This may be related to additional checking introduced in 5.5.x to ensure modules don't declare things outside of their module namespace, eg PUP-4242 or PUP-9020. /cc Kris Bosland, Henrik Lindberg

Henrik Lindberg (JIRA)

unread,
Aug 12, 2019, 6:52:04 PM8/12/19
to puppe...@googlegroups.com

Hm, this seems familiar. We had issues that were caused by logic using an old style of resource initialization that caused a resource type to be loaded only in the old way, then when the new "right way" of loading is used it trips over the load that snuck under the radar. I think this could be PUP-8002 or PDB-3734 or a similar problem in another location.

I don't think the checking of declarations in the wrong place would cause this problem - if that was they case there would be a specific error, or if such problems were present that those checks prevent that they would cause leakage between contexts (i.e. causing monkey patching at worst).

Looking at the line in question that is reported as being in error is the init.pp of stdlib where the class stdlib is defined - it in turn includes definitions of additional stages. This leads me to suspect that something is going on inside the Stage datatype (maybe an "old style initialization" that has gone unnoticed.

In any case, worth trying to reproduce under Puppet 6.

Vadym Chepkov (JIRA)

unread,
Oct 15, 2019, 11:25:03 AM10/15/19
to puppe...@googlegroups.com

Mihai Buzgau (JIRA)

unread,
Oct 16, 2019, 5:05:05 AM10/16/19
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Sprint: PR - Triage , PR - Triage

Josh Cooper (Jira)

unread,
Mar 16, 2020, 2:53:03 PM3/16/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9957
 
Re: puppet apply command fails when external modules are installed

Michael Watters can you include the output when running puppet apply with the --trace command line option?

This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Michael Watters (Jira)

unread,
Mar 16, 2020, 6:06:03 PM3/16/20
to puppe...@googlegroups.com

Michael Watters (Jira)

unread,
Mar 16, 2020, 6:07:06 PM3/16/20
to puppe...@googlegroups.com
Michael Watters commented on Bug PUP-9957
 
Re: puppet apply command fails when external modules are installed

Josh Cooper Unfortunately the trace option doesn't show very much.    Attached is a screenshot for reference.

Josh Cooper (Jira)

unread,
Jul 24, 2020, 9:12:03 PM7/24/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-9957

Marking this as a dup. Please try out the pull request associated with the other ticket.

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 - Triage , ready for triage
Reply all
Reply to author
Forward
0 new messages