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 1221865 - manual katello-restart required after upgrading
Summary: manual katello-restart required after upgrading
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2015-05-15 05:34 UTC by jnikolak
Modified: 2017-02-23 20:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-07 15:27:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
installation-log (172.72 KB, text/plain)
2015-05-15 05:34 UTC, jnikolak
no flags Details
foreman-debug (1.33 MB, application/x-xz)
2015-05-15 05:38 UTC, jnikolak
no flags Details

Description jnikolak 2015-05-15 05:34:32 UTC
Created attachment 1025689 [details]
installation-log

Upgrading from 6.0.8 to 6.1

I followed the upgrade using 
http://satellite.pad.engineering.redhat.com/sat60-61upgradenotes

- however during installation I discovered that I needed to manually add the repository

Other than that, the installation is default.
We can see that the upgrade script restarted the services.

I checked production.log and messages during time of issue, and found some 500 Internal Server Error.
Before upgrade I was easily able to view that page

2015-05-15 00:23:47 [I] Processing by AboutController#index as HTML
2015-05-15 00:23:47 [W] Current user is set, but not expected. Clearing
2015-05-15 00:23:47 [I] Deface: 3 overrides found for 'about/index'
2015-05-15 00:23:47 [I] Deface: 'add_system_status_to_about' matched 1 times with '#about'
2015-05-15 00:23:47 [I] Deface: 'add_installed_packages_to_about' matched 1 times with '#about'
2015-05-15 00:23:47 [I] Deface: 'add_support_documentation' matched 1 times with '.col-md-5 .stats-well:first-child'
2015-05-15 00:24:00 [I] Completed 500 Internal Server Error in 120039ms
2015-05-15 00:24:00 [F] 
RestClient::RequestTimeout (Katello::Resources::Candlepin::CandlepinResource: Request Timeout  (GET /candlepin/owners/work/subscriptions)):
  lib/middleware/catch_json_parse_errors.rb:9:in `call'



The error's cleared after doing a manual
katello-services restart

attaching foreman-debug onto the case

Comment 1 jnikolak 2015-05-15 05:38:53 UTC
Created attachment 1025690 [details]
foreman-debug

Comment 2 RHEL Program Management 2015-05-15 05:42:28 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Mike McCune 2015-05-15 15:14:30 UTC
The installer is supposed to restart services during the upgrade:

Upgrade Step: migrate_foreman...
Upgrade Step: Running installer...
Upgrade Step: Restarting services...
Upgrade Step: db:seed...
Upgrade Step: Running errata import task (this may take a while)...
Katello upgrade completed!
  The full log is at /var/log/katello-installer/katello-installer.log

so the user should not be required to do it again.

If it turns out we do need an extra restart we should include that in the installer or at the worst case, update the docs.

Comment 5 Eric Helms 2015-05-22 13:47:09 UTC
What version of java was present during upgrade? Does this error happen repeatedly? Are you able to do a katello-service status after upgrade? Is tomcat running?

Comment 8 Brad Buckingham 2015-08-07 15:27:09 UTC
We have not been able to reproduce this error.  If it reoccurs on 6.1.1 GA, please re-open.  Thanks!


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