Jira (PUP-10366) 5.5.17 agents fail on interval runs

31 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Mar 11, 2020, 6:59:02 PM3/11/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Bug PUP-10366
5.5.17 agents fail on interval runs
Change By: Josh Cooper
Affects Version/s: PUP 5.5.17
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Mar 11, 2020, 6:59:03 PM3/11/20
to puppe...@googlegroups.com
Josh Cooper moved an issue
Change By: Josh Cooper
Key: PA PUP - 3167 10366
Project: Puppet Agent

Josh Cooper (Jira)

unread,
Mar 12, 2020, 2:02:03 AM3/12/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 5.5.19

Josh Cooper (Jira)

unread,
Mar 12, 2020, 2:02:04 AM3/12/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Team: Coremunity

Josh Cooper (Jira)

unread,
Mar 12, 2020, 2:02:04 AM3/12/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-10366
 
Re: 5.5.17 agents fail on interval runs

This is reproducible using 5.5.17 using:

# puppet agent --no-daemonize --verbose --server localhost --onetime
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)
Info: Retrieving pluginfacts
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)
Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)
Info: Retrieving plugin
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)
Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)
Error: Could not retrieve catalog from remote server: Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Failed to open TCP connection to localhost:8140 (Connection refused - connect(2) for "localhost" port 8140)

The problem is that client.run can return nil which is later passed to exit causing the no implicit conversion from nil to integer (TypeError).

Josh Cooper (Jira)

unread,
Mar 12, 2020, 2:03:03 AM3/12/20
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-10366

There are a few other places in that code where the same thing can happen.

Josh Cooper (Jira)

unread,
Mar 12, 2020, 2:03:03 AM3/12/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Hopper

Josh Cooper (Jira)

unread,
Mar 12, 2020, 2:03:03 AM3/12/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.15.0

Mihai Buzgau (Jira)

unread,
Mar 23, 2020, 2:55:05 PM3/23/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Team: Coremunity Night's Watch

Mihai Buzgau (Jira)

unread,
Mar 24, 2020, 8:00:03 AM3/24/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: Coremunity Hopper PR - Triage

Josh Cooper (Jira)

unread,
Mar 25, 2020, 9:01:04 PM3/25/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Mar 27, 2020, 7:21:02 PM3/27/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Change By: Josh Cooper
Fix Version/s: PUP 5.5.19
Fix Version/s: PUP 5.5.20

Mihai Buzgau (Jira)

unread,
Mar 31, 2020, 10:58:03 AM3/31/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR NW - Triage 2020-04-15

Mihai Buzgau (Jira)

unread,
Apr 1, 2020, 4:43:03 AM4/1/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Story Points: 2

Ciprian Badescu (Jira)

unread,
Apr 2, 2020, 9:55:04 AM4/2/20
to puppe...@googlegroups.com
Ciprian Badescu assigned an issue to Ciprian Badescu
Change By: Ciprian Badescu
Assignee: Ciprian Badescu

Josh Cooper (Jira)

unread,
Apr 13, 2020, 2:15:04 PM4/13/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Apr 15, 2020, 3:34:03 AM4/15/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: NW - 2020-04-15 , NW - 2020-04-29

Claire Cadman (Jira)

unread,
Apr 27, 2020, 8:47:03 AM4/27/20
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed jira_escalated
Reply all
Reply to author
Forward
0 new messages