Issue #15058 has been updated by Patrick Carlisle.

Status changed from Unreviewed to Needs More Information

I am having trouble reproducing this. I wrote an enc script that prints extra 
junk to stderr, which I've verified on the command line, but puppet doesn't 
pick that up. I've even adding debug printing from inside the node exec 
terminus, and I'm only seeing the stdout output. I'm not sure where to go from 
there. Maybe there is something different about your setup that triggers this, 
but I don't know what it might be.
----------------------------------------
Bug #15058: External nodes should only capture stdout (again)
https://projects.puppetlabs.com/issues/15058#change-65383

Author: Tom van Neerijnen
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.16
Keywords: 
Branch: 


I am using Puppet v2.7.16 on server and client and yet bug #3836 still plagues 
me.

The below example of an exception being raised because I forgot to define 
another exception is a good example of both my bad coding and the continued 
presence of this bug.

All the exception output is on stderr, 2>/dev/null when I run my script results 
in only my yaml being output, yet puppet still freaks out about the exception 
text on stderr.

<pre>
~# puppetd -t --noop
info: Retrieving plugin
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed 
when searching for node dev-jetty4: Failed to find dev-jetty4 via exec: 
Execution of '/etc/puppet/nodes.py dev-jetty4' returned 1: Traceback (most 
recent call last):
  File "/etc/puppet/nodes.py", line 121, in <module>
    except NotEC2Instance:
NameError: name 'NotEC2Instance' is not defined
classes: {}
parameters: {}


warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to