Description of problem: WebUI not getting updated when you modify entitlements quantity like add or less in subscriptions Version-Release number of selected component (if applicable): satellite-6.9 Beta How reproducible: New installation Steps to Reproduce: 1. Import manifest in the satellite 2. Visit WebUI --> content --> Subscriptions Page 3. Check the Entitlements column and edit the quantity of your required subscription [add/remove] and press the CheckMark button to proceed. 4. It will be asked you below confirmation for changes Editing Entitlements You're making changes to 1 entitlement(s) 5. Once you press Save, your page will be blank, until you refresh the page Actual results: https://satellite.example.com/subscriptions page will be completely blank until you refresh, there is no progress shown for the changes. Expected results: We should know the changes and their progress. Additional info: ==> /var/log/foreman/production.log <== 2021-01-26T20:15:55 [I|app|7ded1d57] Started GET "/foreman_tasks/api/tasks?search=organization_id%3D1+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+or+Actions::Katello::Organization::SimpleContentAccess::Enable+or+Actions::Katello::Organization::SimpleContentAccess::Disable" for 127.0.0.1 at 2021-01-26 20:15:55 +0530 2021-01-26T20:15:55 [I|app|7ded1d57] Processing by ForemanTasks::Api::TasksController#index as JSON 2021-01-26T20:15:55 [I|app|7ded1d57] Parameters: {"search"=>"organization_id=1 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 or Actions::Katello::Organization::SimpleContentAccess::Enable or Actions::Katello::Organization::SimpleContentAccess::Disable"} 2021-01-26T20:15:55 [I|app|7ded1d57] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.2/app/views/foreman_tasks/api/tasks/index.json.rabl within api/v2/layouts/index_layout 2021-01-26T20:15:55 [I|app|7ded1d57] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.2/app/views/foreman_tasks/api/tasks/index.json.rabl within api/v2/layouts/index_layout (Duration: 12.4ms | Allocations: 6735) 2021-01-26T20:15:55 [I|app|7ded1d57] Completed 200 OK in 37ms (Views: 17.3ms | ActiveRecord: 8.6ms | Allocations: 19375) 2021-01-26T20:15:58 [I|app|7490d61c] Started PUT "/katello/api/v2/organizations/1/upstream_subscriptions" for 127.0.0.1 at 2021-01-26 20:15:58 +0530 2021-01-26T20:15:58 [I|app|7490d61c] Processing by Katello::Api::V2::UpstreamSubscriptionsController#update as JSON 2021-01-26T20:15:58 [I|app|7490d61c] Parameters: {"pools"=>[{"id"=>"3", "quantity"=>"3"}], "api_version"=>"v2", "organization_id"=>"1", "upstream_subscription"=>{"pools"=>[{"id"=>"3", "quantity"=>"3"}]}} ==> /var/log/foreman/production.log <== 2021-01-26T20:16:00 [I|bac|7490d61c] Task {label: Actions::Katello::UpstreamSubscriptions::UpdateEntitlements, id: af074a15-a979-48f7-8a3e-ea47d208ae54, execution_plan_id: bfd90108-bfbf-4ef9-a1c6-8e8fece64f49} state changed: planning ==> /var/log/httpd/foreman-ssl_access_ssl.log <== 10.74.8.15 - - [26/Jan/2021:20:15:58 +0530] "PUT /katello/api/v2/organizations/1/upstream_subscriptions HTTP/1.1" 202 731 "https://satellite.example.com/subscriptions" "Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0" ==> /var/log/foreman/production.log <== 2021-01-26T20:16:01 [I|bac|] Task {label: Actions::Katello::UpstreamSubscriptions::UpdateEntitlements, id: af074a15-a979-48f7-8a3e-ea47d208ae54, execution_plan_id: bfd90108-bfbf-4ef9-a1c6-8e8fece64f49} state changed: planned 2021-01-26T20:16:01 [I|app|] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.3/app/views/katello/api/v2/common/async.json.rabl within katello/api/v2/layouts/resource 2021-01-26T20:16:01 [I|app|] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.3/app/views/katello/api/v2/common/async.json.rabl within katello/api/v2/layouts/resource (Duration: 25.1ms | Allocations: 15406) 2021-01-26T20:16:01 [I|app|] Completed 202 Accepted in 2819ms (Views: 26.9ms | ActiveRecord: 61.3ms | Allocations: 179920) 2021-01-26T20:16:01 [I|bac|] Task {label: Actions::Katello::UpstreamSubscriptions::UpdateEntitlements, id: af074a15-a979-48f7-8a3e-ea47d208ae54, execution_plan_id: bfd90108-bfbf-4ef9-a1c6-8e8fece64f49} state changed: running ==> /var/log/foreman/production.log <== 2021-01-26T20:17:57 [I|aud|] Organization (1) update event on manifest_refreshed_at 2021-01-26 20:07:45 +0530, 2021-01-26 20:17:57 +0530 2021-01-26T20:17:57 [I|bac|] Task {label: Actions::Katello::UpstreamSubscriptions::UpdateEntitlements, id: af074a15-a979-48f7-8a3e-ea47d208ae54, execution_plan_id: bfd90108-bfbf-4ef9-a1c6-8e8fece64f49} state changed: stopped result: success 2021-01-26T20:17:57 [I|bac|] Task {label: Actions::Katello::UpstreamSubscriptions::UpdateEntitlements, id: af074a15-a979-48f7-8a3e-ea47d208ae54, execution_plan_id: bfd90108-bfbf-4ef9-a1c6-8e8fece64f49} state changed: stopped result: success
Created redmine issue https://projects.theforeman.org/issues/31854 from this bug
Upstream bug assigned to jlenz
*** Bug 1920536 has been marked as a duplicate of this bug. ***
Note I marked 1920536 as a duplicate since the fix is the same. Please feel free to test the steps in the original bug.
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31854 has been resolved.
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 (Moderate: Satellite 6.9 Release), 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-2021:1313