Bug #28205
closedReact issue in Foreman for Katello: subscriptions page does not track manifest action progress
Added by Justin Sherrill over 5 years ago. Updated about 5 years ago.
Description
1. go to the subscriptions page
2. import a manifest
3. progress bar never completes
This is also a problem with repo enabling
Updated by Justin Sherrill about 5 years ago
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes
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)
Updated by Ian Ballou about 5 years ago
Issue appears to occur because
actionis undefined in
katello/webpack/scenes/Tasks/TaskActions.js:pollTaskUntilDone
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
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)
Updated by Ian Ballou about 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7179 added
Updated by Anonymous about 5 years ago
- Status changed from New to Closed
Applied in changeset 77388044f5734dc021820b6ffcf73564b664d1a3.
Updated by The Foreman Bot about 5 years ago
- Pull request https://github.com/theforeman/foreman/pull/7154 added
Updated by Tomer Brisker about 5 years ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/7154)
Updated by Tomer Brisker about 5 years ago
- Fixed in Releases 1.24.0 added
- Fixed in Releases deleted (
2.0.0)