Hi, I defined a nfs mount in puppet: mount { "/opt/exp_soft/alice": atboot => true, device => "vobox-alice.sdfarm.kr:/opt/exp_soft/ alice", fstype => "nfs", name => "/opt/exp_soft/alice", options => "defaults", ensure => "mounted", #remounts => false, require => Package["nfs-utils","nfs-utils-lib"], require => File["/opt/exp_soft/alice"]; } If the partition is not mounted, puppet do his job: puppetd --test info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run notice: //Node[dpmp0.sdfarm.kr]/wn/mounted::wncealice/Mount[/opt/ exp_soft/alice]/ensure: ensure changed ''present'' to ''mounted'' notice: //Node[dpmp0.sdfarm.kr]/wn/mounted::wncealice/Mount[/opt/ exp_soft/alice]: Refreshing self info: Mount[/opt/exp_soft/alice](provider=parsed): Remounting notice: Finished catalog run in 2.06 seconds but if the partition is already mounted, puppet seems to be stuck: puppetd --test info: Caching catalog at /var/lib/puppet/localconfig.yaml notice: Starting catalog run nothing happen and i have to kill the process (which consuming lot of ressources)... What i am doing wrong?? Thanks, Christophe Bonnaud. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1> nothing happen and i have to kill the process (which consuming lot of > ressources)... What i am doing wrong??can you run it with --debug? And can you set backup for File["/opt/exp_soft/alice"] to false? This sounds like puppet is trying to backup all the files in this directory before remounting it. If I''m not wrong this might be a nasty bug that have been discussed earlier and which should also have a ticket. cheers pete -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksKOTYACgkQbwltcAfKi3/4PACcCOXfUpA4e96CYyn3lN91V+Fy XMIAmwediIhHS+ukyY6pWeMzAs9EHfPM =OLLM -----END PGP SIGNATURE----- -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=.
I can reliably recreate this issue in EC2 now, does anyone require any debugging on it? I''ve tried setting the backup => false but that doesn''t work. Thanks, Matt 2009/11/23 Peter Meier <peter.meier@immerda.ch>:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > >> nothing happen and i have to kill the process (which consuming lot of >> ressources)... What i am doing wrong?? > > > can you run it with --debug? And can you set backup for > File["/opt/exp_soft/alice"] to false? > > This sounds like puppet is trying to backup all the files in this > directory before remounting it. If I''m not wrong this might be a nasty > bug that have been discussed earlier and which should also have a ticket. > > cheers pete > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAksKOTYACgkQbwltcAfKi3/4PACcCOXfUpA4e96CYyn3lN91V+Fy > XMIAmwediIhHS+ukyY6pWeMzAs9EHfPM > =OLLM > -----END PGP SIGNATURE----- > > -- > > 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=. > > >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hi, On Thu, Dec 17, 2009 at 3:56 AM, Matt <mattmoran76@gmail.com> wrote:> I can reliably recreate this issue in EC2 now, does anyone require any > debugging on it? > > can you run with --debug and post the output.thanks, Dan> I''ve tried setting the backup => false but that doesn''t work. > > Thanks, > > Matt > > 2009/11/23 Peter Meier <peter.meier@immerda.ch>: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > >> nothing happen and i have to kill the process (which consuming lot of > >> ressources)... What i am doing wrong?? > > > > > > can you run it with --debug? And can you set backup for > > File["/opt/exp_soft/alice"] to false? > > > > This sounds like puppet is trying to backup all the files in this > > directory before remounting it. If I''m not wrong this might be a nasty > > bug that have been discussed earlier and which should also have a ticket. > > > > cheers pete > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.9 (GNU/Linux) > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > > > iEYEARECAAYFAksKOTYACgkQbwltcAfKi3/4PACcCOXfUpA4e96CYyn3lN91V+Fy > > XMIAmwediIhHS+ukyY6pWeMzAs9EHfPM > > =OLLM > > -----END PGP SIGNATURE----- > > > > -- > > > > 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+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=. > > > > > > > > -- > > 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+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > >-- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
> Hi, > > On Thu, Dec 17, 2009 at 3:56 AM, Matt <mattmoran76@gmail.com> wrote: >> >> I can reliably recreate this issue in EC2 now, does anyone require any >> debugging on it? >> > can you run with --debug and post the output. > > thanks, > > Dan >Running puppet 0.25.1 I''ve got this failing again on an EC2 instance regularly. The partition does mount, but it appears to be the check that is causing puppetd to hang. I''ve tried replacing the mount type with a exec mount, and when using an exec i''ve tried using ''df'' as a check, but this still hangs puppetd. debug: //temp/Exec[mount-/var/opt/temp]: Executing check ''/bin/df |/bin/grep /var/opt/temp'' debug: Executing ''/bin/df |/bin/grep /var/opt/temp'' Anyone got any ideas on what could be causing this? Thanks, Matt -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
2010/1/26 Matt <mattmoran76@gmail.com>:>> Hi, >> >> On Thu, Dec 17, 2009 at 3:56 AM, Matt <mattmoran76@gmail.com> wrote: >>> >>> I can reliably recreate this issue in EC2 now, does anyone require any >>> debugging on it? >>> >> can you run with --debug and post the output. >> >> thanks, >> >> Dan >> > > Running puppet 0.25.1 > > I''ve got this failing again on an EC2 instance regularly. The > partition does mount, but it appears to be the check that is causing > puppetd to hang. > > I''ve tried replacing the mount type with a exec mount, and when using > an exec i''ve tried using ''df'' as a check, but this still hangs > puppetd. > > debug: //temp/Exec[mount-/var/opt/temp]: Executing check ''/bin/df > |/bin/grep /var/opt/temp'' > debug: Executing ''/bin/df |/bin/grep /var/opt/temp'' > > Anyone got any ideas on what could be causing this? > > Thanks, > > MattInterestingly, if I remove all of the files on the partition that is mounted, puppetd then executes without issue. Creating the mount directory with Exec mkdir, or File with backup => false, makes no difference. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
2010/1/26 Matt <mattmoran76@gmail.com>:> 2010/1/26 Matt <mattmoran76@gmail.com>: >>> Hi, >>> >>> On Thu, Dec 17, 2009 at 3:56 AM, Matt <mattmoran76@gmail.com> wrote: >>>> >>>> I can reliably recreate this issue in EC2 now, does anyone require any >>>> debugging on it? >>>> >>> can you run with --debug and post the output. >>> >>> thanks, >>> >>> Dan >>> >> >> Running puppet 0.25.1 >> >> I''ve got this failing again on an EC2 instance regularly. The >> partition does mount, but it appears to be the check that is causing >> puppetd to hang. >> >> I''ve tried replacing the mount type with a exec mount, and when using >> an exec i''ve tried using ''df'' as a check, but this still hangs >> puppetd. >> >> debug: //temp/Exec[mount-/var/opt/temp]: Executing check ''/bin/df >> |/bin/grep /var/opt/temp'' >> debug: Executing ''/bin/df |/bin/grep /var/opt/temp'' >> >> Anyone got any ideas on what could be causing this? >> >> Thanks, >> >> Matt > > Interestingly, if I remove all of the files on the partition that is > mounted, puppetd then executes without issue. Creating the mount > directory with Exec mkdir, or File with backup => false, makes no > difference.I used an unless in the exec mount to see if that made a difference. unless => "/bin/cat /etc/mtab |/bin/grep /var/opt/temp", Which still makes it hang at: debug: //temp/Exec[mount-/var/opt/temp]: Executing check ''/bin/cat /etc/mtab |/bin/grep /var/opt/temp'' debug: Executing ''/bin/cat /etc/mtab |/bin/grep /var/opt/temp -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.