Bug 1500818
Summary: | Can't upgrade Puppet 3 to Puppet 4 on Capsule | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukáš Hellebrandt <lhellebr> |
Component: | Installation | Assignee: | Eric Helms <ehelms> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | bbuckingham, ehelms, lpramuk |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lukáš Hellebrandt
2017-10-11 14:31:00 UTC
Created redmine issue http://projects.theforeman.org/issues/21321 from this bug Upstream bug assigned to ehelms Upstream bug assigned to ehelms FailedQA. @satellite-capsule-6.3.0-21.0.beta.el7sat.noarch puppet-agent-1.10.7-1.el7sat.x86_64 puppetserver-2.8.0-1.el7sat.noarch @Capsule: # satellite-installer --upgrade-puppet Upgrading puppet... ... Upgrade Step: upgrade_puppet_package... ... Upgrade Step: stop_services... ... Upgrade Step: copy_data... ... Upgrade Step: remove_puppet_port_httpd... ... Upgrade Step: start_httpd... /usr/sbin/service-wait httpd start Redirecting to /bin/systemctl start httpd.service Success! katello-service start --only httpd finished successfully! Puppet 3 to 4 upgrade initialization complete, continuing with installation Resetting puppet params... /usr/share/katello-installer-base/hooks/boot/01-helpers.rb:59:in `reset_value': undefined method `unset_value' for nil:NilClass (NoMethodError) from /usr/share/katello-installer-base/hooks/pre_validations/31-upgrade-puppet.rb:19:in `block (4 levels) in load' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hooking.rb:34:in `instance_eval' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hooking.rb:34:in `block (4 levels) in load' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hook_context.rb:15:in `instance_exec' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hook_context.rb:15:in `execute' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hooking.rb:51:in `block in execute' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hooking.rb:49:in `each' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/hooking.rb:49:in `execute' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/kafo_configure.rb:140:in `execute' from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:68:in `run' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/kafo_configure.rb:119:in `run' from /usr/share/gems/gems/clamp-1.0.0/lib/clamp/command.rb:133:in `run' from /usr/share/gems/gems/kafo-2.0.0/lib/kafo/kafo_configure.rb:163:in `run' from /usr/sbin/satellite-installer:8:in `<main>' FailedQA.
@satellite-capsule-6.3.0-21.0.beta.el7sat.noarch
satellite-installer-6.3.0.9-1.beta.el7sat.noarch
katello-installer-base-3.4.5.10-1.el7sat.noarch
# head -25 /usr/share/katello-installer-base/hooks/pre_validations/31-upgrade-puppet.rb | tail
Kafo::Helpers.log_and_say :info, 'Resetting puppet params...'
if !app_value(:noop)
Kafo::Helpers.reset_value(param('foreman', 'puppet_home'))
Kafo::Helpers.reset_value(param('foreman', 'puppet_ssldir'))
Kafo::Helpers.reset_value(param('foreman_proxy', 'puppet_ssl_ca'))
Kafo::Helpers.reset_value(param('foreman_proxy', 'puppet_ssl_cert'))
Kafo::Helpers.reset_value(param('foreman_proxy', 'puppet_ssl_key'))
Kafo::Helpers.reset_value(param('foreman_proxy', 'puppetdir'))
Kafo::Helpers.reset_value(param('foreman_proxy', 'ssldir'))
>>> fix is not present in snap22
VERIFIED. @satellite-capsule-6.3.0-21.0.beta.el7sat.noarch katello-installer-base-3.4.5.11-1.el7sat.noarch by following manual reproducer: @CAPSULE # satellite-installer -S capsule --upgrade-puppet Upgrading puppet... ... Puppet 3 to 4 upgrade initialization complete, continuing with installation Resetting puppet params... Puppet 3 to 4 upgrade param reset, continuing with installation Installing Done [100%] [.....................................] Success! * Capsule is running at https://cap.example.com:9090 The full log is at /var/log/foreman-installer/capsule.log Upgrade Step: restart_services... ... Success! katello-service restart finished successfully! >>> capsule puppet upgrade finished successfully Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 |