Project

General

Profile

Bug #22015

Upgrade Step: update_subscription_facet_backend_data generate log file at non standard location (/tmp).

Added by Justin Sherrill almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
High
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

For the customer the upgrade was failed with below error:

Upgrade Step: update_subscription_facet_backend_data (this may take a while) ... ***************************
******WARNING**************
Errors detected during upgrade step.
Details saved to: /tmp/subscription_facet_upgrade-1481574043.log
This step can be rerun with:
foreman-rake katello:upgrades:3.0:update_subscription_facet_backend_data
You are likely encountering a bug.

To diagnose such issues we need to check error message from /tmp/subscription_facet_upgrade-1481574043.log file but that will not be captured from in foreman-debug or sosreport.

Associated revisions

Revision b6c38605 (diff)
Added by Justin Sherrill almost 4 years ago

Fixes #22015 - write log to correct location

and reduce code duplication

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7119 added

#2 Updated by Eric Helms almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 329
  • Subject changed from Upgrade Step: update_subscription_facet_backend_data generate log file at non standard location (/tmp). to Upgrade Step: update_subscription_facet_backend_data generate log file at non standard location (/tmp).

#3 Updated by Justin Sherrill almost 4 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF