Issue #14061 has been reported by Chris Price.
----------------------------------------
Feature #14061: Error handling during agent startup
https://projects.puppetlabs.com/issues/14061
Author: Chris Price
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version: Telly
Affected Puppet version:
Keywords:
Branch:
If you do the following:
1. Start an agent in daemon mode
2. Attempt to start a second agent in daemon mode without --verbose
The second one will silently fail.
If, during step two above, you add --verbose, you will get the following error
message:
err: Could not prepare for execution: Could not create PID file:
/var/lib/puppet/run/agent.pid
There are a couple of potential problems here.
1. The error message could probably be more clear.
2. It seems wrong that the error message doesn't get printed w/o --verbose.
The argument here may be that since we're running a daemon, it shouldn't have
any output. I think I would argue that if the daemon fails to start then we
should make an exception, but I'm not entirely sure.
I know that we're not supposed to leave tickets in "Unreviewed", but I'd like
to get someone else's opinion on this.
--
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.