Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionStephen Wadeley
2020-06-29 14:07:49 UTC
Description of problem:
While verifying some bugs using snap 6, I noticed package list was empty.
Then I noticed:
"candlepin_events FAIL Not running"
Version-Release number of selected component (if applicable):
[root@dell-r330-12 ~]# rpm -qa satellite
satellite-6.8.0-0.6.beta.el7sat.noarch
[root@dell-r330-12 ~]# rpm -qa candlepin
candlepin-3.1.14-1.el7sat.noarch
How reproducible:
Unknown
Steps to Reproduce:
1. Unsure, but I ran a test to install and delete some Content Hosts
2. Varifed https://bugzilla.redhat.com/show_bug.cgi?id=1840525#c8
3. Noticed "candlepin_events FAIL Not running" and ran foreman-maintain health check
Actual results:
Starting 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, foreman, httpd, puppetserver, dynflow-sidekiq@worker, dynflow-sidekiq@worker-hosts-queue, foreman-proxy
/ All services started
| Try 1/5: checking status of hammer ping
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
- Try 2/5: checking status of hammer ping
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
/ Try 3/5: checking status of hammer ping
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
\ Try 4/5: checking status of hammer ping
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
| Try 5/5: checking status of hammer ping [FAIL]
Server response check failed!
--------------------------------------------------------------------------------
Rerunning the check after fix procedure
Check whether all services are running using the ping call: [FAIL]
Couldn't connect to the server: undefined method `to_sym' for nil:NilClass
Expected results:
Candlpin should restart, possiblly even not stop
Additional info:
==> /var/log/foreman/production.log <==
2020-06-29T15:56:24 [D|dyn|] Executor heartbeat
2020-06-29T15:56:25 [E|app|37a00a40] Error occurred while starting Katello::CandlepinEventListener
2020-06-29T15:56:25 [E|app|37a00a40] Permission denied - connect(2) for "localhost" port 61613
2020-06-29T15:56:25 [E|app|37a00a40] /opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/netio.rb:461:in `initialize'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/netio.rb:461:in `open'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/netio.rb:461:in `block in open_ssl_socket'
/opt/rh/rh-ruby25/root/usr/share/ruby/timeout.rb:76:in `timeout'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/netio.rb:460:in `open_ssl_socket'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/netio.rb:520:in `open_socket'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/utils.rb:116:in `block in socket'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/utils.rb:109:in `synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/connection/utils.rb:109:in `socket'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/stomp/connection.rb:173:in `initialize'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/stomp/client.rb:134:in `new'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/stomp/client.rb:134:in `create_connection'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/stomp/client.rb:101:in `block in initialize'
/opt/rh/rh-ruby25/root/usr/share/ruby/timeout.rb:93:in `block in timeout'
/opt/rh/rh-ruby25/root/usr/share/ruby/timeout.rb:33:in `block in catch'
/opt/rh/rh-ruby25/root/usr/share/ruby/timeout.rb:33:in `catch'
/opt/rh/rh-ruby25/root/usr/share/ruby/timeout.rb:33:in `catch'
/opt/rh/rh-ruby25/root/usr/share/ruby/timeout.rb:108:in `timeout'
/opt/theforeman/tfm/root/usr/share/gems/gems/stomp-1.4.9/lib/stomp/client.rb:99:in `initialize'
*** Bug 1851806 has been marked as a duplicate of this bug. ***
Comment 6Lukáš Hellebrandt
2020-07-14 13:37:37 UTC
Verified with Sat 6.8 snap 8.0.
The error messages are not shown in the log anymore and the issues caused by this (ie. bug 1851176, bug 1851167) have been fixed.
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 (Important: Satellite 6.8 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-2020:4366