Upgraded a master and a couple of clients to 2.7.10 and now see the
following when running an agent if the daemon is also running:
[steph@somehost ~]$ sudo puppet agent --onetime --verbose --no-daemonize
info: Caching catalog for somehost.example.com
info: Applying configuration version '1327578407'
notice: /Stage[main]/Mysql-server/Package[mysql-server]/ensure: created
notice: /Stage[main]/Mysql-server/Service[mysqld]/ensure: ensure changed 'stopped' to 'running'
notice: Finished catalog run in 20.11 seconds
err: Could not remove PID file /var/run/puppet/agent.pid
[steph@somehost ~]$
I see that 2.7.10 fixed a bug
http://projects.puppetlabs.com/issues/5246 and wonder if they're
related?
in 2.7.9 this would run without throwing the error, indeed in .10 the
onetime run completes and the agent daemon is happy too: It's just
unnerving to see pink messages :) Environment is CentOS
6.2 fwiw.
--
Steph Gosling <st...@chuci.org>
Jonathan
Cheers,
Steph
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
--
Steph Gosling <st...@chuci.org>
Will set up a 2.7 master and see if i can reproduce/fix
--
R.I.Pienaar
[root@dev1]# puppet agent --onetime --verbose --no-daemonize
info: Caching catalog for dev1.devco.net
info: Applying configuration version '1327583153'
notice: Finished catalog run in 0.28 seconds
[root@dev1]#
and if i run it without the --no-daemonize it creates its pid and removes
it when its done - didnt do that before
----- Original Message -----
> Is the puppet agent daemon running when you run the agent by hand?
Ah! thats it, I'll take a look
----- Original Message -----
> I'm having the same thing, I use puppetd -tv all the time and now
> it's
> trying to delete a .pid at the end:
>
>
> err: Could not remove PID file /var/run/puppet/agent.pid
>
>
> It's super annoying but not fatal I suppose. I stopped the daemon
> from running and tried running puppetd again but it still gave the same
> error.
that's weird, did the daemon leave behind a pid file or somethign? my testing
werent showing this error when the daemon wasnt running.
anyway, opened https://projects.puppetlabs.com/issues/12188
Craig
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>
--
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ craig...@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com
Need help communicating between generations at work to achieve your desired success? Let us help!
That is correct.
There is a fix for this in 2.7.x and will be in the 2.7.11rc which
should be out next week.