Problem
Attempt to generate a Support Bundle for Terraform Enterprise (TFE) Flexible Deployment Options (FDO) as documented here fails.
Following command used:
$tfectl support bundle
Error: unexpected EOF
Cause
Content of /var/log/terraform-enterprise
grew large (approx. 2 GB or more) and it cannot be uploaded to Object Storage (e.g. AWS S3 bucket, Azure Blob Storage or Google Cloud Storage)
There is an existing request with Engineering to address this issue in a later release.
Workarounds
In order to collect the requested information for HashiCorp Support, either:
-
Gain access to the container CLI (Docker or Kubernetes) as shown here
-
Execute the following command
tfe-support-bundle-generate
This will generate a support bundle, but makes it available as a download link on TFE itself instead of uploading it to Object Storage - Download the support bundle
-
Execute the following command to disable the download for the support bundle
tfe-support-bundle-disable-downloads
-
or
-
Manually zip the content of
/var/log/terraform-enterprise
Outcome
The logs from TFE FDO were successfully collected.