treasure-data / omnibus-td-agent

td-agent (Fluentd) Packaging Scripts
https://docs.treasuredata.com/articles/td-agent-changelog
Apache License 2.0
82 stars 131 forks source link

Upgrading to v2.3.5 can break non-bundled plugins #130

Open kaorimatz opened 7 years ago

kaorimatz commented 7 years ago

Upgrading to v2.3.5 will result in removal of aws-sdk-v1 gem as it is no longer bundled in the td-agent package since version 2.3.5 (https://github.com/treasure-data/omnibus-td-agent/pull/103). This leads to the missing dependency errors of 3rd party plugins which are installed with td-agent-gem and still require aws-sdk-v1 to work (e.g. fluent-plugin-amazon_sns).

I think this is a limitation of the 3rd party plugin management with Omnibus and td-agent-gem. I opened this issue just for the heads-up because I couldn't find any issues dealing with this problem. One possible option might be installing non-bundled gems into not the package install tree (e.g. /opt/td-agent) but some other place like vagrant does. But, sorry I have no real idea, please feel free to close the issue.

Thank you.

repeatedly commented 7 years ago

Removing aws-sdk-v1 is unexpected but I'm not sure why this is the problem. If you use /usr/sbin/td-agent-gem install fluent-plugin-amazon_sns, it should install aws-sdk-v1 together...