Brad
2010-Oct-25 15:04 UTC
[Puppet Users] Multiple errors on puppet client runs: "A section with name updates already exists"
Hello, I''m currently running Puppet 0.25.5-1 on CentOS 5.5. Everything has been going swimmingly until a couple of weeks ago, when I began receiving errors on one of my nodes. The node in question is also my puppetmaster, but the errors seem client-related. The errors are: err: //yumrepos::centosbase/Yumrepo[addons]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::epel/Yumrepo[epel]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::centosbase/Yumrepo[base]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::centosbase/Yumrepo[contrib]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::centosbase/Yumrepo[updates]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::centosbase/Yumrepo[extras]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::perkins/Yumrepo[perkins]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::centosbase/Yumrepo[centosplus]: Failed to retrieve current state of resource: A section with name updates already exists notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[centosplus] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[base] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[extras] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[addons] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[epel] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[perkins] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[updates] has 1 failures notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency yumrepo[contrib] has 1 failures warning: //yumrepos::fixperms/File[/etc/yum.repos.d]: Skipping because of failed dependencies I took a look at /etc/puppet/modules/yumrepos/manifests/init.pp, and it looks normal. I''m wondering if there''s a conflict somewhere in another file, but I''m not sure which file that would be; nodes.pp looks normal, and this node isn''t controlled by anything within /etc/ puppet/services. I am not receiving messages like this on any other node, and have not received this message on this or any other node in the past. Any ideas would be very much appreciated. Thanks! -- 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.
jcbollinger
2010-Oct-26 14:23 UTC
[Puppet Users] Re: Multiple errors on puppet client runs: "A section with name updates already exists"
On Oct 25, 10:04 am, Brad <bradw...@gmail.com> wrote:> Hello, > > I''m currently running Puppet 0.25.5-1 on CentOS 5.5. Everything has > been going swimmingly until a couple of weeks ago, when I began > receiving errors on one of my nodes. The node in question is also my > puppetmaster, but the errors seem client-related. The errors are: > > err: //yumrepos::centosbase/Yumrepo[addons]: Failed to retrieve > current state of resource: A section with name updates already exists > err: //yumrepos::epel/Yumrepo[epel]: Failed to retrieve current state > of resource: A section with name updates already exists > err: //yumrepos::centosbase/Yumrepo[base]: Failed to retrieve current > state of resource: A section with name updates already exists[...]> notice: //yumrepos::fixperms/File[/etc/yum.repos.d]: Dependency > yumrepo[centosplus] has 1 failures[...]> warning: //yumrepos::fixperms/File[/etc/yum.repos.d]: Skipping because > of failed dependencies > > I took a look at /etc/puppet/modules/yumrepos/manifests/init.pp, and > it looks normal. I''m wondering if there''s a conflict somewhere in > another file, but I''m not sure which file that would be; nodes.pp > looks normal, and this node isn''t controlled by anything within /etc/ > puppet/services. I am not receiving messages like this on any other > node, and have not received this message on this or any other node in > the past. > > Any ideas would be very much appreciated. Thanks!Check the yum configuration on the affected client: I suspect you will find a duplicate definition of repository "updates". grep updates /etc/yum.repos.d/* Cheers, John -- 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.
Brad
2010-Oct-26 15:29 UTC
[Puppet Users] Re: Multiple errors on puppet client runs: "A section with name updates already exists"
Thanks, John. I just checked the contents of the files in /etc/yum.repos.d, but only found [updates] in one file, updates.repo: [11:26 root@cab yum.repos.d]# grep updates /etc/yum.repos.d/* /etc/yum.repos.d/updates.repo:[updates] /etc/yum.repos.d/updates.repo:baseurl=http://mirror.linux.duke.edu/pub/ centos/$releasever/updates/$basearch/ On Oct 26, 10:23 am, jcbollinger <John.Bollin...@stJude.org> wrote:> > Check the yum configuration on the affected client: I suspect you will > find a duplicate definition of repository "updates". > > grep updates /etc/yum.repos.d/* > > Cheers, > > John-- 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.