James Trier
2012-Aug-21 23:46 UTC
[Puppet Users] mcollective getaddrinfo: Name or service not known
I''m getting these errors when running ''puppet agent --test'' after doing a new installation of an agent: err: /Stage[main]/Pe_mcollective::Plugins/File[/opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb]/content: change from {md5}512f42272699eaa085c83d2cc67c27ea to {md5}8fa3e9125fd917948445e3d2621d40e5 failed: Could not back up /opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb: getaddrinfo: Name or service not known err: /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/mcollective/server.cfg]/content: change from {md5}a9c7335a83c5ac9f6a19bb195ea0c63e to {md5}db6aa935c128b6d7bd12b41dfbe33b91 failed: Could not back up /etc/puppetlabs/mcollective/server.cfg: getaddrinfo: Name or service not known I know the above error is commonly related to DNS but I''m not sure where the disconnect it. These are brand new agent installations. server field in the agent puppet.conf is the server hostname which is also the listed certname shown when ''puppet master --configprint certname,certdnsnames'' is typed from the server (certdnsname is blank). Any help or direction? Thanks -- James -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/yS5tw0DO9AUJ. 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.
R.I.Pienaar
2012-Aug-22 09:58 UTC
Re: [Puppet Users] mcollective getaddrinfo: Name or service not known
----- Original Message -----> From: "James Trier" <jmstrier@gmail.com> > To: puppet-users@googlegroups.com > Sent: Wednesday, August 22, 2012 12:46:52 AM > Subject: [Puppet Users] mcollective getaddrinfo: Name or service not known > > I''m getting these errors when running ''puppet agent --test'' after > doing a new installation of an agent: > > err: > /Stage[main]/Pe_mcollective::Plugins/File[/opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb]/content: > change from {md5}512f42272699eaa085c83d2cc67c27ea to > {md5}8fa3e9125fd917948445e3d2621d40e5 failed: Could not back up > /opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb: > getaddrinfo: Name or service not known > > err: > /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/mcollective/server.cfg]/content: > change from {md5}a9c7335a83c5ac9f6a19bb195ea0c63e to > {md5}db6aa935c128b6d7bd12b41dfbe33b91 failed: Could not back up > /etc/puppetlabs/mcollective/server.cfg: getaddrinfo: Name or service > not known > > I know the above error is commonly related to DNS but I''m not sure > where the disconnect it. These are brand new agent installations. > server field in the agent puppet.conf is the server hostname which > is also the listed certname shown when ''puppet master --configprint > certname,certdnsnames'' is typed from the server (certdnsname is > blank). > > Any help or direction?This is probably related to the puppet remote filebucket configuration rather than mcollective, do you have any remote filebucket config anywhere? maybe somewhere something like: filebucket { "main": server => "a.host.that.does.not.exist", } -- 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.
Ming Qian
2013-Apr-09 15:34 UTC
[Puppet Users] Re: mcollective getaddrinfo: Name or service not known
I encountered the same exactly problem. The reason for my case is that the error was caused by the /etc/hosts. The agent node''s /etc/hosts didn''t contain the master node''s host name, although I added its IP named puppet in /etc/hosts before. On Tuesday, August 21, 2012 7:46:52 PM UTC-4, James Trier wrote:> > I''m getting these errors when running ''puppet agent --test'' after doing a > new installation of an agent: > > err: > /Stage[main]/Pe_mcollective::Plugins/File[/opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb]/content: > change from {md5}512f42272699eaa085c83d2cc67c27ea to > {md5}8fa3e9125fd917948445e3d2621d40e5 failed: Could not back up > /opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb: > getaddrinfo: Name or service not known > > err: > /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/mcollective/server.cfg]/content: > change from {md5}a9c7335a83c5ac9f6a19bb195ea0c63e to > {md5}db6aa935c128b6d7bd12b41dfbe33b91 failed: Could not back up > /etc/puppetlabs/mcollective/server.cfg: getaddrinfo: Name or service not > known > > I know the above error is commonly related to DNS but I''m not sure where > the disconnect it. These are brand new agent installations. server field in > the agent puppet.conf is the server hostname which is also the listed > certname shown when ''puppet master --configprint certname,certdnsnames'' is > typed from the server (certdnsname is blank). > > Any help or direction? > > Thanks -- James > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
amd2arm
2013-May-29 06:16 UTC
[Puppet Users] Re: mcollective getaddrinfo: Name or service not known
Had the same problem, but worked when i have commented out path. filebucket { ''main'': server => ''learn.localdomain'', #path => false, } and it was only one time weird, then i uncommented it out and worked fine filebucket { ''main'': server => ''learn.localdomain'', path => false, } Dont Know Why -- amd On Tuesday, August 21, 2012 6:46:52 PM UTC-5, James Trier wrote:> > I''m getting these errors when running ''puppet agent --test'' after doing a > new installation of an agent: > > err: > /Stage[main]/Pe_mcollective::Plugins/File[/opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb]/content: > change from {md5}512f42272699eaa085c83d2cc67c27ea to > {md5}8fa3e9125fd917948445e3d2621d40e5 failed: Could not back up > /opt/puppet/libexec/mcollective/mcollective/security/sshkey.rb: > getaddrinfo: Name or service not known > > err: > /Stage[main]/Pe_mcollective::Posix/File[/etc/puppetlabs/mcollective/server.cfg]/content: > change from {md5}a9c7335a83c5ac9f6a19bb195ea0c63e to > {md5}db6aa935c128b6d7bd12b41dfbe33b91 failed: Could not back up > /etc/puppetlabs/mcollective/server.cfg: getaddrinfo: Name or service not > known > > I know the above error is commonly related to DNS but I''m not sure where > the disconnect it. These are brand new agent installations. server field in > the agent puppet.conf is the server hostname which is also the listed > certname shown when ''puppet master --configprint certname,certdnsnames'' is > typed from the server (certdnsname is blank). > > Any help or direction? > > Thanks -- James > > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.