Thanks for the reply
Yes I have explicitly enabled Khepri feature flag in the previous deployment
This time I have not enabled it in rabbitmq-3.13.3 and upgraded to
rabbitmq-4.0.3 , upgrade seems to be fine and the application was stable
Now when I rollback to
rabbitmq-3.13.3 the pod restart is failing with error:
BOOT FAILED
===========
Exception during startup:
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0>
throw:{timeout,{rabbitmq_metadata,'rabbit@rabbit-crmq-2'}}
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> BOOT FAILED
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> ===========
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> Exception during startup:
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0>
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> throw:{timeout,{rabbitmq_metadata,'rabbit@rabbit-crmq-2'}}
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0>
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> rabbit_khepri:-register_projections/0-lc$^9/1-0-/1, line 1078
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> rabbit_khepri:register_projections/0, line 1079
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> rabbit_khepri:setup/1, line 255
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> rabbit:run_prelaunch_second_phase/0, line 379
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> rabbit:start/2, line 893
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0> application_master:start_it_old/4, line 293
2024-11-07 09:20:06.220832+00:00 [error] <0.255.0>
rabbit_khepri:-register_projections/0-lc$^9/1-0-/1, line 1078
rabbit_khepri:register_projections/0, line 1079
rabbit_khepri:setup/1, line 255
rabbit:run_prelaunch_second_phase/0, line 379
rabbit:start/2, line 893
application_master:start_it_old/4, line 293
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> crasher:
Runtime terminating during boot (terminating)
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> initial call: application_master:init/4
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> pid: <0.254.0>
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> registered_name: []
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> exception exit: {{timeout,{rabbitmq_metadata,'rabbit@rabbit-crmq-2'}},
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> {rabbit,start,[normal,[]]}}
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> in function application_master:init/4 (application_master.erl, line 142)
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> ancestors: [<0.253.0>]
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> message_queue_len: 1
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> messages: [{'EXIT',<0.255.0>,normal}]
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> links: [<0.253.0>,<0.44.0>]
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> dictionary: []
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> trap_exit: true
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> status: running
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> heap_size: 376
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> stack_size: 28
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> reductions: 169
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0> neighbours:
2024-11-07 09:20:07.222484+00:00 [error] <0.254.0>
2024-11-07 09:20:07.230011+00:00 [notice] <0.44.0> Application rabbit exited with reason: {{timeout,{rabbitmq_metadata,'rabbit@rabbit-crmq-2'}},{rabbit,start,[normal,[]]}}
For both the versions 3.13.3 and 4.0.3 khepri_db is disabled by default and is unchanged. So not sure why error logs talk about khepri feature.
Please clarify on this