Bug #33430

Pulp 3 check fails if only running a single worker

Added by Justin Sherrill over 1 year ago. Updated about 1 year ago.

Foreman Proxy Content
Target version:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:


Cloned from

Description of problem:

Sync or CreatePulpDiskSpaceNotifications fails for capsule 6.10 with error Not all necessary pulp workers running at

Version-Release number of selected component (if applicable):

Satellite and Satellite Capsule 6.10 [ satellite-6.10.0-0.5.beta.el7sat.noarch / satellite-capsule-6.10.0-0.5.beta.el7sat.noarch ]

How reproducible:


Steps to Reproduce:
1. Install Satellite (satellite-6.10.0-0.5.beta) and Capsule (satellite-capsule-6.10.0-0.5.beta) server
2. Sync some repos in satellite
3. Add Library to Capsule as an LCE to sync
4. Try to initial Optimized Sync

or, simply look at "Pulp storage" section for the capsule from Infrastructure --> Capsule --> page

Actual results:

For CreatePulpDiskSpaceNotifications task

2021-08-12T18:07:10 [E|app|] Error performing CreatePulpDiskSpaceNotifications (Job ID: a48b9b04-71bc-4beb-a62d-b8bc9b6dca6b) from Dynflow(default) in 319.58ms: RuntimeError (Not all necessary pulp workers running at | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `pulp3_without_auth' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `ping_pulp3' | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `pulp_disk_usage'

For Sync task

2021-08-12T22:29:27 [I|app|3b366271] Started POST "/katello/api/capsules/2-capsule-example-com/content/sync" for 10.67.xx.xx at 2021-08-12 22:29:27 +0530
2021-08-12T22:29:27 [I|app|3b366271] Processing by Katello::Api::V2::CapsuleContentController#sync as HTML
2021-08-12T22:29:27 [I|app|3b366271] Parameters: {"id"=>"2-capsule-example-com", "skip_metadata_check"=>false, "api_version"=>"v2", "capsule_content"=>{"id"=>"2-capsule-example-com", "skip_metadata_check"=>false}}
2021-08-12T22:29:27 [I|bac|3b366271] Task {label: Actions::Katello::CapsuleContent::Sync, id: e3f4a17a-3298-42b6-8d4b-ce07c37d0ea2, execution_plan_id: 9ed96668-cb4a-4bc3-9fc0-bddad7377094} state changed: planning
2021-08-12T22:29:29 [W|app|3b366271] Not all necessary pulp workers running at
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `pulp3_without_auth'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `block in ping_pulp3_without_auth'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `exception_watch'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `ping_pulp3_without_auth'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `ping_services_for_capsule'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `ping'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `block in plan'
3b366271 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
3b366271 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `plan'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.8/lib/dynflow/middleware/stack.rb:23:in `call'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.8/lib/dynflow/middleware/stack.rb:27:in `pass'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.8/lib/dynflow/middleware.rb:19:in `pass'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello- `plan'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.8/lib/dynflow/middleware/stack.rb:23:in `call'
3b366271 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.8/lib/dynflow/middleware/stack.rb:27:in `pass'

Expected results:

No such errors.

Additional info:

  • Also all capsule services are running just fine.
  • In Satellite I keep on noticing the following lines for capsule.

2021-08-12T22:26:27 [I|app|ba04b151] Started POST "/api/config_reports" for 10.74.XX.XX at 2021-08-12 22:26:27 +0530
2021-08-12T22:26:27 [I|app|ba04b151] Processing by Api::V2::ConfigReportsController#create as JSON
2021-08-12T22:26:27 [I|app|ba04b151] Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"}
2021-08-12T22:26:27 [W|app|ba04b151] No smart proxy server found on [""] and is not in trusted_hosts
2021-08-12T22:26:27 [I|app|ba04b151] Rendering api/v2/errors/access_denied.json.rabl within api/v2/layouts/error_layout
2021-08-12T22:26:27 [I|app|ba04b151] Rendered api/v2/errors/access_denied.json.rabl within api/v2/layouts/error_layout (Duration: 19.2ms | Allocations: 7377)
2021-08-12T22:26:27 [I|app|ba04b151] Filter chain halted as #<Proc:0x000000001854ee68 /usr/share/foreman/app/controllers/concerns/foreman/controller/smart_proxy_auth.rb:14> rendered or redirected
2021-08-12T22:26:27 [I|app|ba04b151] Completed 403 Forbidden in 101ms (Views: 24.6ms | ActiveRecord: 2.4ms | Allocations: 34307)

Associated revisions

Revision 76eef833 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #33430 - do not error on pulpcore with 1 worker


#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request added

#2 Updated by James Jeffers over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.3.0

#3 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.3.0 added

#4 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Justin Sherrill over 1 year ago

  • Target version changed from Katello 4.3.0 to Katello 4.2.2

#6 Updated by The Foreman Bot about 1 year ago

  • Pull request added

Also available in: Atom PDF