Bug #18301
closed--upgrade-puppet is broken as installer is trying to ensure puppet-server
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
Updated by Dominic Cleal almost 8 years ago
- Project changed from Foreman to Katello
Updated by Lukas Pramuk almost 8 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
Updated by Justin Sherrill almost 8 years ago
- Category set to Installer
- Translation missing: en.field_release set to 219
Updated by Justin Sherrill almost 8 years ago
- Translation missing: en.field_release changed from 219 to 222
Updated by Justin Sherrill over 7 years ago
- Translation missing: en.field_release deleted (
222)
Updated by Eric Helms over 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.
Updated by Eric Helms over 7 years ago
- Status changed from Resolved to Assigned
- Assignee set to Eric Helms
- Translation missing: en.field_release changed from 166 to 267
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/517 added
Updated by Eric Helms over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|fefea73fb7a7ea35bb2dbbcd541b175a6c642243.
Updated by Eric Helms over 7 years ago
- Translation missing: en.field_release changed from 267 to 281
Updated by Eric Helms over 7 years ago
- Status changed from Closed to Assigned
- Translation missing: en.field_release changed from 281 to 286
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/529 added
Updated by Eric Helms about 7 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello-installer|9350459f29bfa6ec89cdec30fc5378a84d4a5297.