Project

General

Profile

Actions

Bug #18301

closed

--upgrade-puppet is broken as installer is trying to ensure puppet-server

Added by Lukas Pramuk about 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Fixed in Releases:
Found in Releases:

Description

Though I'm upgrading to puppet4 the installer first remove p3 puppet-server and later on tries to ensure that p3 puppet-server package is present.
But that fails as p4 puppet-agent got already installed.
Yet p4 server package is named puppetserver (without dash)

Steps to reproduce:

1. Install katello scenario using puppet3
# foreman-installer -S katello

2. Enable puppet4 repo
# rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm

3. Upgrade puppet using installer
# foreman-installer --upgrade-puppet
...
Upgrade Step: upgrade_puppet_package...

================================================================================
 Package           Arch       Version            Repository                Size
================================================================================
Removing:
 puppet-server     noarch     3.8.7-1.el7        @puppetlabs-products     4.9 k

Transaction Summary
================================================================================
Remove  1 Package

Installed size: 4.9 k
Warning: RPMDB altered outside of yum.

Removed:
  puppet-server.noarch 0:3.8.7-1.el7                                            

================================================================================
 Package                Arch   Version                 Repository          Size
================================================================================
Installing:
 puppet-agent           x86_64 1.8.3-1.el7             puppetlabs-pc1      25 M
     replacing  facter.x86_64 1:2.4.6-1.el7
     replacing  puppet.noarch 3.8.7-1.el7
 puppetserver           noarch 2.7.2-1.el7             puppetlabs-pc1      33 M
Installing for dependencies:
 java-1.8.0-openjdk-headless
                        x86_64 1:1.8.0.121-0.b13.el7_3 rhel-7-server-rpms  31 M

Transaction Summary
================================================================================
Install  2 Packages (+1 Dependent package)
...

Puppet 3 to 4 upgrade initialization complete, continuing with installation
 Execution of '/usr/bin/yum -d 0 -e 0 -y install puppet-server' returned 1: Package puppet-3.8.7-1.el7.noarch is obsoleted by puppet-agent-1.8.3-1.el7.x86_64 which is already installed
 Package: puppet-server-3.8.7-1.el7.noarch (puppetlabs-products)
           Requires: puppet = 3.8.7-1.el7
           Installed: puppet-agent-1.8.3-1.el7.x86_64 (@puppetlabs-pc1)
               puppet >= 4.0.0-1.el7
...
 /Stage[main]/Puppet::Server::Install/Package[puppet-server]/ensure: change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install puppet-server' returned 1: Package puppet-3.8.7-1.el7.noarch is obsoleted by puppet-agent-1.8.3-1.el7.x86_64 which is already installed

Actions #1

Updated by Dominic Cleal about 7 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by Lukas Pramuk about 7 years ago

foreman-installer-1.15.0-0.develop.201701300324git08bb509.el7.noarch
foreman-installer-katello-3.3.0-1.nightly.201701262206git24ef11b.el7.noarch
katello-installer-base-3.3.0-1.nightly.201701262206git24ef11b.el7.noarch
rubygem-kafo-1.0.6-1.el7.noarch
rubygem-kafo_parsers-0.1.6-1.el7.noarch
rubygem-kafo_wizards-0.0.1-2.el7.noarch

Actions #3

Updated by Justin Sherrill about 7 years ago

  • Category set to Installer
  • translation missing: en.field_release set to 219
Actions #4

Updated by Justin Sherrill about 7 years ago

  • translation missing: en.field_release changed from 219 to 222
Actions #5

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release deleted (222)
Actions #6

Updated by Eric Helms almost 7 years ago

  • Status changed from New to Resolved
  • translation missing: en.field_release set to 166

This has been resolved in latest releases please upgrade and re-open if you hit the issue again.

Actions #7

Updated by Lukas Pramuk almost 7 years ago

  • Bugzilla link set to 1466912
Actions #8

Updated by Eric Helms almost 7 years ago

  • Status changed from Resolved to Assigned
  • Assignee set to Eric Helms
  • translation missing: en.field_release changed from 166 to 267
Actions #9

Updated by The Foreman Bot almost 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/517 added
Actions #10

Updated by Eric Helms almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #11

Updated by Eric Helms almost 7 years ago

  • translation missing: en.field_release changed from 267 to 281
Actions #12

Updated by Eric Helms over 6 years ago

  • Status changed from Closed to Assigned
  • translation missing: en.field_release changed from 281 to 286
Actions #13

Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/529 added
Actions #14

Updated by Eric Helms over 6 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF