Our old friend is back..
This happens a minute or two after the server starts up, just like it did in non-foremanctl environments.
13:39:11 rails.1 | 2026-04-22T13:39:11 [E|kat|c6276c7d] No connection pool for 'ActiveRecord::Base' found.
13:39:11 rails.1 | 2026-04-22T13:39:11 [E|kat|c6276c7d] Lost database connection. Attempting reconnect.
13:39:14 rails.1 | 2026-04-22T13:39:14 [I|app|3b1ad459] Started GET "/notification_recipients" for 10.22.65.239 at 2026-04-22 13:39:14 -0400
13:39:14 rails.1 | 2026-04-22T13:39:14 [I|app|3b1ad459] Processing by NotificationRecipientsController#index as JSON
13:39:14 rails.1 | 2026-04-22T13:39:14 [D|not|3b1ad459] Cache Hit: notification, reading cache for notification-4
13:39:14 rails.1 | 2026-04-22T13:39:14 [D|app|3b1ad459] Body: {"notifications":[{"id":152,"seen":false,"level":"warning","text":"1 subscriptions in Default Organization are going to expire in less than 120 days. Please renew them before they expire to guarantee your hosts will continue receiving content.","created_at":"2026-04-22T17:22:57.064Z","group":"Subscriptions","actions":{"links":[{"href":"/subscriptions?search=expires\u003c\"120 days from now\"","title":"Subscriptions","external":true}]}}]}
13:39:14 rails.1 | 2026-04-22T13:39:14 [I|app|3b1ad459] Completed 200 OK in 6ms (Views: 0.2ms | ActiveRecord: 0.7ms | Allocations: 2542)
13:39:14 rails.1 | 3b1ad459 |
13:39:14 rails.1 | 3b1ad459 |
13:39:14 rails.1 | 2026-04-22T13:39:14 [E|kat|c6276c7d] Trying to reconnect to the database.
13:39:17 rails.1 | 2026-04-22T13:39:17 [E|kat|c6276c7d] Trying to reconnect to the database.
13:39:20 rails.1 | 2026-04-22T13:39:20 [E|kat|c6276c7d] Trying to reconnect to the database.
Our old friend is back..
This happens a minute or two after the server starts up, just like it did in non-foremanctl environments.