Hi, I am upgrading to the latest versions of the CLI and plugins after not touching my installation for a long time, and I’m seeing the following error on startup:
Error: failed to run plugin /mnt/data/plugins/source/cloudquery/aws/v27.9.0/plugin: signal: killed
I’m running in an ECS container, with --cq-dir pointed at an EFS mount, if it matters. Here’s the log output:
2024-07-31T19:44:14Z INF Plugin server listening address=/tmp/cq-XhHPnVeEANUvNGRp.sock invocation_id=b418a9a4-6b56-4aab-9da6-a14d94fee43e module=cli
Error: failed to run plugin /mnt/data/plugins/source/cloudquery/aws/v27.9.0/plugin: signal: killed
2024-07-31T19:44:15Z ERR exiting with error error="failed to run plugin /mnt/data/plugins/source/cloudquery/aws/v27.9.0/plugin: signal: killed" invocation_id=b418a9a4-6b56-4aab-9da6-a14d94fee43e module=cli
It looks like the issue was in fact the EFS mount. If I omit the --cq-dir flag it works. Ha;lp?
Interesting, what version had you been using before upgrading? Also, are there any other programs or agents like anti-virus software that might be killing the plugin?
CLI version 3.0.2, AWS plugin version 17.1.0. And nope, cloudquery sync should be the only process running in the container AFAIK.
I was writing the plugins to an EFS mount so they would persist between invocations and not need to be downloaded each time Seems like that’s not really possible anymore?
There is no reason why that should not still work. We definitely encourage caching the plugins between syncs, especially when using ephemeral compute like ECS.
Did you also update the CLI, or are you still using v3.0.2?
Interesting; so you think it was related to the EFS mount? Would you mind sharing more about your setup that would allow us to reproduce this? In particular, the (redacted) CloudQuery config file and the ECS definition?
Thanks for the details! Glad it’s working now and you have a workaround, but yes I would expect it to have worked with --cq-dir as well. I’ve opened an internal issue so we can investigate this.