nebari-dev / nebari

🪴 Nebari - your open source data science platform
https://nebari.dev
BSD 3-Clause "New" or "Revised" License
281 stars 93 forks source link

[BUG] - Local install fails to install kind and kubectl providers #2851

Open dcmcand opened 3 days ago

dcmcand commented 3 days ago

Describe the bug

Kind and docker providers are not available through the opentofu registry so a local install fails.

Expected behavior

local install succeeds

OS and architecture in which you are running Nebari

Linux x86_64

How to Reproduce the problem?

create a new local deploy.

Command output

[terraform]: ╷
[terraform]: │ Error: Failed to install provider
[terraform]: │ 
[terraform]: │ Error while installing gavinbunney/kubectl v1.14.0: github.com: Get
[terraform]: │ "https://objects.githubusercontent.com/github-production-release-asset-2e65be/204515734/b6085ad2-7e79-41d3-90f0-2a0786d99e34?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241113T123909Z&X-Amz-Expires=300&X-Amz-Signature=d7dce317083892577639aa02cc2e830dd46fc08ba20212598684313623f81cc3&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-kubectl_1.14.0_linux_amd64.zip&response-content-type=application%2Foctet-stream":
[terraform]: │ net/http: TLS handshake timeout
[terraform]: ╵
[terraform]: 
[terraform]: ╷
[terraform]: │ Error: Failed to install provider
[terraform]: │ 
[terraform]: │ Error while installing tehcyx/kind v0.4.0: github.com: Get
[terraform]: │ "https://objects.githubusercontent.com/github-production-release-asset-2e65be/214505084/e512d818-3efd-4261-b68c-0b329f39a60e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241113T123912Z&X-Amz-Expires=300&X-Amz-Signature=f76a497b4fe8357a879f2ae5182fc7a855a1bf7dac2b1b5853b3ec0cbfef3c2e&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-kind_0.4.0_linux_amd64.zip&response-content-type=application%2Foctet-stream":
[terraform]: │ net/http: TLS handshake timeout
[terraform]: ╵

Versions and dependencies used.

No response

Compute environment

None

Integrations

No response

Anything else?

No response

marcelovilla commented 2 days ago

@dcmcand I'm not sure this has something to do with OpenTofu. We haven't merged that PR yet and your command output snippet shows [terraform]: but with OpenTofu it should show [tofu]:

Also, the message does not seems to suggest anything specific to OpenTofu either. Might it be that this is a different issue?