draios/sysdig-cloud-scripts

get_support_bundle.sh is terminating when dumping elasticsearch logs

Closed this issue · 2 comments

Since https://github.com/draios/installer/pull/2133, the latest Sysdig version uses by default opensearch instead of elasticesearch for the elastic datastore.

It appears that the opensearch container doesn't offer a TTY and therefore the get_support_bundle.sh script is failing to retrieving the log at line #309.

More details can be found here.

As quick solution we could append the || true at the end of that line (and all subsequent one with the same issue), but a proper solution could be to remove the -it flag completely: is it really required (also for other exec calls) since we are not doing any interactive operations?

Thanks 🙏