Is the puppet agent daemon running when you run the agent by hand? On Thu, 26 Jan 2012 13:07:16 +0000 (GMT) "R.I.Pienaar" <r...@devco.net> wrote:
> On a fresh 2.7.10 install with official RPMs on CentOS 6.2 I can't reproduce > this: > > [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 ----- > > Looks like the code paths in Puppet::Agent changed a lot and the > > patch > > that was applied and worked for 2.6.x would need to be different for > > 2.7.x > > > > Will set up a 2.7 master and see if i can reproduce/fix > > > > ----- Original Message ----- > > > Yeah everything does work, I just really don't like seeing pink :) > > > > > > Cheers, > > > > > > Steph > > > > > > On Thu, 26 Jan 2012 12:26:14 +0000 > > > Jonathan Gazeley <jonathan.gaze...@bristol.ac.uk> wrote: > > > > > > > I am seeing the same message printed on each run, on CentOS 6.2. > > > > Puppet > > > > still works, so it's not critical. Just waiting for a fix :) > > > > > > > > Jonathan > > > > > > > > > > > > On 26/01/12 12:00, Steph Gosling wrote: > > > > > Hi all, > > > > > > > > > > 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. > > > > > > > > > > > > > > > > > > > > > > > -- > > > > You received this message because you are subscribed to the > > > > Google > > > > Groups "Puppet Users" group. > > > > To post to this group, send email to > > > > puppet-users@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > puppet-users+unsubscr...@googlegroups.com. > > > > For more options, visit this group at > > > > http://groups.google.com/group/puppet-users?hl=en. > > > > > > > > > > > > > -- > > > Steph Gosling <st...@chuci.org> > > > > > > -- > > > You received this message because you are subscribed to the Google > > > Groups "Puppet Users" group. > > > To post to this group, send email to puppet-users@googlegroups.com. > > > To unsubscribe from this group, send email to > > > puppet-users+unsubscr...@googlegroups.com. > > > For more options, visit this group at > > > http://groups.google.com/group/puppet-users?hl=en. > > > > > > > > > > -- > > R.I.Pienaar > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/puppet-users?hl=en. > > > > > > -- > R.I.Pienaar > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- Steph Gosling <st...@chuci.org> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.