Hide Forgot
Description of problem: Currently, when the upgrade is happening, the pre-upgrade/post-upgrade steps don't provide the output as they are running, but rather just show it after the step is finished. Since some of the upgrade tasks can take quite a long time, it's very inconvenient to not produce any output in the meant time, and it's hard to the user to tell if it's stuck or actually doing something Steps to Reproduce: 1. run upgrade on reasonably large satellite (so that the upgrade takes some time) 2. see some tasks performing over tens of minutes Actual results: The screen is unchanged for several minutes, making it hard to tell if it's performing something, or just hang Expected results: The installer updates frequently about what's going on right now, but passing the upgrade script output to the user at it runs (it also expects the upgrade step producing reasonable output during the execution)
Created redmine issue http://projects.theforeman.org/issues/17192 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/17192 has been resolved.
VERIFIED Performed upgrade 6.2 to 6.3 snap 29, upgrade steps explain what is going on when upgrade is in the progress. Upgrade Step: migrate_foreman... API controllers newer than Apipie cache! Run apipie:cache rake task to regenerate cache. == 20151210143537 AddTypeToMailNotification: migrating ======================== -- add_column(:mail_notifications, :type, :string, {:limit=>255}) -> 0.0006s == 20151210143537 AddTypeToMailNotification: migrated (0.0195s) =============== == 20160203110216 AddDefaultValueForBookmarkPublicField: migrating ============ -- change_column(:bookmarks, :public, :boolean, {:default=>false, :null=>false}) -> 0.0020s == 20160203110216 AddDefaultValueForBookmarkPublicField: migrated (0.0042s) === == 20160225115638 RemoveDefaultUserRole: migrating ============================ == 20160225115638 RemoveDefaultUserRole: migrated (0.0949s) =================== == 20160225131917 RenameAnonymousRole: migrating ============================== == 20160225131917 RenameAnonymousRole: migrated (0.0012s) ===================== == 20160228140111 UpdateParamsPriority: migrating ============================= == 20160228140111 UpdateParamsPriority: migrated (0.0091s) ==================== == 20160308102459 RemovePermissionsFromRoles: migrating ======================= -- remove_column(:roles, :permissions) -> 0.0004s == 20160308102459 RemovePermissionsFromRoles: migrated (0.0004s) ============== == 20160315161936 AddEncryptedToSettings: migrating =========================== -- add_column(:settings, :encrypted, :boolean, {:null=>false, :default=>false}) -> 0.0067s == 20160315161936 AddEncryptedToSettings: migrated (0.0067s) ==================
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