Project

General

Profile

Actions

Bug #28205

closed

React issue in Foreman for Katello: subscriptions page does not track manifest action progress

Added by Justin Sherrill about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

1. go to the subscriptions page
2. import a manifest
3. progress bar never completes

This is also a problem with repo enabling

Actions #1

Updated by Justin Sherrill about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Justin Sherrill about 5 years ago

  • Target version set to Katello 3.14.0
  • Triaged changed from No to Yes
Actions #3

Updated by Ian Ballou about 5 years ago

Noticed constant polling of the manifest task even after the manifest was uploaded. The status bar was still empty:

17:11:23 rails.1   | 2019-11-12T17:11:23 [I|app|7edcc52a] Started GET "/foreman_tasks/api/tasks?search=action~organization+%27Default+Organization%27+and+result%3Dpending+and+label%3DActions::Katello::Organization::ManifestImport+or+Actions::Katello::Organization::ManifestRefresh+or+Actions::Katello::Organization::ManifestDelete+or+Actions::Katello::UpstreamSubscriptions::BindEntitlements+or+Actions::Katello::UpstreamSubscriptions::UpdateEntitlement+or+Actions::Katello::UpstreamSubscriptions::RemoveEntitlements+or+Actions::Katello::UpstreamSubscriptions::UpdateEntitlements" for 192.168.122.1 at 2019-11-12 17:11:23 +0000
17:11:23 rails.1   | 2019-11-12T17:11:23 [I|app|7edcc52a] Processing by ForemanTasks::Api::TasksController#index as JSON
17:11:23 rails.1   | 2019-11-12T17:11:23 [I|app|7edcc52a]   Parameters: {"search"=>"action~organization 'Default Organization' and result=pending and label=Actions::Katello::Organization::ManifestImport or Actions::Katello::Organization::ManifestRefresh or Actions::Katello::Organization::ManifestDelete or Actions::Katello::UpstreamSubscriptions::BindEntitlements or Actions::Katello::UpstreamSubscriptions::UpdateEntitlement or Actions::Katello::UpstreamSubscriptions::RemoveEntitlements or Actions::Katello::UpstreamSubscriptions::UpdateEntitlements"}
17:11:23 rails.1   | 2019-11-12T17:11:23 [D|app|7edcc52a] Body: {"total":19,"subtotal":0,"page":1,"per_page":20,"sort":{"by":"started_at","order":"DESC"},"results":[]}
17:11:23 rails.1   | 2019-11-12T17:11:23 [I|app|7edcc52a] Completed 200 OK in 21ms (Views: 0.3ms | ActiveRecord: 4.8ms)
Actions #4

Updated by Brad Buckingham about 5 years ago

  • Bugzilla link set to 1771092
Actions #5

Updated by Ian Ballou about 5 years ago

Issue appears to occur because

action
is undefined in
katello/webpack/scenes/Tasks/TaskActions.js:pollTaskUntilDone

Actions #6

Updated by Ian Ballou about 5 years ago

This is looking like it was caused by a change in the Foreman React code since the bug exists with Foreman 1.24 + Katello 3.13 but not with Foreman 1.23 + Katello 3.13. This community post explains in more detail: https://community.theforeman.org/t/change-in-foreman-react-code-affecting-katello-manifest-refresh-ui/16184

Actions #7

Updated by Ian Ballou about 5 years ago

  • Project changed from Katello to Foreman
  • Subject changed from subscriptions page does not track manifest action progress to React issue in Foreman for Katello: subscriptions page does not track manifest action progress
  • Category changed from Subscriptions to Web Interface
  • Target version deleted (Katello 3.14.0)
Actions #8

Updated by Ian Ballou about 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7179 added
Actions #9

Updated by Jonathon Turel about 5 years ago

  • Found in Releases 1.24.0 added

This should go into 1.24

Actions #10

Updated by The Foreman Bot about 5 years ago

  • Fixed in Releases 2.0.0 added
Actions #11

Updated by Anonymous about 5 years ago

  • Status changed from New to Closed
Actions #12

Updated by Brad Buckingham about 5 years ago

  • Target version set to 1.24.0
Actions #13

Updated by The Foreman Bot about 5 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7154 added
Actions #14

Updated by Tomer Brisker about 5 years ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/7154)
Actions #15

Updated by Tomer Brisker about 5 years ago

  • Fixed in Releases 1.24.0 added
  • Fixed in Releases deleted (2.0.0)
Actions

Also available in: Atom PDF