I''m having some weird issues with puppet 2.7.6 on OpenSUSE. When I run puppet in the foreground, it''s all fine. However, when I run it as a service, all that get''s logged is: abc:/var/log/puppet # cat puppet.log Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn''t seem to support UTF-8/UTF-16 conversions Tue Mar 20 10:11:58 -0700 2012 Puppet (notice): Reopening log files Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn''t seem to support UTF-8/UTF-16 conversions Although, it seems to be running fine. When I stop the daemon, the following is immediately flushed to puppet.log: Tue Mar 20 10:12:47 -0700 2012 Puppet (notice): Starting Puppet client version 2.7.6 Tue Mar 20 10:12:48 -0700 2012 Puppet (err): Could not retrieve catalog from remote server: getaddrinfo: Name or service not known Tue Mar 20 10:12:48 -0700 2012 Puppet (notice): Using cached catalog Tue Mar 20 10:12:50 -0700 2012 /Stage[main]/Sudo::Common/File[/etc/sudoers] (err): Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/sudo/etc/sudoers: getaddrinfo: Name or service not known at /etc/puppet/modules/sudo/manifests/common.pp:17 Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/File[/etc/snmp/snmpd.conf] (err): Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/snmp/etc/snmp/snmpd.conf: getaddrinfo: Name or service not known at /etc/puppet/modules/snmp/manifests/agent.pp:26 Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/Service[snmpd] (notice): Dependency File[/etc/snmp/snmpd.conf] has failures: true Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/Service[snmpd] (warning): Skipping because of failed dependencies Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/File[/etc/ssh/sshd_config] (err): Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/ssh/etc/ssh/sshd_config: getaddrinfo: Name or service not known at /etc/puppet/modules/ssh/manifests/server.pp:26 Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/Service[sshd] (notice): Dependency File[/etc/ssh/sshd_config] has failures: true Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/Service[sshd] (warning): Skipping because of failed dependencies Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Mcollective::Agent/File[/usr/libexec/mcollective/mcollective/agent/package.rb] (err): Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/mcollective/agent/package.rb: getaddrinfo: Name or service not known at /etc/puppet/modules/mcollective/manifests/agent.pp:43 Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Mcollective::Agent/Service[mcollective] (notice): Dependency File[/usr/libexec/mcollective/mcollective/agent/package.rb] has failures: true Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Mcollective::Agent/Service[mcollective] (warning): Skipping because of failed dependencies Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Postfix::Server/File[/etc/postfix/main.cf] (err): Could not evaluate: getaddrinfo: Name or service not known Could not retrieve file metadata for puppet:///modules/postfix/etc/postfix/main.cf: getaddrinfo: Name or service not known at /etc/puppet/modules/postfix/manifests/server.pp:27 Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Postfix::Server/Service[postfix] (notice): Dependency File[/etc/postfix/main.cf] has failures: true Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Postfix::Server/Service[postfix] (warning): Skipping because of failed dependencies Tue Mar 20 10:12:51 -0700 2012 Puppet (notice): Finished catalog run in 1.82 seconds Tue Mar 20 10:12:52 -0700 2012 Puppet (err): Could not send report: getaddrinfo: Name or service not known Tue Mar 20 10:13:24 -0700 2012 Puppet (notice): Caught TERM; calling stop I''m rather confused. I tried putting autoflush = true in the [user] section of puppet.conf but it had no effect. I also don''t know why those name service errors are occurring. Doug. -- 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.
I''m having a very similar issue. Did anyone figure out a solution to this? On Mar 20, 10:15 am, Douglas Garstang <doug.garst...@gmail.com> wrote:> I''m having some weird issues with puppet 2.7.6 on OpenSUSE. > > When I run puppet in the foreground, it''s all fine. However, when I > run it as aservice, all that get''s logged is: > > abc:/var/log/puppet # cat puppet.log > Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn''t seem to > support UTF-8/UTF-16 conversions > Tue Mar 20 10:11:58 -0700 2012 Puppet (notice): Reopening log files > Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn''t seem to > support UTF-8/UTF-16 conversions > > Although, it seems to be running fine. When I stop the daemon, the > following is immediately flushed to puppet.log: > > Tue Mar 20 10:12:47 -0700 2012 Puppet (notice): Starting Puppet client > version 2.7.6 > Tue Mar 20 10:12:48 -0700 2012 Puppet (err):Couldnotretrieve > catalog from remote server:getaddrinfo:Nameorservicenotknown > Tue Mar 20 10:12:48 -0700 2012 Puppet (notice): Using cached catalog > Tue Mar 20 10:12:50 -0700 2012 > /Stage[main]/Sudo::Common/File[/etc/sudoers] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve > file metadata for puppet:///modules/sudo/etc/sudoers:getaddrinfo:Nameorservicenotknownat > /etc/puppet/modules/sudo/manifests/common.pp:17 > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Snmp::Agent/File[/etc/snmp/snmpd.conf] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve > file metadata for puppet:///modules/snmp/etc/snmp/snmpd.conf:getaddrinfo:Nameorservicenotknownat > /etc/puppet/modules/snmp/manifests/agent.pp:26 > Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/Service[snmpd] > (notice): Dependency File[/etc/snmp/snmpd.conf] has failures: true > Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/Service[snmpd] > (warning): Skipping because of failed dependencies > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Ssh::Server/File[/etc/ssh/sshd_config] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve > file metadata for puppet:///modules/ssh/etc/ssh/sshd_config:getaddrinfo:Nameorservicenotknownat > /etc/puppet/modules/ssh/manifests/server.pp:26 > Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/Service[sshd] > (notice): Dependency File[/etc/ssh/sshd_config] has failures: true > Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/Service[sshd] > (warning): Skipping because of failed dependencies > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Mcollective::Agent/File[/usr/libexec/mcollective/mcollective/agent/package.rb] > (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve file metadata for > puppet:///modules/mcollective/agent/package.rb:getaddrinfo:Nameorservicenotknownat > /etc/puppet/modules/mcollective/manifests/agent.pp:43 > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Mcollective::Agent/Service[mcollective] (notice): > Dependency File[/usr/libexec/mcollective/mcollective/agent/package.rb] > has failures: true > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Mcollective::Agent/Service[mcollective] (warning): > Skipping because of failed dependencies > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Postfix::Server/File[/etc/postfix/main.cf] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnot > retrieve file metadata for > puppet:///modules/postfix/etc/postfix/main.cf:getaddrinfo:Nameorservicenotknownat > /etc/puppet/modules/postfix/manifests/server.pp:27 > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Postfix::Server/Service[postfix] (notice): Dependency > File[/etc/postfix/main.cf] has failures: true > Tue Mar 20 10:12:51 -0700 2012 > /Stage[main]/Postfix::Server/Service[postfix] (warning): Skipping > because of failed dependencies > Tue Mar 20 10:12:51 -0700 2012 Puppet (notice): Finished catalog run > in 1.82 seconds > Tue Mar 20 10:12:52 -0700 2012 Puppet (err):Couldnotsend report:getaddrinfo:Nameorservicenotknown > Tue Mar 20 10:13:24 -0700 2012 Puppet (notice): Caught TERM; calling stop > > I''m rather confused. I tried putting autoflush = true in the [user] > section of puppet.conf but it had no effect. I also don''t know why > thosenameserviceerrors are occurring. > > Doug.-- 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.
There was a bug in SLES 11.1 similar to this one where puppet agent in daemon mode would hang. Our solution was to update to a newer package. On Mon, Apr 9, 2012 at 5:03 PM, scot spinner <scot.spinner@gmail.com> wrote:> I''m having a very similar issue. Did anyone figure out a solution to > this? > > On Mar 20, 10:15 am, Douglas Garstang <doug.garst...@gmail.com> wrote: >> I''m having some weird issues with puppet 2.7.6 on OpenSUSE. >> >> When I run puppet in the foreground, it''s all fine. However, when I >> run it as aservice, all that get''s logged is: >> >> abc:/var/log/puppet # cat puppet.log >> Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn''t seem to >> support UTF-8/UTF-16 conversions >> Tue Mar 20 10:11:58 -0700 2012 Puppet (notice): Reopening log files >> Tue Mar 20 10:11:57 -0700 2012 Puppet (warning): iconv doesn''t seem to >> support UTF-8/UTF-16 conversions >> >> Although, it seems to be running fine. When I stop the daemon, the >> following is immediately flushed to puppet.log: >> >> Tue Mar 20 10:12:47 -0700 2012 Puppet (notice): Starting Puppet client >> version 2.7.6 >> Tue Mar 20 10:12:48 -0700 2012 Puppet (err):Couldnotretrieve >> catalog from remote server:getaddrinfo:Nameorservicenotknown >> Tue Mar 20 10:12:48 -0700 2012 Puppet (notice): Using cached catalog >> Tue Mar 20 10:12:50 -0700 2012 >> /Stage[main]/Sudo::Common/File[/etc/sudoers] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve >> file metadata for puppet:///modules/sudo/etc/sudoers:getaddrinfo:Nameorservicenotknownat >> /etc/puppet/modules/sudo/manifests/common.pp:17 >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Snmp::Agent/File[/etc/snmp/snmpd.conf] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve >> file metadata for puppet:///modules/snmp/etc/snmp/snmpd.conf:getaddrinfo:Nameorservicenotknownat >> /etc/puppet/modules/snmp/manifests/agent.pp:26 >> Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/Service[snmpd] >> (notice): Dependency File[/etc/snmp/snmpd.conf] has failures: true >> Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Snmp::Agent/Service[snmpd] >> (warning): Skipping because of failed dependencies >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Ssh::Server/File[/etc/ssh/sshd_config] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve >> file metadata for puppet:///modules/ssh/etc/ssh/sshd_config:getaddrinfo:Nameorservicenotknownat >> /etc/puppet/modules/ssh/manifests/server.pp:26 >> Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/Service[sshd] >> (notice): Dependency File[/etc/ssh/sshd_config] has failures: true >> Tue Mar 20 10:12:51 -0700 2012 /Stage[main]/Ssh::Server/Service[sshd] >> (warning): Skipping because of failed dependencies >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Mcollective::Agent/File[/usr/libexec/mcollective/mcollective/agent/package.rb] >> (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnotretrieve file metadata for >> puppet:///modules/mcollective/agent/package.rb:getaddrinfo:Nameorservicenotknownat >> /etc/puppet/modules/mcollective/manifests/agent.pp:43 >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Mcollective::Agent/Service[mcollective] (notice): >> Dependency File[/usr/libexec/mcollective/mcollective/agent/package.rb] >> has failures: true >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Mcollective::Agent/Service[mcollective] (warning): >> Skipping because of failed dependencies >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Postfix::Server/File[/etc/postfix/main.cf] (err):Couldnotevaluate:getaddrinfo:NameorservicenotknownCouldnot >> retrieve file metadata for >> puppet:///modules/postfix/etc/postfix/main.cf:getaddrinfo:Nameorservicenotknownat >> /etc/puppet/modules/postfix/manifests/server.pp:27 >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Postfix::Server/Service[postfix] (notice): Dependency >> File[/etc/postfix/main.cf] has failures: true >> Tue Mar 20 10:12:51 -0700 2012 >> /Stage[main]/Postfix::Server/Service[postfix] (warning): Skipping >> because of failed dependencies >> Tue Mar 20 10:12:51 -0700 2012 Puppet (notice): Finished catalog run >> in 1.82 seconds >> Tue Mar 20 10:12:52 -0700 2012 Puppet (err):Couldnotsend report:getaddrinfo:Nameorservicenotknown >> Tue Mar 20 10:13:24 -0700 2012 Puppet (notice): Caught TERM; calling stop >> >> I''m rather confused. I tried putting autoflush = true in the [user] >> section of puppet.conf but it had no effect. I also don''t know why >> thosenameserviceerrors are occurring. >> >> Doug. > > -- > 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. >-- 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.