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

No matching version found when used version 1.6.0 #43

Closed
baixinsui opened this issue Dec 10, 2024 · 5 comments · Fixed by #44 or diggerhq/digger#1861
Closed

No matching version found when used version 1.6.0 #43

baixinsui opened this issue Dec 10, 2024 · 5 comments · Fixed by #44 or diggerhq/digger#1861
Assignees

Comments

@baixinsui
Copy link

baixinsui commented Dec 10, 2024

The following error occurred while using github-action opentofu/setup-opentofu@v1 with tofu-version 1.6.0.
image
But the version 1.6.0 is existing in releases.
chrome_ZEH98pPioR

@baixinsui baixinsui changed the title No matching version found No matching version found when used version 1.6.0 Dec 10, 2024
@cdnarbona
Copy link

+1

@cam72cam
Copy link
Member

Thanks for the issue, this still uses the github release API instead of get.opentofu.org/api.json. I suspect we now have enough releases to run into pagination issues.

@abstractionfactory abstractionfactory self-assigned this Dec 10, 2024
abstractionfactory added a commit that referenced this issue Dec 10, 2024

Verified

This commit was signed with the committer’s verified signature.
abstractionfactory AbstractionFactory
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
abstractionfactory added a commit that referenced this issue Dec 10, 2024

Verified

This commit was signed with the committer’s verified signature.
abstractionfactory AbstractionFactory
Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com>
@abstractionfactory
Copy link
Contributor

This is now fixed and released as version 1.0.5.

@baixinsui
Copy link
Author

baixinsui commented Dec 27, 2024

@abstractionfactory
This error has reappeared with the version 1.0.5. Please take a look.
https://github.com/eclipse-xpanse/xpanse/actions/runs/12510454462/job/34901232646
image

@abstractionfactory
Copy link
Contributor

@baixinsui this should be fixed since opentofu/get.opentofu.org#43 is now merged. Please let us know if that is not the case.

snakster added a commit to terramate-io/terramate that referenced this issue Jan 2, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
<!--  Thanks for sending a pull request!  Here are some tips for you:

1. If this is your first time, please read our contributor guidelines:
https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md
2. If the PR is unfinished, mark it as draft:
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request
3. Please update the PR title using the Conventional Commits convention:
https://www.conventionalcommits.org/en/v1.0.0/
    Example: feat: add support for XYZ.
-->

## What this PR does / why we need it:

This PR fixes a race condition when using the `--parallel` flag in
combination with outputs sharing.

Trace:
```
fatal error: concurrent map writes

goroutine 58 [running]:
github.com/terramate-io/terramate/cmd/terramate/cli.(*cli).runAll.func7({0x140084ac9a0, {0x14008970480, 0x1, 0x1}, 0xffffffffffffffff})
github.com/terramate-io/terramate/cmd/terramate/cli/run.go:481 +0x19b8
github.com/terramate-io/terramate/scheduler.(*Parallel[...]).visitNode.func1()
github.com/terramate-io/terramate/scheduler/parallel.go:87 +0xb0
github.com/terramate-io/terramate/scheduler.(*Parallel[...]).forkTask.func1()
github.com/terramate-io/terramate/scheduler/parallel.go:111 +0x58
created by github.com/terramate-io/terramate/scheduler.(*Parallel[...]).forkTask in goroutine 56
github.com/terramate-io/terramate/scheduler/parallel.go:109 +0x94
```

Additional chore commits:
* Bump dev version
* Upgrade setup-opentofu action because the previous version can no
longer install opentofu 1.6.x, see
opentofu/setup-opentofu#43


## Special notes for your reviewer:

## Does this PR introduce a user-facing change?
<!--
If no, just write "no" in the block below.
If yes, please explain the change and update documentation and the
CHANGELOG.md file accordingly.
-->
```
no
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants