Skip to content
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

driftctl hangs. #1653

Open
sojjan1337 opened this issue Apr 13, 2023 · 1 comment
Open

driftctl hangs. #1653

sojjan1337 opened this issue Apr 13, 2023 · 1 comment
Labels
kind/bug Something isn't working

Comments

@sojjan1337
Copy link

sojjan1337 commented Apr 13, 2023

Hi!

When i run a scan againt s3, driftctl hangs, so i have to kill -9 on it. And i do not get any info from debug:

Scan duration: 52s Provider version used to scan: . Use --tf-provider-version to use another version.

If i wait for 10min then it finishes.

But when i run a scan locally it doesn't hang, and the debug shows me the following:

Scan duration: 11s Provider version used to scan: . Use --tf-provider-version to use another version. DEBU[0013] Closing providers DEBU[0013] Closing provider key=aws DEBU[0013] Closing gRPC client alias=eu-north-1

@sojjan1337 sojjan1337 added the kind/bug Something isn't working label Apr 13, 2023
@thesagarmatha
Copy link

thesagarmatha commented Jun 26, 2023

Yep, I am having the same issue. Thanks for bringing up this issue.

Edit: I just found out that regardless of local state file or s3 backend my driftctl command hangs for 15+ minutes right after scan output and then exit out with exit code 1.

Last edit: Finally after reading the entire driftctl document figured out that disabling telemetry data fixes hang and timeout issue.

Driftctl v0.39.0
OS Redhat8
TF 1.4.6
AWS provider 4.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants