[Satellite6] dynflow-sidekiq services fail to start with error undefined method `id' for nil:NilClass and query_builder.rb

Solution Verified - Updated -

Issue

  • Satellite services for dynflow-sidekiq fail to start when Satellite services are started.
satellite-maintain service status -b
Running Status Services
================================================================================
Get status of applicable services: 

Displaying the following service(s):
rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, rh-redis5-redis, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflow-sidekiq@orchestrator, httpd, puppetserver, dynflow-sidekiq@worker, dynflow-sidekiq@worker-hosts-queue, foreman-proxy
- displaying rh-mongodb34-mongod                   [OK]                         
- displaying postgresql                            [OK]                         
\ displaying qdrouterd                             [OK]                         
\ displaying qpidd                                 [OK]                         
\ displaying rh-redis5-redis                       [OK]                         
\ displaying squid                                 [OK]                         
\ displaying pulp_celerybeat                       [OK]                         
\ displaying pulp_resource_manager                 [OK]                         
\ displaying pulp_streamer                         [OK]                         
\ displaying pulp_workers                          [OK]                         
\ displaying smart_proxy_dynflow_core              [OK]                         
\ displaying tomcat                                [OK]                         
\ displaying dynflow-sidekiq@orchestrator          [FAIL]                       
\ displaying httpd                                 [OK]                         
\ displaying puppetserver                          [OK]                         
\ displaying dynflow-sidekiq@worker                [FAIL]                       
\ displaying dynflow-sidekiq@worker-hosts-queue    [OK]                         
\ displaying foreman-proxy                         [OK]                         
| All services displayed                                              [FAIL]    
Some services are not running (dynflow-sidekiq@orchestrator, dynflow-sidekiq@worker)
  • An error may appear when logging in to Satellite such as the following:
Web application could not be started
undefined method `id' for nil:NilClass (NoMethodError)
  /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-2.0.2/app/models/foreman_tasks/task.rb:57:in `block in <class:Task>'

Environment

  • Satellite 6.8 or newer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content