Issue #6657 has been updated by Daniel Pittman. Target version deleted (2.7.x)
---------------------------------------- Bug #6657: puppet has difficult time upgrading itself and requires manual intervention https://projects.puppetlabs.com/issues/6657#change-57121 Author: Valdis Vitayaudom Status: Rejected Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.6.4 Keywords: upgrade puppet issues using puppet Branch: upgrade puppet issues using puppet using rpm for puppet-2.6.4 and 2.6.6 from http://tmz.fedorapeople.org/repo/puppet/epel # Bug: ensure => latest requires three puppet restart to recover if repo for puppet-2.6.6 is not yet defined in /etc/yum.repos.d for example repo for 2.6.4 is defined but not in the same repo as puppet-2.6.6 whose definition is being pushed out Proof: yum remove -y puppet-2.6.6-xxx rm /etc/yum.repos.d/xxx.repo yum install -y puppet-2.6.4-1.xxx from some other repo 1st puppet run only add repo but no upgrade 2nd puppet run does the upgrade but then dead debug: /Stage[main]/Puppet/Package[puppet]/ensure: puppet "2.6.4-1.xxx" is installed, latest is "2.6.6-0.1.rc1.el5" debug: Package[puppet](provider=yum): Ensuring => latest debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install puppet' notice: Caught TERM; calling stop # Bug: if hard code ensure => "2.6.6.xx" then still two puppet start to recover where puppet stop after yum upgrade debug: Package[puppet](provider=yum): Ensuring => 2.6.6-0.1.rc1.el5 debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install puppet-2.6.6-0.1.rc1.el5' notice: Caught TERM; calling stop # Bug: sudo touch /etc/puppet/namespaceauth.conf then start puppet again because rpm missing namespaceauth.conf cat: /etc/puppet/namespaceauth.conf: No such file or directory --- class puppet { package { "puppet": ensure => latest, # versus "2.6.6-0.1.rc1.el5", require => Yumrepo[apprepo], } service { "puppet": enable => true, require => Package[puppet] } } -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
