-
Notifications
You must be signed in to change notification settings - Fork 456
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
Plugin stuck in broken state waiting for RPC address #306
Comments
The default value of |
@joshwizzy not much to be honest. The plugin works, when it starts correctly. You can find the code here: https://github.com/agaudreault/argo-rollouts/blob/13e8829a6691e27743f00a4ac1ec5163e51251c1/test/cmd/step-plugin-e2e/main.go. I found out that deleting the executed binary solved the issue as well. Easier than restarting when running locally! |
@agaudreault |
@joshwizzy I am the one implementing the step plugin with other maintainers hence why I'm reaching out about the behavior. This is not an argo rollout issue, but you can see the code and perhaps find out if something is wrong with how the plugin is started. It's quite simple so building a repro app should be quite easy with access to existing code. The steps are
It seems like the go-plugin does not support to be re-executed if it is not shutdown gracefully |
@agaudreault
The plugin process stays running after the client exits
Two instances of the plugin are now running
|
@agaudreault hashicorp/terraform-provider-aws#20274 |
When trying to start a plugin, it sometimes ends up in a broken state and the only way to unblock is to restart the host.
Main function trying to start the plugin
Function trying to get the plugin if it exist, and somewhat recover on error
Everytime we create a new client (restart the program), there is a new process that is created in the following state
The process is running locally on Mac
Running on version
The text was updated successfully, but these errors were encountered: