opentofu / registry

The all-new opentofu.org registry!
https://search.opentofu.org
Apache License 2.0
320 stars 36 forks source link

no package for oracle/oci v6.11.0 #1030

Closed tropikhajma closed 2 weeks ago

tropikhajma commented 2 weeks ago

Thank you for reporting an issue.

I'm unable to run tofu init anymore. The same configuration worked yesterday. This is the error:

tofu init
...
╷
│ Error: Incompatible provider version
│ 
│ Provider registry.opentofu.org/hashicorp/oci v6.11.0 does not have a package available for your current platform, darwin_arm64.
│ 
│ Provider releases are separate from OpenTofu CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.
╵

╷
│ Error: Incompatible provider version
│ 
│ Provider registry.opentofu.org/oracle/oci v6.11.0 does not have a package available for your current platform, darwin_arm64.
│ 
│ Provider releases are separate from OpenTofu CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.

I have to specify version 6.10 in the terraform file to get things done.

OpenTofu Version

OpenTofu v1.6.2
on darwin_arm64

OpenTofu Configuration Files

provider "oci" {
  auth   = var.auth == "" ? null : "${var.auth}"
  region = var.region
}

terraform {
  required_providers {
    oci = {
      source = "oracle/oci"
    }
  }
}
tropikhajma commented 2 weeks ago
% TF_LOG=trace tofu init --upgrade
2024-09-26T10:05:51.327+0200 [INFO]  OpenTofu version: 1.6.2
2024-09-26T10:05:51.327+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.36.0
2024-09-26T10:05:51.327+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.19.1
2024-09-26T10:05:51.327+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2024-09-26T10:05:51.327+0200 [DEBUG] using github.com/zclconf/go-cty v1.14.1
2024-09-26T10:05:51.327+0200 [INFO]  Go runtime version: go1.22.0
2024-09-26T10:05:51.327+0200 [INFO]  CLI args: []string{"tofu", "-chdir=/Users/pheimlic/ol8image/simservice/src/ocisim", "init", "--upgrade"}
2024-09-26T10:05:51.327+0200 [TRACE] Stdout is a terminal of width 202
2024-09-26T10:05:51.327+0200 [TRACE] Stderr is a terminal of width 202
2024-09-26T10:05:51.327+0200 [TRACE] Stdin is a terminal
2024-09-26T10:05:51.327+0200 [DEBUG] Attempting to open CLI config file: /Users/pheimlic/.tofurc
2024-09-26T10:05:51.327+0200 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2024-09-26T10:05:51.327+0200 [DEBUG] checking for credentials in "/Users/pheimlic/.terraform.d/plugins"
2024-09-26T10:05:51.327+0200 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2024-09-26T10:05:51.327+0200 [DEBUG] will search for provider plugins in /Users/pheimlic/.terraform.d/plugins
2024-09-26T10:05:51.327+0200 [DEBUG] ignoring non-existing provider search directory /Users/pheimlic/Library/Application Support/io.terraform/plugins
2024-09-26T10:05:51.327+0200 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins
2024-09-26T10:05:51.327+0200 [DEBUG] Found the config directory: /Users/pheimlic/.terraform.d
2024-09-26T10:05:51.327+0200 [INFO]  CLI command args: []string{"init", "--upgrade"}

Initializing the backend...
2024-09-26T10:05:51.338+0200 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2024-09-26T10:05:51.338+0200 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2024-09-26T10:05:51.338+0200 [DEBUG] New state was assigned lineage "ce7c7be8-5fa5-ed74-b341-fbab509bcc93"
2024-09-26T10:05:51.338+0200 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend)
2024-09-26T10:05:51.338+0200 [TRACE] Meta.Backend: instantiated backend of type <nil>
2024-09-26T10:05:51.338+0200 [DEBUG] checking for provisioner in "."
2024-09-26T10:05:51.339+0200 [DEBUG] checking for provisioner in "/opt/homebrew/bin"
2024-09-26T10:05:51.339+0200 [DEBUG] checking for provisioner in "/Users/pheimlic/.terraform.d/plugins"
2024-09-26T10:05:51.339+0200 [TRACE] Meta.Backend: backend <nil> does not support operations, so wrapping it in a local backend
2024-09-26T10:05:51.339+0200 [TRACE] backend/local: state manager for workspace "default" will:
 - read initial snapshot from terraform.tfstate
 - write new snapshots to terraform.tfstate
 - create any backup at terraform.tfstate.backup
2024-09-26T10:05:51.339+0200 [TRACE] statemgr.Filesystem: reading initial snapshot from terraform.tfstate
2024-09-26T10:05:51.339+0200 [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay
2024-09-26T10:05:51.339+0200 [TRACE] statemgr.Filesystem: read nil snapshot
Upgrading modules...
2024-09-26T10:05:51.339+0200 [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules
2024-09-26T10:05:51.340+0200 [DEBUG] Module installer: begin patching371
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: discarding previous record of patching371 prior to reinstall
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/patching371 prior to install of patching371
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: patching371 has local path "./patching/3.7.1"
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: patching371 uses directory from parent: patching/3.7.1
2024-09-26T10:05:51.340+0200 [DEBUG] Module installer: patching371 installed at patching/3.7.1
- patching371 in patching/3.7.1
2024-09-26T10:05:51.340+0200 [DEBUG] Module installer: begin patching38
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: discarding previous record of patching38 prior to reinstall
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/patching38 prior to install of patching38
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: patching38 has local path "./patching/3.8"
2024-09-26T10:05:51.340+0200 [TRACE] ModuleInstaller: patching38 uses directory from parent: patching/3.8
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: patching38 installed at patching/3.8
- patching38 in patching/3.8
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: begin patching39
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: discarding previous record of patching39 prior to reinstall
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/patching39 prior to install of patching39
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: patching39 has local path "./patching/3.9"
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: patching39 uses directory from parent: patching/3.9
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: patching39 installed at patching/3.9
- patching39 in patching/3.9
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: begin patchingOL8
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: discarding previous record of patchingOL8 prior to reinstall
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/patchingOL8 prior to install of patchingOL8
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: patchingOL8 has local path "./patching/OL8"
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: patchingOL8 uses directory from parent: patching/OL8
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: patchingOL8 installed at patching/OL8
- patchingOL8 in patching/OL8
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: begin patchingmaster
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: discarding previous record of patchingmaster prior to reinstall
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/patchingmaster prior to install of patchingmaster
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: patchingmaster has local path "./patching/master"
2024-09-26T10:05:51.341+0200 [TRACE] ModuleInstaller: patchingmaster uses directory from parent: patching/master
2024-09-26T10:05:51.341+0200 [DEBUG] Module installer: patchingmaster installed at patching/master
- patchingmaster in patching/master
2024-09-26T10:05:51.341+0200 [TRACE] modsdir: writing modules manifest to .terraform/modules/modules.json

Initializing provider plugins...
- Finding latest version of hashicorp/null...
2024-09-26T10:05:51.343+0200 [DEBUG] Service discovery for registry.opentofu.org at https://registry.opentofu.org/.well-known/terraform.json
2024-09-26T10:05:51.343+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/.well-known/terraform.json
2024-09-26T10:05:51.742+0200 [DEBUG] GET https://registry.opentofu.org/v1/providers/hashicorp/null/versions
2024-09-26T10:05:51.742+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/v1/providers/hashicorp/null/versions
- Finding latest version of hashicorp/oci...
2024-09-26T10:05:51.996+0200 [DEBUG] GET https://registry.opentofu.org/v1/providers/hashicorp/oci/versions
2024-09-26T10:05:51.996+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/v1/providers/hashicorp/oci/versions
- Finding latest version of oracle/oci...
2024-09-26T10:05:52.496+0200 [DEBUG] GET https://registry.opentofu.org/v1/providers/oracle/oci/versions
2024-09-26T10:05:52.497+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/v1/providers/oracle/oci/versions
2024-09-26T10:05:53.016+0200 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2024-09-26T10:05:53.018+0200 [TRACE] getproviders.SearchLocalDirectory: found registry.opentofu.org/hashicorp/null v3.2.3 for darwin_arm64 at .terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/darwin_arm64
2024-09-26T10:05:53.018+0200 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/darwin_arm64 as a candidate package for registry.opentofu.org/hashicorp/null 3.2.3
2024-09-26T10:05:53.018+0200 [DEBUG] GET https://registry.opentofu.org/v1/providers/hashicorp/null/3.2.3/download/darwin/arm64
2024-09-26T10:05:53.018+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/v1/providers/hashicorp/null/3.2.3/download/darwin/arm64
2024-09-26T10:05:53.335+0200 [DEBUG] GET https://github.com/opentofu/terraform-provider-null/releases/download/v3.2.3/terraform-provider-null_3.2.3_SHA256SUMS
2024-09-26T10:05:53.335+0200 [TRACE] HTTP client GET request to https://github.com/opentofu/terraform-provider-null/releases/download/v3.2.3/terraform-provider-null_3.2.3_SHA256SUMS
2024-09-26T10:05:53.721+0200 [TRACE] HTTP client GET request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/691499464/4dff927f-60be-4de7-8ba5-65e9e24ea54d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240926%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240926T080553Z&X-Amz-Expires=300&X-Amz-Signature=23d0781da244b6b95ca9cc98063e658e1d5f94b8c8caf2161db9a441babff849&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-null_3.2.3_SHA256SUMS&response-content-type=application%2Foctet-stream
2024-09-26T10:05:54.341+0200 [DEBUG] GET https://github.com/opentofu/terraform-provider-null/releases/download/v3.2.3/terraform-provider-null_3.2.3_SHA256SUMS.sig
2024-09-26T10:05:54.341+0200 [TRACE] HTTP client GET request to https://github.com/opentofu/terraform-provider-null/releases/download/v3.2.3/terraform-provider-null_3.2.3_SHA256SUMS.sig
2024-09-26T10:05:54.545+0200 [TRACE] HTTP client GET request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/691499464/556dfc44-5040-4cf3-b34d-654bb3e453a2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240926%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240926T080554Z&X-Amz-Expires=300&X-Amz-Signature=d728ef3662070e8627897beac56117d189fdad821a53b6d155ff49e4805c860b&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-null_3.2.3_SHA256SUMS.sig&response-content-type=application%2Foctet-stream
- Installing hashicorp/null v3.2.3...
2024-09-26T10:05:54.994+0200 [TRACE] providercache.Dir.InstallPackage: installing registry.opentofu.org/hashicorp/null v3.2.3 from https://github.com/opentofu/terraform-provider-null/releases/download/v3.2.3/terraform-provider-null_3.2.3_darwin_arm64.zip
2024-09-26T10:05:54.994+0200 [TRACE] HTTP client GET request to https://github.com/opentofu/terraform-provider-null/releases/download/v3.2.3/terraform-provider-null_3.2.3_darwin_arm64.zip
2024-09-26T10:05:55.414+0200 [TRACE] HTTP client GET request to https://objects.githubusercontent.com/github-production-release-asset-2e65be/691499464/672cedda-f288-4ab5-9b8d-dcc75d029b41?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240926%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240926T080555Z&X-Amz-Expires=300&X-Amz-Signature=111291c73c1f4972ab6a5f146f6485e4fdcac6b0764e6d72e8c44d5814cdf8a5&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dterraform-provider-null_3.2.3_darwin_arm64.zip&response-content-type=application%2Foctet-stream
2024-09-26T10:05:58.302+0200 [DEBUG] Validating GPG signature of provider package /var/folders/x9/g20ncbn943qb2zp3ypzdbs9h0000gn/T/terraform-provider214887950
2024-09-26T10:05:58.305+0200 [DEBUG] Provider signed by 0C0AF313E5FD9F80 OpenTofu (This key is used to sign opentofu providers) <core@opentofu.org>
2024-09-26T10:05:58.412+0200 [TRACE] providercache.fillMetaCache: scanning directory .terraform/providers
2024-09-26T10:05:58.412+0200 [TRACE] getproviders.SearchLocalDirectory: found registry.opentofu.org/hashicorp/null v3.2.3 for darwin_arm64 at .terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/darwin_arm64
2024-09-26T10:05:58.412+0200 [TRACE] providercache.fillMetaCache: including .terraform/providers/registry.opentofu.org/hashicorp/null/3.2.3/darwin_arm64 as a candidate package for registry.opentofu.org/hashicorp/null 3.2.3
- Installed hashicorp/null v3.2.3 (signed, key ID 0C0AF313E5FD9F80)
2024-09-26T10:05:58.420+0200 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/providers
2024-09-26T10:05:58.420+0200 [DEBUG] GET https://registry.opentofu.org/v1/providers/hashicorp/oci/6.11.0/download/darwin/arm64
2024-09-26T10:05:58.420+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/v1/providers/hashicorp/oci/6.11.0/download/darwin/arm64
2024-09-26T10:05:58.706+0200 [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform/providers
2024-09-26T10:05:58.707+0200 [DEBUG] GET https://registry.opentofu.org/v1/providers/oracle/oci/6.11.0/download/darwin/arm64
2024-09-26T10:05:58.707+0200 [TRACE] HTTP client GET request to https://registry.opentofu.org/v1/providers/oracle/oci/6.11.0/download/darwin/arm64

Providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://opentofu.org/docs/cli/plugins/signing/
╷
│ Error: Incompatible provider version
│ 
│ Provider registry.opentofu.org/hashicorp/oci v6.11.0 does not have a package available for your current platform, darwin_arm64.
│ 
│ Provider releases are separate from OpenTofu CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.
╵

╷
│ Error: Incompatible provider version
│ 
│ Provider registry.opentofu.org/oracle/oci v6.11.0 does not have a package available for your current platform, darwin_arm64.
│ 
│ Provider releases are separate from OpenTofu CLI releases, so not all providers are available for all platforms. Other versions of this provider may have different platforms supported.
Yantrio commented 2 weeks ago

Thanks for raising this, We'll investigate this now.

abstractionfactory commented 2 weeks ago

Hey @tropikhajma we fixed it and are reindexing the provider, it should be done shortly.

Yantrio commented 2 weeks ago

https://github.com/opentofu/registry/commit/d8a4b4cbefd170ae3ecf2b09047f5e16693bb32d The provider version has been indexed, I'll ensure that it's synced up to the API soon.

Should hopefully be there in the next 15 minutes. Sorry for the inconvenience

Yantrio commented 2 weeks ago

This should now be fully resolved @tropikhajma :) Thanks for reporting this