-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Breaking change between 0.1 and 0.2 because of deprecated config #52
Comments
Hi @lays147 , Thank you for reaching out. Upon review, it appears that the deprecation of Regarding your current situation, while reverting the deprecation of the In this scenario, I would recommend temporarily downgrading to |
@dmehala thanks for the feedback. But I don't see how can I upgrade to v0.2.0 and fix the configuration without the access to the control plane. The current access that I have is through the data plane that doesn't configure correctly because of the misconfiguration of the ddtrace plugin. So, I see myself in a deadlock. What would be the best way to handle this upgrade in this scenario? |
Yes. That's one option. Alternatively, as suggested, you could temporarily downgrade to |
@dmehala I erased all the plugin configuration to avoid any issues with the upcoming upgrade. I think that we can't avoid the deletion of the plugin configuration, because even with it disabled, the legacy config would be read, and the problem would persist, because kong would try to validate the config (I'm not 100% sure of this, but I think that the validation of the plugin schema would be read even with the plugin disabled). I think that a proper documentation on how to upgrade between these versions is needed, to avoid others to have the same issue that I had. Steps that I did:
And no downtime on the DP again. |
Kong Version
3.6.1
Plugin Version
0.2.0-1
On which environment your Kong instance is running?
Docker
Plugin Configuration
What happened?
The deprecation of the field
agent_endpoint
causes a breaking change that causes Kong to fail when the latest version of this plugin is added to the docker image.Since the plugin is configured based on the 0.1.2 version, if I deploy the latest version, Kong fails to read the plugins configuration from the Control Plane, so the Data Plane doesn't load all the configuration for services and gateways.
The Control Plane isn't accessible outside my infrastructure, and I can't access it, so I'm unable to fix the configuration or disable this plugin for further fixing.
This plugin should handle the breaking change gracefully without impacting Kong start.
The text was updated successfully, but these errors were encountered: