Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1333744 - Upgrade from sat6.1.8 to sat6.2 GA snap10 on rhel6 failed at: Upgrade step migrate_foreman
Summary: Upgrade from sat6.1.8 to sat6.2 GA snap10 on rhel6 failed at: Upgrade step mi...
Keywords:
Status: CLOSED DUPLICATE of bug 1333027
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-06 09:48 UTC by Sachin Ghai
Modified: 2019-04-01 20:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-09 20:27:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-debug (285.20 KB, application/x-xz)
2016-05-06 09:48 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2016-05-06 09:48:18 UTC
Created attachment 1154537 [details]
foreman-debug

Description of problem:
I was trying to upgrade a fresh installed setup of 6.1.8 to sat62 snap10 on rhel6 and upgrade failed as below:

[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] run: foreman-installer --scenario katello --upgrade
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrading...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade Step: stop_services...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade Step: start_databases...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade Step: migrate_pulp...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade Step: start_httpd...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade Step: migrate_candlepin...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade Step: migrate_foreman...
[qe-sat6-upgrade-rhel6.satqe.lab.eng.rdu2.redhat.com] out: Upgrade step migrate_foreman failed. Check logs for more information.

/usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:108:in `error': wrong number of arguments (159 for 1) (ArgumentError)
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:108:in `send'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:108:in `dump_buffer'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:108:in `each'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:108:in `dump_buffer'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:107:in `each'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:107:in `dump_buffer'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:98:in `dump_errors'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/logger.rb:103:in `dump_errors'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/exit_handler.rb:28:in `exit'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:162:in `exit'
	from /usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:63:in `fail_and_exit'
	from /usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:57:in `upgrade_step'
	from /usr/share/katello-installer-base/hooks/pre/30-upgrade.rb:85:in `load'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/hook_context.rb:13:in `instance_exec'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/hook_context.rb:13:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/hooking.rb:51:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/hooking.rb:49:in `each'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/hooking.rb:49:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:373:in `run_installation'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:149:in `execute'
	from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
	from /usr/lib/ruby/gems/1.8/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
	from /usr/lib/ruby/gems/1.8/gems/kafo-0.7.3/lib/kafo/kafo_configure.rb:156:in `run'
	from /usr/sbin/foreman-installer:12



Version-Release number of selected component (if applicable):
upgrade from sat6.1.8 to sat6.2 GA snap10 on rhel6 

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
Upgrade step migrate_foreman failed. Check logs for more information.

Expected results:
installer should succeed

Additional info:

Comment 2 Brad Buckingham 2016-05-09 20:27:16 UTC

*** This bug has been marked as a duplicate of bug 1333027 ***


Note You need to log in before you can comment on or make changes to this bug.