Issue #2163 has been updated by luke.

Subject changed from Puppetrun and puppetd disagree to puppetrun does not know 
when client runs fail
Status changed from Needs more information to Accepted
Assigned to changed from luke to community

That's probably right.  'puppetrun' doesn't have good means of getting data 
back from the client.

Of course, give that, puppetrun is correct - the run was triggered, it just 
doesn't know what happened next.
----------------------------------------
Bug #2163: puppetrun does not know when client runs fail
http://projects.reductivelabs.com/issues/2163

Author: pete
Status: Accepted
Priority: Normal
Assigned to: community
Category: executables
Target version: unplanned
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


I intentionally broke my puppet_node_classifier to see exit codes.

See also: http://projects.reductivelabs.com/issues/2162

puppetd prints out that there is a problem:

# /usr/sbin/puppetd --server=01.demo.test --test
err: Could not retrieve catalog: Could not find node '01.demo.test'; cannot 
compile
warning: Not using cache on failed catalog

puppetrun, however, merrily thinks that everything is okay:
# puppetrun --host=01.demo.test --foreground
Failed to load ruby LDAP library. LDAP functionality will not be available
Triggering 01.demo.test
01.demo.test finished with exit code 0
Finished

The exit code I've submitted in the previous bug, but I think puppetrun should 
give me an indication of whether there were any problems with the run.

Context, in case it's helpful:

I'm controlling puppet via a web interface, and want to take an action across a 
cluster of machines, like "upgrade these servers to a new version of an 
application". puppet_node_classifier pulls from a database, and then the nodes 
update themselves according to the rules laid out. I want to be able to 
indicate in the web interface whether the upgrade was successful or not. 
Currently, it looks to me that puppetrun is only reporting whether or not the 
trigger of a manual run was successful, and not whether the manual run itself 
was successful.

Pete



-- 
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://reductivelabs.com/redmine/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