Control Plane fails to pull information from database pending "migrations finish" command
Is there an existing issue for this?
- [X] I have searched the existing issues
Kong version ($ kong version)
3.6.1
Current Behavior
After deploying a new container version based on kong:3.6.1-ubuntu in the hybrid deployment, the control plane starts but apparently is unable to retrieve the configurations in the database since it logs an error that "migration finish" should be run, however it starts successfully and dispatches the update of the Data Plane, with no configuration at all.
Expected Behavior
The control plane should not start whether there's any database error, or it should not dispatch any updates to the Data Plane if there's any database error.
Steps To Reproduce
- Build a new docker image based on
kong:3.6.1-ubuntu - Deploy kong in hibrid mode with pending migrations on the database
- The control plane starts, but logs an error pending "migration finish" but it stays healthy
- Data plane connects to CP to retrieve the config, and it gets nothing. All proxy routes fails with 404
Anything else?
Debugging more of my logs, I found an issue with the ddtrace plugin configuration that impacted the Data Plane, and Kong didn't show any logs that this error impacted the whole process of configuration the Data Plane.
However, I'll persist with this issue here, because I had the same problem in my staging environment where the ddtrace was not used.