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

Could not unmarshal list of generic blobstores #387

Open
1 task done
UnibsMatt opened this issue Sep 27, 2023 · 1 comment
Open
1 task done

Could not unmarshal list of generic blobstores #387

UnibsMatt opened this issue Sep 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@UnibsMatt
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version

1.3.6

Nexus Provider Version

1.22.0

Nexus Version

3.40.1-01

Affected Resource(s)/Data Source(s)

nexus_blobstore_file

Terraform Configuration Files

terraform {
  required_providers {
    nexus = {
      source  = "datadrivers/nexus"
      version = "1.22.0"
    }
  }
}

provider "nexus" {
  insecure = var.nexus_insecure_connection
  password = var.nexus_admin_password
  url      = var.nexus_url
  username = var.nexus_admin_user
}


data "nexus_blobstore_file" "default" {
  name = "default"
}

Debug Output/Panic Output

│ Error: could not unmarshal list of generic blobstores: json: cannot unmarshal number 935292928000 into Go struct field Generic.availableSpaceInBytes of type int
│
│   with module.nexus.data.nexus_blobstore_file.default,
│   on modules\nexus\blobstorage.tf line 14, in data "nexus_blobstore_file" "default":
│   14: data "nexus_blobstore_file" "default" {
│
╵

Expected Behaviour

The blob storage should parse correctly availableSpaceInBytes inside the Generic struct

Actual Behaviour

The marshalling fail for int overflow

Steps to Reproduce

No response

References

No response

@UnibsMatt UnibsMatt added the bug Something isn't working label Sep 27, 2023
@NickWemekamp
Copy link

We are also running into this issue. Hope someone can take a look at it

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
Status: High priority
Development

No branches or pull requests

2 participants