And I let foreman-installer
run for a while longer now, it actually completes.
I think Tomcat restarted during that process:
==> /var/log/tomcat/catalina.2024-07-26.log <==
26-Jul-2024 13:54:16.223 INFO [Thread-10] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["https-jsse-nio-127.0.0.1-23443"]
26-Jul-2024 13:54:16.224 INFO [Thread-10] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina]
26-Jul-2024 13:55:46.946 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
26-Jul-2024 13:55:47.306 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["https-jsse-nio-127.0.0.1-23443"]
26-Jul-2024 13:55:47.583 WARNING [main] org.apache.tomcat.util.net.SSLUtilBase.getEnabled Tomcat interprets the [ciphers] attribute in a manner consistent with the latest OpenSSL development branch. Some of the specified [ciphers] are not supported by the configured SSL engine for this connector (which may use JSSE or an older OpenSSL version) and have been skipped: [[TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256]]
26-Jul-2024 13:55:48.014 INFO [main] org.apache.tomcat.util.net.AbstractEndpoint.logCertificate Connector [https-jsse-nio-127.0.0.1-23443], TLS virtual host [_default_], certificate type [UNDEFINED] configured from keystore [/etc/candlepin/certs/keystore] using alias [tomcat] with trust store [/etc/candlepin/certs/truststore]
26-Jul-2024 13:55:48.022 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [1326] milliseconds
26-Jul-2024 13:55:48.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
26-Jul-2024 13:55:48.060 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87]
26-Jul-2024 13:55:48.067 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/var/lib/tomcat/webapps/candlepin]
26-Jul-2024 13:55:52.315 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
==> /var/log/candlepin/candlepin.log <==
2024-07-26 13:55:52,599 [thread=main] [=, org=, csid=] INFO org.candlepin.guice.CandlepinContextListener - Candlepin initializing context.
2024-07-26 13:55:52,601 [thread=main] [=, org=, csid=] INFO org.candlepin.guice.CandlepinContextListener - Candlepin reading configuration.
2024-07-26 13:55:52,607 [thread=main] [=, org=, csid=] INFO org.candlepin.guice.CandlepinContextListener - Loading candlepin.conf configuration!
2024-07-26 13:55:52,669 [thread=main] [=, org=, csid=] INFO org.candlepin.guice.CandlepinContextListener - Validating configurations.
2024-07-26 13:55:52,678 [thread=main] [=, org=, csid=] INFO org.candlepin.guice.CandlepinContextListener - Candlepin will show support for the following capabilities: [instance_multiplier, derived_product, vcpu, cert_v3, hypervisors_heartbeat, remove_by_pool_id, syspurpose, storage_band, cores, multi_environment, hypervisors_async, org_level_content_access, typed_environments, guest_limit, ram, batch_bind]
2024-07-26 13:55:52,686 [thread=main] [=, org=, csid=] INFO org.candlepin.database.DatabaseConnectionManager - Attempt 1 out of 3 to connect to the database.
2024-07-26 13:55:52,835 [thread=main] [=, org=, csid=] INFO org.candlepin.database.MigrationManager - Liquibase startup management set to Manage
But yeah the recurring error in Katello is still there:
==> /var/log/foreman/production.log <==
2024-07-26T14:02:56 [E|app|7be03b87] Error occurred while starting Katello::CandlepinEventListener
2024-07-26T14:02:56 [E|app|7be03b87] Connection refused - connect(2) for "localhost" port 61613
2024-07-26T14:02:56 [E|app|7be03b87] /usr/share/gems/gems/stomp-1.4.10/lib/connection/netio.rb:461:in `initialize'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/netio.rb:461:in `open'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/netio.rb:461:in `block in open_ssl_socket'
7be03b87 | /usr/share/ruby/timeout.rb:78:in `timeout'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/netio.rb:460:in `open_ssl_socket'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/netio.rb:520:in `open_socket'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/utils.rb:116:in `block in socket'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/utils.rb:109:in `synchronize'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/connection/utils.rb:109:in `socket'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/stomp/connection.rb:173:in `initialize'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/stomp/client.rb:134:in `new'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/stomp/client.rb:134:in `create_connection'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/stomp/client.rb:101:in `block in initialize'
7be03b87 | /usr/share/ruby/timeout.rb:95:in `block in timeout'
7be03b87 | /usr/share/ruby/timeout.rb:33:in `block in catch'
7be03b87 | /usr/share/ruby/timeout.rb:33:in `catch'
7be03b87 | /usr/share/ruby/timeout.rb:33:in `catch'
7be03b87 | /usr/share/ruby/timeout.rb:110:in `timeout'
7be03b87 | /usr/share/gems/gems/stomp-1.4.10/lib/stomp/client.rb:99:in `initialize'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/messaging/stomp_connection.rb:69:in `new'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/messaging/stomp_connection.rb:69:in `client'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/messaging/stomp_connection.rb:43:in `subscribe'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/services/katello/candlepin_event_listener.rb:34:in `run'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:40:in `block in check_services'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:30:in `each'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:30:in `check_services'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:16:in `block (2 levels) in start'
7be03b87 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/execution_wrapper.rb:87:in `wrap'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:15:in `block in start'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:14:in `loop'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/monitor.rb:14:in `start'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/runner.rb:84:in `block (2 levels) in start_monitor_thread'
7be03b87 | /usr/share/gems/gems/activesupport-6.1.7.8/lib/active_support/execution_wrapper.rb:91:in `wrap'
7be03b87 | /usr/share/gems/gems/katello-4.13.1/app/lib/katello/event_daemon/runner.rb:83:in `block in start_monitor_thread'
7be03b87 | /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'