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

Terraform 14 v0.2.2 hash issue #38

Closed
pbr0ck3r opened this issue Feb 10, 2021 · 6 comments
Closed

Terraform 14 v0.2.2 hash issue #38

pbr0ck3r opened this issue Feb 10, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@pbr0ck3r
Copy link

pbr0ck3r commented Feb 10, 2021

2021/02/09 19:43:33 [DEBUG] GET https://github.com/Mongey/terraform-provider-kafka-connect/releases/download/v0.2.2/terraform-provider-kafka-connect_0.2.2_SHA256SUMS
2021/02/09 19:43:33 [TRACE] HTTP client GET request to https://github.com/Mongey/terraform-provider-kafka-connect/releases/download/v0.2.2/terraform-provider-kafka-connect_0.2.2_SHA256SUMS

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/plugins/signing.html

Error: Failed to install provider

Error while installing mongey/kafka-connect v0.2.2: could not query provider
registry for registry.terraform.io/mongey/kafka-connect: failed to retrieve
authentication checksums for provider: 404 Not Found

The issue is that here on github the link is contains:
terraform-provider-kafka-connect_v0.2.2
on terraform it is trying to use:
terraform-provider-kafka-connect_0.2.2 (missing the v)

So terraform 14 is unable to verify the hash

@pbr0ck3r pbr0ck3r changed the title Terraform v0.2.2 hash issue Terraform 14 v0.2.2 hash issue Feb 10, 2021
@Mongey Mongey added the bug Something isn't working label Feb 10, 2021
@Mongey Mongey self-assigned this Feb 10, 2021
@Mongey
Copy link
Owner

Mongey commented Feb 10, 2021

@pbr0ck3r I think I fixed this with the v0.2.3 release, can you check it out?

@pbr0ck3r
Copy link
Author

pbr0ck3r commented Feb 10, 2021

I tried running version v0.2.3 with terraform 14.5 and am running into the following issue:

2021/02/09 19:53:18 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/mongey/kafka-connect\"] (close)" is waiting for "module.s3_connect.kafka-connect_connector.this (expand)"
2021/02/09 19:53:18 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2021/02/09 19:53:18 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "module.s3_connect.kafka-connect_connector.this (expand)"
2021/02/09 19:53:23 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "module.s3_connect.kafka-connect_connector.this (expand)"
2021/02/09 19:53:23 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2021/02/09 19:53:23 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/mongey/kafka-connect\"] (close)" is waiting for "module.s3_connect.kafka-connect_connector.this (expand)"
2021/02/09 19:53:28 [TRACE] dag/walk: vertex "provider[\"registry.terraform.io/mongey/kafka-connect\"] (close)" is waiting for "module.s3_connect.kafka-connect_connector.this (expand)"

So was trying to roll back to v0.2.2 which worked with TF 14.2, we are using TF 14.5 currently and get the above on a terraform plan. Using AWS infrastructure and Terraform cloud for state.

@pbr0ck3r
Copy link
Author

Also yes the hash checking works with v0.2.3 just fine.

@hoanht140589
Copy link

hoanht140589 commented Aug 5, 2021

I have the same issue with TF 14.8 on version 0.2.3, it keeps loading as below:

2021/07/01 05:20:26 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "module.kafka (close)"
2021/07/01 05:20:26 [TRACE] dag/walk: vertex "module.kafka.provider[\"registry.terraform.io/mongey/kafka-connect\"].data (close)" is waiting for "module.kafka.kafka-connect_connector.data-connectors (expand)"
2021/07/01 05:20:26 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2021/07/01 05:20:27 [TRACE] dag/walk: vertex "root" is waiting for "module.kafka.kafka-connect_connector.data-connectors[\"postgres-system_transaction\"]"
2021/07/01 05:20:27 [TRACE] dag/walk: vertex "module.kafka (close)" is waiting for "module.kafka.kafka-connect_connector.data-connectors (expand)"
2021/07/01 05:20:31 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "module.kafka (close)"
2021/07/01 05:20:31 [TRACE] dag/walk: vertex "module.kafka.provider[\"registry.terraform.io/mongey/kafka-connect\"].data (close)" is waiting for "module.kafka.kafka-connect_connector.data-connectors (expand)"
2021/07/01 05:20:31 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2021/07/01 05:20:32 [TRACE] dag/walk: vertex "root" is waiting for "module.kafka.kafka-connect_connector.data-connectors[\"postgres-system_transaction\"]"
2021/07/01 05:20:32 [TRACE] dag/walk: vertex "module.kafka (close)" is waiting for "module.kafka.kafka-connect_connector.data-connectors (expand)"
2021/07/01 05:20:36 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "module.kafka (close)"
2021/07/01 05:20:36 [TRACE] dag/walk: vertex "module.kafka.provider[\"registry.terraform.io/mongey/kafka-connect\"].data (close)" is waiting for "module.kafka.kafka-connect_connector.data-connectors (expand)"
2021/07/01 05:20:36 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"

Do you have any idea on this @Mongey ?

@pbr0ck3r
Copy link
Author

pbr0ck3r commented Aug 5, 2021

This has nothing to do with install the provider which this issue is about and has been fixed. Please refer to #37

@pbr0ck3r
Copy link
Author

pbr0ck3r commented Aug 5, 2021

I am running TF 1.0.3 and confirm v0.2.3 works just fine.

@pbr0ck3r pbr0ck3r closed this as completed Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants