Issue #12183 has been reported by Alexander Swen.
----------------------------------------
Bug #12183: puppet agent --test --verbose --no-daemonize fails after Finished
catalog run on saving state.yaml
https://projects.puppetlabs.com/issues/12183
Author: Alexander Swen
Status: Unreviewed
Priority: Urgent
Assignee:
Category: agent
Target version:
Affected Puppet version: 2.7.10
Keywords: agent pid can't be removed
Branch:
This applies to puppet agent 2.7.10 installed from the puppetlabs repos on both
Debian and CentOS:
Debian puppet agent 2.7.10 from apt.puppetlabs.com
Centos puppet agent 2.7.10 from yum.puppetlabs.com
after puppet agent --test --verbose --no-daemonize (while the daemon is running
in the background)
notice: Finished catalog run in 17.26 seconds
notice: /File[/var/lib/puppet/agent/state/last_run_summary.yaml]/content:
--- /var/lib/puppet/agent/state/last_run_summary.yaml 2012-01-26
05:07:26.000000000 +0100
+++ /tmp/puppet-file20120126-27347-c83xpc-0 2012-01-26 11:16:10.000000000
+0100
@@ -1,34 +1,34 @@
---
time:
- ssh_authorized_key: 0.00083
- group: 0.004341
- last_run: 1327575162
- yumrepo: 0.001858
- service: 2.540467
- cron: 0.000939
- config_retrieval: 1.47746920585632
- total: 5.13714420585632
- resources: 0.000198
- package: 0.18468
- filebucket: 0.000316
- file: 0.732062
- exec: 0.191711
- user: 0.002273
+ ssh_authorized_key: 0.000737
+ group: 0.006197
+ last_run: 1327575406
+ yumrepo: 0.094596
+ service: 1.715277
+ cron: 0.001194
+ config_retrieval: 1.53502511978149
+ total: 4.85055911978149
+ resources: 0.000228
+ package: 0.228226
+ filebucket: 0.000366
+ file: 0.958028
+ exec: 0.307869
+ user: 0.002816
resources:
failed: 0
- changed: 0
+ changed: 1
total: 102
scheduled: 0
- restarted: 0
+ restarted: 1
failed_to_restart: 0
skipped: 6
- out_of_sync: 0
+ out_of_sync: 1
events:
failure: 0
- total: 0
- success: 0
+ total: 1
+ success: 1
version:
puppet: 2.7.10
config: 1327571259
changes:
- total: 0
\ No newline at end of file
+ total: 1
\ No newline at end of file
err: Could not remove PID file /var/run/puppet/agent.pid
the agent pid file should not be removed as it is owned by the daemonized
process.
--
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.