Project

General

Profile

Bug #22703

Updated by Andrew Kofink about 6 years ago

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1549527  

 *Description of problem:* 

 The upgrade fails with below error and traceback, 

 /usr/share/ruby/vendor_ruby/puppet/vendor/safe_yaml/lib/safe_yaml.rb:188:in `initialize': No such file or directory - /opt/puppetlabs/puppet/cache/foreman_cache_data/candlepin_db_password (Errno::ENOENT) 
         from /usr/share/ruby/vendor_ruby/puppet/vendor/safe_yaml/lib/safe_yaml.rb:188:in `open' 
         from /usr/share/ruby/vendor_ruby/puppet/vendor/safe_yaml/lib/safe_yaml.rb:188:in `unsafe_load_file' 
         from /usr/share/ruby/vendor_ruby/puppet/vendor/safe_yaml/lib/safe_yaml.rb:153:in `load_file_with_options' 
         from /usr/share/katello-installer-base/hooks/boot/01-helpers.rb:30:in `read_cache_data' 
         from /usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:21:in `migrate_candlepin' 
         from /usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:157:in `upgrade_step' 
         from /usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:210:in `block (4 levels) in load' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hooking.rb:34:in `instance_eval' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hooking.rb:34:in `block (4 levels) in load' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hook_context.rb:15:in `instance_exec' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hook_context.rb:15:in `execute' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hooking.rb:51:in `block in execute' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hooking.rb:49:in `each' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/hooking.rb:49:in `execute' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/kafo_configure.rb:424:in `run_installation' 
         from /usr/share/gems/gems/kafo-2.0.2/lib/kafo/kafo_configure.rb:156: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.2/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.2/lib/kafo/kafo_configure.rb:163:in `run' 
         from /sbin/satellite-installer:8:in `<main>' 

 *Version-Release number of selected component (if applicable):* 

 6.3 


 *How reproducible:* 

 Each time when having /opt/puppetlabs/puppet/ directory on Katello, Satellite, which comes when having Katello Satellite as puppetlabs client. 

 *Steps to Reproduce:* 
 1. Create directory /opt/puppetlabs/puppet/ and run upgrade on Katello 3.0 Satellite 6.2 with default options. 

 *Actual results:* 

 Upgrade fails. 

 *Expected results:* 

 Upgrade should complete. 

 *Additional info:*

Back