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 1505372 - Upgrade from 6.2.12 -> 6.3, failed at katello:upgrades:2.4:import_subscriptions
Summary: Upgrade from 6.2.12 -> 6.3, failed at katello:upgrades:2.4:import_subscriptions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: John Mitsch
QA Contact: Nikhil Kathole
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-23 12:45 UTC by Nikhil Kathole
Modified: 2019-09-26 15:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-debug (1.50 MB, application/x-xz)
2017-10-23 12:47 UTC, Nikhil Kathole
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20587 0 None None None 2017-10-23 13:25:25 UTC

Description Nikhil Kathole 2017-10-23 12:45:58 UTC
Description of problem: Upgrade from 6.2.12 -> 6.3,  failed at katello:upgrades:2.4:import_subscriptions

Upgrade Step: import_subscriptions (this may take a while) ...
rake aborted!
Don't know how to build task 'katello:upgrades:2.4:import_subscriptions'

(See full trace by running task with --trace)
foreman-rake katello:upgrades:2.4:import_subscriptions failed! Check the output for error!
Upgrade step import_subscriptions failed. Check logs for more information.


# foreman-rake katello:upgrades:2.4:import_subscriptions --trace
rake aborted!
Don't know how to build task 'katello:upgrades:2.4:import_subscriptions'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task_manager.rb:62:in `[]'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:149:in `invoke_task'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/opt/rh/rh-ruby23/root/usr/share/gems/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/opt/rh/rh-ruby23/root/usr/bin/rake:23:in `load'
/opt/rh/rh-ruby23/root/usr/bin/rake:23:in `<main>'


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


How reproducible: 6.2.12 -> 6.3 snap 21


Steps to Reproduce:
1. Katello-service stop
2. yum update
3. satellite-installer --scenario satellite --upgrade


Actual results:


Expected results:


Additional info:

Comment 1 Nikhil Kathole 2017-10-23 12:47:49 UTC
Created attachment 1342148 [details]
foreman-debug

Comment 4 Nikhil Kathole 2017-10-30 13:54:16 UTC
VERIFIED

Version Tested:
Satellite-6.3 Snap 22

Upgrade Step: update_puppet_repository_distributors (this may take a while) ...
Updating Puppet Repository Distributors
Updating Content View Puppet Environment Distributors
foreman-rake katello:upgrades:3.0:update_puppet_repository_distributors finished successfully!
Upgrade Step: update_subscription_facet_backend_data (this may take a while) ...
Updating backend data for subscription facets
foreman-rake katello:upgrades:3.0:update_subscription_facet_backend_data finished successfully!
Upgrade Step: remove_gutterball...
Upgrade Step: remove_event_queue...
Upgrade Step: set_virt_who_on_pools (this may take a while) ...
Importing Subscriptions
foreman-rake katello:import_subscriptions finished successfully!
Upgrade Step: remove_unused_products (this may take a while) ...
foreman-rake katello:upgrades:3.4:remove_unused_products finished successfully!
Upgrade Step: create_host_subscription_associations (this may take a while) ...
Importing Subscriptions
foreman-rake katello:import_subscriptions finished successfully!
Upgrade completed!

Comment 6 Satellite Program 2018-02-21 16:54:37 UTC
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


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