Bug #6657
puppet has difficult time upgrading itself and requires manual intervention
| Status: | Rejected | Start date: | 03/09/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Affected Puppet version: | 2.6.4 | Branch: | ||
| Keywords: | upgrade puppet issues using puppet | |||
| Votes: | 0 |
Description
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: Packagepuppet: 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: Packagepuppet: 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]
} }
History
Updated by James Turnbull about 1 year ago
- Target version changed from 2.6.6 to 2.6.x
Updated by James Turnbull about 1 year ago
- Status changed from Unreviewed to Needs Decision
- Assignee changed from Jacob Helwig to Nigel Kersten
Updated by Michael Stahnke 4 months ago
- Target version changed from 2.6.x to 2.7.x
2.6.x is closed. Moving to 2.7.x
Updated by Daniel Pittman 4 months ago
- Status changed from Needs Decision to Rejected
- Assignee deleted (
Nigel Kersten)
This combines three different bugs, at least two of which I believe are fixed, into one report. If they are still issues, please file them independently.
Updated by Daniel Pittman 2 months ago
- Target version deleted (
2.7.x)