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

423 Locked error since version 0.67.5 #3430

Closed
Duvieusam opened this issue Sep 23, 2024 · 5 comments · Fixed by #3453
Closed

423 Locked error since version 0.67.5 #3430

Duvieusam opened this issue Sep 23, 2024 · 5 comments · Fixed by #3453
Assignees
Labels
bug Something isn't working

Comments

@Duvieusam
Copy link

Describe the bug

Since version 0.67.5 we experience an error during init phase.
We are running terragrunt in Gitlab CI job.

Here is the output:

16:45:14.648 INFO   [account_sandbox] Caching terraform providers for ./account_sandbox
16:45:16.309 STDERR [account_sandbox] terraform: ╷
16:45:16.309 STDERR [account_sandbox] terraform: │ Error: Failed to install provider
16:45:16.309 STDERR [account_sandbox] terraform: │ 
16:45:16.309 STDERR [account_sandbox] terraform: │ Error while installing cloudflare/cloudflare v4.42.0: could not query
16:45:16.309 STDERR [account_sandbox] terraform: │ provider registry for registry.terraform.io/cloudflare/cloudflare: 423
16:45:16.309 STDERR [account_sandbox] terraform: │ Locked
16:45:16.309 STDERR [account_sandbox] terraform: ╵
16:45:16.379 ERROR  [account_sandbox] terraform invocation failed in ./account_sandbox stderr=
╷
│ Error: Failed to install provider
│ 
│ Error while installing cloudflare/cloudflare v4.42.0: could not query
│ provider registry for registry.terraform.io/cloudflare/cloudflare: 423
│ Locked
╵

The job was working before version 0.67.5.

Steps To Reproduce

Here is the command line that led to the error:

terragrunt run-all plan
      --terragrunt-exclude-dir "/builds/cloudflare/tf-cloudflare/account_zzpool*"
      --terragrunt-exclude-dir "/builds/cloudflare/tf-cloudflare/account_zzpool*/*"
      --terragrunt-strict-include
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_*-dev/*/*/cdn"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_*-dev/*/token"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_sandbox/*/*/cdn"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_sandbox/*/token"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_*-dev"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_sandbox"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_*-dev/*"
      --terragrunt-include-dir "/builds/cloudflare/tf-cloudflare/account_sandbox/*"

Versions

  • Terragrunt version: 0.67.5
  • OpenTofu/Terraform version: 1.9.5
  • Any Docker image output this error

Additional context

I do think that the error may comes from the way Gitlab runners handle ouput logs. This may not be detected correctly by the regular expression that tests terraform init the first time.

@Duvieusam Duvieusam added the bug Something isn't working label Sep 23, 2024
@levkohimins levkohimins self-assigned this Sep 23, 2024
@levkohimins
Copy link
Contributor

Hi @Duvieusam, thanks for the reporting, this is known issue #3420, we are working on a fix. This error message does not affect the workflow in any way, just ignore it.

@weisdd
Copy link

weisdd commented Sep 23, 2024

@levkohimins The annoying side-effect is that it results in failed GitHub jobs even though, like you mentioned, there is no real failure. So, it's great to know that someone's already working on a fix :)

image

@joshbsemperis
Copy link

This is a major issue, please fix this ASAP

@asvataa
Copy link

asvataa commented Sep 30, 2024

+1

@levkohimins
Copy link
Contributor

Resolved in v0.68.0-beta2024100801 release.

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
5 participants